diff --git a/v1.12.2-local/_definitions.json b/v1.12.2-local/_definitions.json index a2ff3fbbf0..3109497043 100644 --- a/v1.12.2-local/_definitions.json +++ b/v1.12.2-local/_definitions.json @@ -15572,7 +15572,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.2-local/allowedhostpath-extensions-v1beta1.json b/v1.12.2-local/allowedhostpath-extensions-v1beta1.json index e3a663f0bb..492a7eb2fe 100644 --- a/v1.12.2-local/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.2-local/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/allowedhostpath-policy-v1beta1.json b/v1.12.2-local/allowedhostpath-policy-v1beta1.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.2-local/allowedhostpath-policy-v1beta1.json +++ b/v1.12.2-local/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/allowedhostpath.json b/v1.12.2-local/allowedhostpath.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.2-local/allowedhostpath.json +++ b/v1.12.2-local/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/apiresource-meta-v1.json b/v1.12.2-local/apiresource-meta-v1.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.2-local/apiresource-meta-v1.json +++ b/v1.12.2-local/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2-local/apiresource.json b/v1.12.2-local/apiresource.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.2-local/apiresource.json +++ b/v1.12.2-local/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2-local/apiservicespec-apiregistration-v1.json b/v1.12.2-local/apiservicespec-apiregistration-v1.json index b496038546..798131912f 100644 --- a/v1.12.2-local/apiservicespec-apiregistration-v1.json +++ b/v1.12.2-local/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/apiservicespec-apiregistration-v1beta1.json b/v1.12.2-local/apiservicespec-apiregistration-v1beta1.json index abbe05f899..aad8093448 100644 --- a/v1.12.2-local/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.2-local/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/apiservicespec.json b/v1.12.2-local/apiservicespec.json index abbe05f899..aad8093448 100644 --- a/v1.12.2-local/apiservicespec.json +++ b/v1.12.2-local/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/awselasticblockstorevolumesource-v1.json b/v1.12.2-local/awselasticblockstorevolumesource-v1.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.2-local/awselasticblockstorevolumesource-v1.json +++ b/v1.12.2-local/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2-local/awselasticblockstorevolumesource.json b/v1.12.2-local/awselasticblockstorevolumesource.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.2-local/awselasticblockstorevolumesource.json +++ b/v1.12.2-local/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2-local/azurediskvolumesource-v1.json b/v1.12.2-local/azurediskvolumesource-v1.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.2-local/azurediskvolumesource-v1.json +++ b/v1.12.2-local/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/azurediskvolumesource.json b/v1.12.2-local/azurediskvolumesource.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.2-local/azurediskvolumesource.json +++ b/v1.12.2-local/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/azurefilepersistentvolumesource-v1.json b/v1.12.2-local/azurefilepersistentvolumesource-v1.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.2-local/azurefilepersistentvolumesource-v1.json +++ b/v1.12.2-local/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-local/azurefilepersistentvolumesource.json b/v1.12.2-local/azurefilepersistentvolumesource.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.2-local/azurefilepersistentvolumesource.json +++ b/v1.12.2-local/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-local/azurefilevolumesource-v1.json b/v1.12.2-local/azurefilevolumesource-v1.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.2-local/azurefilevolumesource-v1.json +++ b/v1.12.2-local/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-local/azurefilevolumesource.json b/v1.12.2-local/azurefilevolumesource.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.2-local/azurefilevolumesource.json +++ b/v1.12.2-local/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-local/cephfspersistentvolumesource-v1.json b/v1.12.2-local/cephfspersistentvolumesource-v1.json index 443a193c67..2690df044a 100644 --- a/v1.12.2-local/cephfspersistentvolumesource-v1.json +++ b/v1.12.2-local/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-local/cephfspersistentvolumesource.json b/v1.12.2-local/cephfspersistentvolumesource.json index 443a193c67..2690df044a 100644 --- a/v1.12.2-local/cephfspersistentvolumesource.json +++ b/v1.12.2-local/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-local/cephfsvolumesource-v1.json b/v1.12.2-local/cephfsvolumesource-v1.json index 1aa4176a90..84b6a63dd5 100644 --- a/v1.12.2-local/cephfsvolumesource-v1.json +++ b/v1.12.2-local/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-local/cephfsvolumesource.json b/v1.12.2-local/cephfsvolumesource.json index 1aa4176a90..84b6a63dd5 100644 --- a/v1.12.2-local/cephfsvolumesource.json +++ b/v1.12.2-local/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-local/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.2-local/certificatesigningrequestspec-certificates-v1beta1.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.2-local/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.2-local/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/certificatesigningrequestspec.json b/v1.12.2-local/certificatesigningrequestspec.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.2-local/certificatesigningrequestspec.json +++ b/v1.12.2-local/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/cinderpersistentvolumesource-v1.json b/v1.12.2-local/cinderpersistentvolumesource-v1.json index 8cf404a518..aff01f111f 100644 --- a/v1.12.2-local/cinderpersistentvolumesource-v1.json +++ b/v1.12.2-local/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2-local/cinderpersistentvolumesource.json b/v1.12.2-local/cinderpersistentvolumesource.json index 8cf404a518..aff01f111f 100644 --- a/v1.12.2-local/cinderpersistentvolumesource.json +++ b/v1.12.2-local/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2-local/cindervolumesource-v1.json b/v1.12.2-local/cindervolumesource-v1.json index 9acb1dcdb4..cd83d5d7e3 100644 --- a/v1.12.2-local/cindervolumesource-v1.json +++ b/v1.12.2-local/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2-local/cindervolumesource.json b/v1.12.2-local/cindervolumesource.json index 9acb1dcdb4..cd83d5d7e3 100644 --- a/v1.12.2-local/cindervolumesource.json +++ b/v1.12.2-local/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2-local/clientipconfig-v1.json b/v1.12.2-local/clientipconfig-v1.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.2-local/clientipconfig-v1.json +++ b/v1.12.2-local/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/clientipconfig.json b/v1.12.2-local/clientipconfig.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.2-local/clientipconfig.json +++ b/v1.12.2-local/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/configmap-v1.json b/v1.12.2-local/configmap-v1.json index e0601cfc49..6b61666884 100644 --- a/v1.12.2-local/configmap-v1.json +++ b/v1.12.2-local/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/configmap.json b/v1.12.2-local/configmap.json index e611b7839d..21145b7ed3 100644 --- a/v1.12.2-local/configmap.json +++ b/v1.12.2-local/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/configmapenvsource-v1.json b/v1.12.2-local/configmapenvsource-v1.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.2-local/configmapenvsource-v1.json +++ b/v1.12.2-local/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapenvsource.json b/v1.12.2-local/configmapenvsource.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.2-local/configmapenvsource.json +++ b/v1.12.2-local/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapkeyselector-v1.json b/v1.12.2-local/configmapkeyselector-v1.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.2-local/configmapkeyselector-v1.json +++ b/v1.12.2-local/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapkeyselector.json b/v1.12.2-local/configmapkeyselector.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.2-local/configmapkeyselector.json +++ b/v1.12.2-local/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapprojection-v1.json b/v1.12.2-local/configmapprojection-v1.json index 0568963b6f..65045d2ea3 100644 --- a/v1.12.2-local/configmapprojection-v1.json +++ b/v1.12.2-local/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapprojection.json b/v1.12.2-local/configmapprojection.json index 0568963b6f..65045d2ea3 100644 --- a/v1.12.2-local/configmapprojection.json +++ b/v1.12.2-local/configmapprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapvolumesource-v1.json b/v1.12.2-local/configmapvolumesource-v1.json index f0bd3c8f5c..3b2f63a2a5 100644 --- a/v1.12.2-local/configmapvolumesource-v1.json +++ b/v1.12.2-local/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/configmapvolumesource.json b/v1.12.2-local/configmapvolumesource.json index f0bd3c8f5c..3b2f63a2a5 100644 --- a/v1.12.2-local/configmapvolumesource.json +++ b/v1.12.2-local/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/container-v1.json b/v1.12.2-local/container-v1.json index 2bd2051c9b..701d6e6b3e 100644 --- a/v1.12.2-local/container-v1.json +++ b/v1.12.2-local/container-v1.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.2-local/container.json b/v1.12.2-local/container.json index 2bd2051c9b..701d6e6b3e 100644 --- a/v1.12.2-local/container.json +++ b/v1.12.2-local/container.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.2-local/containerimage-v1.json b/v1.12.2-local/containerimage-v1.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.2-local/containerimage-v1.json +++ b/v1.12.2-local/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/containerimage.json b/v1.12.2-local/containerimage.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.2-local/containerimage.json +++ b/v1.12.2-local/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/containerport-v1.json b/v1.12.2-local/containerport-v1.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.2-local/containerport-v1.json +++ b/v1.12.2-local/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2-local/containerport.json b/v1.12.2-local/containerport.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.2-local/containerport.json +++ b/v1.12.2-local/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2-local/containerstateterminated-v1.json b/v1.12.2-local/containerstateterminated-v1.json index 21b49a2928..f16f259d32 100644 --- a/v1.12.2-local/containerstateterminated-v1.json +++ b/v1.12.2-local/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-local/containerstateterminated.json b/v1.12.2-local/containerstateterminated.json index 21b49a2928..f16f259d32 100644 --- a/v1.12.2-local/containerstateterminated.json +++ b/v1.12.2-local/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-local/containerstatus-v1.json b/v1.12.2-local/containerstatus-v1.json index da00085bdb..7dc193e894 100644 --- a/v1.12.2-local/containerstatus-v1.json +++ b/v1.12.2-local/containerstatus-v1.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.2-local/containerstatus.json b/v1.12.2-local/containerstatus.json index da00085bdb..7dc193e894 100644 --- a/v1.12.2-local/containerstatus.json +++ b/v1.12.2-local/containerstatus.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.2-local/controllerrevision-apps-v1.json b/v1.12.2-local/controllerrevision-apps-v1.json index 31c050ebc6..539d2f42cd 100644 --- a/v1.12.2-local/controllerrevision-apps-v1.json +++ b/v1.12.2-local/controllerrevision-apps-v1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/controllerrevision-apps-v1beta1.json b/v1.12.2-local/controllerrevision-apps-v1beta1.json index 565aa59258..a9bca08515 100644 --- a/v1.12.2-local/controllerrevision-apps-v1beta1.json +++ b/v1.12.2-local/controllerrevision-apps-v1beta1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/controllerrevision-apps-v1beta2.json b/v1.12.2-local/controllerrevision-apps-v1beta2.json index 51f3ecc22c..d76b647838 100644 --- a/v1.12.2-local/controllerrevision-apps-v1beta2.json +++ b/v1.12.2-local/controllerrevision-apps-v1beta2.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/controllerrevision.json b/v1.12.2-local/controllerrevision.json index d7d828ab1a..6a183f72ae 100644 --- a/v1.12.2-local/controllerrevision.json +++ b/v1.12.2-local/controllerrevision.json @@ -31,7 +31,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/cronjobspec-batch-v1beta1.json b/v1.12.2-local/cronjobspec-batch-v1beta1.json index fd0e03ec22..15ec4aa3ae 100644 --- a/v1.12.2-local/cronjobspec-batch-v1beta1.json +++ b/v1.12.2-local/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/cronjobspec-batch-v2alpha1.json b/v1.12.2-local/cronjobspec-batch-v2alpha1.json index 9772f56855..8f23233190 100644 --- a/v1.12.2-local/cronjobspec-batch-v2alpha1.json +++ b/v1.12.2-local/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/cronjobspec.json b/v1.12.2-local/cronjobspec.json index 9772f56855..8f23233190 100644 --- a/v1.12.2-local/cronjobspec.json +++ b/v1.12.2-local/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/csipersistentvolumesource-v1.json b/v1.12.2-local/csipersistentvolumesource-v1.json index 294ec7d1ca..caf7578be3 100644 --- a/v1.12.2-local/csipersistentvolumesource-v1.json +++ b/v1.12.2-local/csipersistentvolumesource-v1.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/csipersistentvolumesource.json b/v1.12.2-local/csipersistentvolumesource.json index 294ec7d1ca..caf7578be3 100644 --- a/v1.12.2-local/csipersistentvolumesource.json +++ b/v1.12.2-local/csipersistentvolumesource.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.2-local/customresourcecolumndefinition-apiextensions-v1beta1.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.2-local/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.2-local/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2-local/customresourcecolumndefinition.json b/v1.12.2-local/customresourcecolumndefinition.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.2-local/customresourcecolumndefinition.json +++ b/v1.12.2-local/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2-local/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.2-local/customresourcedefinitionversion-apiextensions-v1beta1.json index 374ed744c6..a89101639e 100644 --- a/v1.12.2-local/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.2-local/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/customresourcedefinitionversion.json b/v1.12.2-local/customresourcedefinitionversion.json index 374ed744c6..a89101639e 100644 --- a/v1.12.2-local/customresourcedefinitionversion.json +++ b/v1.12.2-local/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/daemonendpoint-v1.json b/v1.12.2-local/daemonendpoint-v1.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.2-local/daemonendpoint-v1.json +++ b/v1.12.2-local/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/daemonendpoint.json b/v1.12.2-local/daemonendpoint.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.2-local/daemonendpoint.json +++ b/v1.12.2-local/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/daemonsetspec-apps-v1.json b/v1.12.2-local/daemonsetspec-apps-v1.json index 16b18787cc..532fa92356 100644 --- a/v1.12.2-local/daemonsetspec-apps-v1.json +++ b/v1.12.2-local/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/daemonsetspec-apps-v1beta2.json b/v1.12.2-local/daemonsetspec-apps-v1beta2.json index acdbe7c607..2bea457bca 100644 --- a/v1.12.2-local/daemonsetspec-apps-v1beta2.json +++ b/v1.12.2-local/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/daemonsetspec-extensions-v1beta1.json b/v1.12.2-local/daemonsetspec-extensions-v1beta1.json index f652f28969..5172308193 100644 --- a/v1.12.2-local/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.2-local/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.2-local/daemonsetspec.json b/v1.12.2-local/daemonsetspec.json index f652f28969..5172308193 100644 --- a/v1.12.2-local/daemonsetspec.json +++ b/v1.12.2-local/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.2-local/daemonsetstatus-apps-v1.json b/v1.12.2-local/daemonsetstatus-apps-v1.json index 033b3d4e28..a4634c3a56 100644 --- a/v1.12.2-local/daemonsetstatus-apps-v1.json +++ b/v1.12.2-local/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/daemonsetstatus-apps-v1beta2.json b/v1.12.2-local/daemonsetstatus-apps-v1beta2.json index d53ffbbdf4..79001df2a1 100644 --- a/v1.12.2-local/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.2-local/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/daemonsetstatus-extensions-v1beta1.json b/v1.12.2-local/daemonsetstatus-extensions-v1beta1.json index d97da3697c..b5c77f0174 100644 --- a/v1.12.2-local/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.2-local/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/daemonsetstatus.json b/v1.12.2-local/daemonsetstatus.json index d97da3697c..b5c77f0174 100644 --- a/v1.12.2-local/daemonsetstatus.json +++ b/v1.12.2-local/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/deleteoptions-meta-v1.json b/v1.12.2-local/deleteoptions-meta-v1.json index 7f834075bd..a7d3658bab 100644 --- a/v1.12.2-local/deleteoptions-meta-v1.json +++ b/v1.12.2-local/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.2-local/deleteoptions.json b/v1.12.2-local/deleteoptions.json index 0c7ba7a2b4..c8d29cfdac 100644 --- a/v1.12.2-local/deleteoptions.json +++ b/v1.12.2-local/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.2-local/deploymentrollback-apps-v1beta1.json b/v1.12.2-local/deploymentrollback-apps-v1beta1.json index 90b8c44aa3..cf4aa39de2 100644 --- a/v1.12.2-local/deploymentrollback-apps-v1beta1.json +++ b/v1.12.2-local/deploymentrollback-apps-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/deploymentrollback-extensions-v1beta1.json b/v1.12.2-local/deploymentrollback-extensions-v1beta1.json index f906e1a816..2fe1607842 100644 --- a/v1.12.2-local/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.2-local/deploymentrollback-extensions-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/deploymentrollback.json b/v1.12.2-local/deploymentrollback.json index 0fed4db42c..e97b9537e7 100644 --- a/v1.12.2-local/deploymentrollback.json +++ b/v1.12.2-local/deploymentrollback.json @@ -35,7 +35,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/deploymentspec-apps-v1.json b/v1.12.2-local/deploymentspec-apps-v1.json index 8d57d124a4..fe61365da6 100644 --- a/v1.12.2-local/deploymentspec-apps-v1.json +++ b/v1.12.2-local/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/deploymentspec-apps-v1beta1.json b/v1.12.2-local/deploymentspec-apps-v1beta1.json index 8160d9c084..17d86b1e16 100644 --- a/v1.12.2-local/deploymentspec-apps-v1beta1.json +++ b/v1.12.2-local/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.2-local/deploymentspec-apps-v1beta2.json b/v1.12.2-local/deploymentspec-apps-v1beta2.json index fa76bf7a8d..fc3b3b334f 100644 --- a/v1.12.2-local/deploymentspec-apps-v1beta2.json +++ b/v1.12.2-local/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/deploymentspec-extensions-v1beta1.json b/v1.12.2-local/deploymentspec-extensions-v1beta1.json index 427f336089..ada7baa497 100644 --- a/v1.12.2-local/deploymentspec-extensions-v1beta1.json +++ b/v1.12.2-local/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.2-local/deploymentspec.json b/v1.12.2-local/deploymentspec.json index 427f336089..ada7baa497 100644 --- a/v1.12.2-local/deploymentspec.json +++ b/v1.12.2-local/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.2-local/deploymentstatus-apps-v1.json b/v1.12.2-local/deploymentstatus-apps-v1.json index 3de2f743b9..e1ae5ea6d1 100644 --- a/v1.12.2-local/deploymentstatus-apps-v1.json +++ b/v1.12.2-local/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/deploymentstatus-apps-v1beta1.json b/v1.12.2-local/deploymentstatus-apps-v1beta1.json index f55b086e8b..48ba5add10 100644 --- a/v1.12.2-local/deploymentstatus-apps-v1beta1.json +++ b/v1.12.2-local/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/deploymentstatus-apps-v1beta2.json b/v1.12.2-local/deploymentstatus-apps-v1beta2.json index 25adee1748..49c1e388d9 100644 --- a/v1.12.2-local/deploymentstatus-apps-v1beta2.json +++ b/v1.12.2-local/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/deploymentstatus-extensions-v1beta1.json b/v1.12.2-local/deploymentstatus-extensions-v1beta1.json index 8b97713fcc..192e22c296 100644 --- a/v1.12.2-local/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.2-local/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/deploymentstatus.json b/v1.12.2-local/deploymentstatus.json index 8b97713fcc..192e22c296 100644 --- a/v1.12.2-local/deploymentstatus.json +++ b/v1.12.2-local/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/downwardapivolumefile-v1.json b/v1.12.2-local/downwardapivolumefile-v1.json index 6e3567f1ef..218d69dca8 100644 --- a/v1.12.2-local/downwardapivolumefile-v1.json +++ b/v1.12.2-local/downwardapivolumefile-v1.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-local/downwardapivolumefile.json b/v1.12.2-local/downwardapivolumefile.json index 6e3567f1ef..218d69dca8 100644 --- a/v1.12.2-local/downwardapivolumefile.json +++ b/v1.12.2-local/downwardapivolumefile.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-local/downwardapivolumesource-v1.json b/v1.12.2-local/downwardapivolumesource-v1.json index 4b21a11d3a..236ecb63ec 100644 --- a/v1.12.2-local/downwardapivolumesource-v1.json +++ b/v1.12.2-local/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.2-local/downwardapivolumesource.json b/v1.12.2-local/downwardapivolumesource.json index 4b21a11d3a..236ecb63ec 100644 --- a/v1.12.2-local/downwardapivolumesource.json +++ b/v1.12.2-local/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.2-local/endpointport-v1.json b/v1.12.2-local/endpointport-v1.json index f972b838b7..07ab862b85 100644 --- a/v1.12.2-local/endpointport-v1.json +++ b/v1.12.2-local/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-local/endpointport.json b/v1.12.2-local/endpointport.json index f972b838b7..07ab862b85 100644 --- a/v1.12.2-local/endpointport.json +++ b/v1.12.2-local/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-local/event-events-v1beta1.json b/v1.12.2-local/event-events-v1beta1.json index 3678a49282..b37b0954c9 100644 --- a/v1.12.2-local/event-events-v1beta1.json +++ b/v1.12.2-local/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.2-local/event-v1.json b/v1.12.2-local/event-v1.json index 32bd6dad8a..c5b0de3e39 100644 --- a/v1.12.2-local/event-v1.json +++ b/v1.12.2-local/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { diff --git a/v1.12.2-local/event.json b/v1.12.2-local/event.json index ac3aa24dbe..438937acd3 100644 --- a/v1.12.2-local/event.json +++ b/v1.12.2-local/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.2-local/eventseries-events-v1beta1.json b/v1.12.2-local/eventseries-events-v1beta1.json index 0aa6c0fad4..3570e331f3 100644 --- a/v1.12.2-local/eventseries-events-v1beta1.json +++ b/v1.12.2-local/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-local/eventseries-v1.json b/v1.12.2-local/eventseries-v1.json index 41b6683cbc..a8a7ab4d29 100644 --- a/v1.12.2-local/eventseries-v1.json +++ b/v1.12.2-local/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-local/eventseries.json b/v1.12.2-local/eventseries.json index 0aa6c0fad4..3570e331f3 100644 --- a/v1.12.2-local/eventseries.json +++ b/v1.12.2-local/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-local/fcvolumesource-v1.json b/v1.12.2-local/fcvolumesource-v1.json index f956dfb4a6..018067f431 100644 --- a/v1.12.2-local/fcvolumesource-v1.json +++ b/v1.12.2-local/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2-local/fcvolumesource.json b/v1.12.2-local/fcvolumesource.json index f956dfb4a6..018067f431 100644 --- a/v1.12.2-local/fcvolumesource.json +++ b/v1.12.2-local/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2-local/flexpersistentvolumesource-v1.json b/v1.12.2-local/flexpersistentvolumesource-v1.json index a0543dba93..d9558e5e37 100644 --- a/v1.12.2-local/flexpersistentvolumesource-v1.json +++ b/v1.12.2-local/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2-local/flexpersistentvolumesource.json b/v1.12.2-local/flexpersistentvolumesource.json index a0543dba93..d9558e5e37 100644 --- a/v1.12.2-local/flexpersistentvolumesource.json +++ b/v1.12.2-local/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2-local/flexvolumesource-v1.json b/v1.12.2-local/flexvolumesource-v1.json index 1baa01956c..178a6270e9 100644 --- a/v1.12.2-local/flexvolumesource-v1.json +++ b/v1.12.2-local/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2-local/flexvolumesource.json b/v1.12.2-local/flexvolumesource.json index 1baa01956c..178a6270e9 100644 --- a/v1.12.2-local/flexvolumesource.json +++ b/v1.12.2-local/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2-local/gcepersistentdiskvolumesource-v1.json b/v1.12.2-local/gcepersistentdiskvolumesource-v1.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.2-local/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.2-local/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/gcepersistentdiskvolumesource.json b/v1.12.2-local/gcepersistentdiskvolumesource.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.2-local/gcepersistentdiskvolumesource.json +++ b/v1.12.2-local/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/glusterfsvolumesource-v1.json b/v1.12.2-local/glusterfsvolumesource-v1.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.2-local/glusterfsvolumesource-v1.json +++ b/v1.12.2-local/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/glusterfsvolumesource.json b/v1.12.2-local/glusterfsvolumesource.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.2-local/glusterfsvolumesource.json +++ b/v1.12.2-local/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v1.json index 57d9582b48..eb28b3ee37 100644 --- a/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -21,7 +27,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json index c565ac139a..7be0792186 100644 --- a/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 87ddafb1e7..a0897ddde5 100644 --- a/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.2-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-local/horizontalpodautoscalerspec.json b/v1.12.2-local/horizontalpodautoscalerspec.json index 87ddafb1e7..a0897ddde5 100644 --- a/v1.12.2-local/horizontalpodautoscalerspec.json +++ b/v1.12.2-local/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v1.json index 19df5dd872..e9c0b279ef 100644 --- a/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -26,7 +35,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index 5aa5ec4224..60cd49498f 100644 --- a/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index a2be35e3a2..50772c50ac 100644 --- a/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.2-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/horizontalpodautoscalerstatus.json b/v1.12.2-local/horizontalpodautoscalerstatus.json index a2be35e3a2..50772c50ac 100644 --- a/v1.12.2-local/horizontalpodautoscalerstatus.json +++ b/v1.12.2-local/horizontalpodautoscalerstatus.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/hostportrange-extensions-v1beta1.json b/v1.12.2-local/hostportrange-extensions-v1beta1.json index 626d06d2ad..25785003e9 100644 --- a/v1.12.2-local/hostportrange-extensions-v1beta1.json +++ b/v1.12.2-local/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/hostportrange-policy-v1beta1.json b/v1.12.2-local/hostportrange-policy-v1beta1.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.2-local/hostportrange-policy-v1beta1.json +++ b/v1.12.2-local/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/hostportrange.json b/v1.12.2-local/hostportrange.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.2-local/hostportrange.json +++ b/v1.12.2-local/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/idrange-extensions-v1beta1.json b/v1.12.2-local/idrange-extensions-v1beta1.json index a3a41068ce..e0a7a3debf 100644 --- a/v1.12.2-local/idrange-extensions-v1beta1.json +++ b/v1.12.2-local/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/idrange-policy-v1beta1.json b/v1.12.2-local/idrange-policy-v1beta1.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.2-local/idrange-policy-v1beta1.json +++ b/v1.12.2-local/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/idrange.json b/v1.12.2-local/idrange.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.2-local/idrange.json +++ b/v1.12.2-local/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/iscsipersistentvolumesource-v1.json b/v1.12.2-local/iscsipersistentvolumesource-v1.json index 802ce31db5..587c0a1ab5 100644 --- a/v1.12.2-local/iscsipersistentvolumesource-v1.json +++ b/v1.12.2-local/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2-local/iscsipersistentvolumesource.json b/v1.12.2-local/iscsipersistentvolumesource.json index 802ce31db5..587c0a1ab5 100644 --- a/v1.12.2-local/iscsipersistentvolumesource.json +++ b/v1.12.2-local/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2-local/iscsivolumesource-v1.json b/v1.12.2-local/iscsivolumesource-v1.json index 4c53f65995..ce7116b6d4 100644 --- a/v1.12.2-local/iscsivolumesource-v1.json +++ b/v1.12.2-local/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2-local/iscsivolumesource.json b/v1.12.2-local/iscsivolumesource.json index 4c53f65995..ce7116b6d4 100644 --- a/v1.12.2-local/iscsivolumesource.json +++ b/v1.12.2-local/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2-local/jobspec-batch-v1.json b/v1.12.2-local/jobspec-batch-v1.json index 9ae24178fa..2b769455c1 100644 --- a/v1.12.2-local/jobspec-batch-v1.json +++ b/v1.12.2-local/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/jobspec.json b/v1.12.2-local/jobspec.json index 9ae24178fa..2b769455c1 100644 --- a/v1.12.2-local/jobspec.json +++ b/v1.12.2-local/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/jobstatus-batch-v1.json b/v1.12.2-local/jobstatus-batch-v1.json index 703a82a5a0..362f0bd6a2 100644 --- a/v1.12.2-local/jobstatus-batch-v1.json +++ b/v1.12.2-local/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/jobstatus.json b/v1.12.2-local/jobstatus.json index 703a82a5a0..362f0bd6a2 100644 --- a/v1.12.2-local/jobstatus.json +++ b/v1.12.2-local/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/jsonschemaprops-apiextensions-v1beta1.json b/v1.12.2-local/jsonschemaprops-apiextensions-v1beta1.json index 2b1a7f0b8d..726df36237 100644 --- a/v1.12.2-local/jsonschemaprops-apiextensions-v1beta1.json +++ b/v1.12.2-local/jsonschemaprops-apiextensions-v1beta1.json @@ -41,13 +41,19 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/jsonschemaprops.json b/v1.12.2-local/jsonschemaprops.json index 2b1a7f0b8d..726df36237 100644 --- a/v1.12.2-local/jsonschemaprops.json +++ b/v1.12.2-local/jsonschemaprops.json @@ -41,13 +41,19 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/keytopath-v1.json b/v1.12.2-local/keytopath-v1.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.2-local/keytopath-v1.json +++ b/v1.12.2-local/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-local/keytopath.json b/v1.12.2-local/keytopath.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.2-local/keytopath.json +++ b/v1.12.2-local/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-local/labelselector-meta-v1.json b/v1.12.2-local/labelselector-meta-v1.json index bf540cf69b..1f09b55bb5 100644 --- a/v1.12.2-local/labelselector-meta-v1.json +++ b/v1.12.2-local/labelselector-meta-v1.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/labelselector.json b/v1.12.2-local/labelselector.json index bf540cf69b..1f09b55bb5 100644 --- a/v1.12.2-local/labelselector.json +++ b/v1.12.2-local/labelselector.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/leasespec-coordination-v1beta1.json b/v1.12.2-local/leasespec-coordination-v1beta1.json index c73bfb3f3f..ed724830ec 100644 --- a/v1.12.2-local/leasespec-coordination-v1beta1.json +++ b/v1.12.2-local/leasespec-coordination-v1beta1.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-local/leasespec.json b/v1.12.2-local/leasespec.json index c73bfb3f3f..ed724830ec 100644 --- a/v1.12.2-local/leasespec.json +++ b/v1.12.2-local/leasespec.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-local/limitrangeitem-v1.json b/v1.12.2-local/limitrangeitem-v1.json index 836166fa36..2907631540 100644 --- a/v1.12.2-local/limitrangeitem-v1.json +++ b/v1.12.2-local/limitrangeitem-v1.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/limitrangeitem.json b/v1.12.2-local/limitrangeitem.json index 836166fa36..2907631540 100644 --- a/v1.12.2-local/limitrangeitem.json +++ b/v1.12.2-local/limitrangeitem.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/metrictarget-autoscaling-v2beta2.json b/v1.12.2-local/metrictarget-autoscaling-v2beta2.json index 5fb270108f..3e1c5b8634 100644 --- a/v1.12.2-local/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.2-local/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2-local/metrictarget.json b/v1.12.2-local/metrictarget.json index 5fb270108f..3e1c5b8634 100644 --- a/v1.12.2-local/metrictarget.json +++ b/v1.12.2-local/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2-local/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.2-local/metricvaluestatus-autoscaling-v2beta2.json index 362a181ad6..c9fbe0f125 100644 --- a/v1.12.2-local/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.2-local/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2-local/metricvaluestatus.json b/v1.12.2-local/metricvaluestatus.json index 362a181ad6..c9fbe0f125 100644 --- a/v1.12.2-local/metricvaluestatus.json +++ b/v1.12.2-local/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2-local/nfsvolumesource-v1.json b/v1.12.2-local/nfsvolumesource-v1.json index b3e166d6ee..122d722664 100644 --- a/v1.12.2-local/nfsvolumesource-v1.json +++ b/v1.12.2-local/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2-local/nfsvolumesource.json b/v1.12.2-local/nfsvolumesource.json index b3e166d6ee..122d722664 100644 --- a/v1.12.2-local/nfsvolumesource.json +++ b/v1.12.2-local/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2-local/nodespec-v1.json b/v1.12.2-local/nodespec-v1.json index 11e1fdb29a..a4954b5d47 100644 --- a/v1.12.2-local/nodespec-v1.json +++ b/v1.12.2-local/nodespec-v1.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/nodespec.json b/v1.12.2-local/nodespec.json index 11e1fdb29a..a4954b5d47 100644 --- a/v1.12.2-local/nodespec.json +++ b/v1.12.2-local/nodespec.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/nodestatus-v1.json b/v1.12.2-local/nodestatus-v1.json index 70e202c651..bd72e7f3c8 100644 --- a/v1.12.2-local/nodestatus-v1.json +++ b/v1.12.2-local/nodestatus-v1.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/nodestatus.json b/v1.12.2-local/nodestatus.json index 70e202c651..bd72e7f3c8 100644 --- a/v1.12.2-local/nodestatus.json +++ b/v1.12.2-local/nodestatus.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/objectmeta-meta-v1.json b/v1.12.2-local/objectmeta-meta-v1.json index 46a526f94d..c6a84d3d73 100644 --- a/v1.12.2-local/objectmeta-meta-v1.json +++ b/v1.12.2-local/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/objectmeta.json b/v1.12.2-local/objectmeta.json index 46a526f94d..c6a84d3d73 100644 --- a/v1.12.2-local/objectmeta.json +++ b/v1.12.2-local/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/ownerreference-meta-v1.json b/v1.12.2-local/ownerreference-meta-v1.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.2-local/ownerreference-meta-v1.json +++ b/v1.12.2-local/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-local/ownerreference.json b/v1.12.2-local/ownerreference.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.2-local/ownerreference.json +++ b/v1.12.2-local/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-local/persistentvolumeclaimstatus-v1.json b/v1.12.2-local/persistentvolumeclaimstatus-v1.json index db623b7625..628bcb6078 100644 --- a/v1.12.2-local/persistentvolumeclaimstatus-v1.json +++ b/v1.12.2-local/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/persistentvolumeclaimstatus.json b/v1.12.2-local/persistentvolumeclaimstatus.json index db623b7625..628bcb6078 100644 --- a/v1.12.2-local/persistentvolumeclaimstatus.json +++ b/v1.12.2-local/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/persistentvolumeclaimvolumesource-v1.json b/v1.12.2-local/persistentvolumeclaimvolumesource-v1.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.2-local/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.2-local/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/persistentvolumeclaimvolumesource.json b/v1.12.2-local/persistentvolumeclaimvolumesource.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.2-local/persistentvolumeclaimvolumesource.json +++ b/v1.12.2-local/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/persistentvolumespec-v1.json b/v1.12.2-local/persistentvolumespec-v1.json index bbfff578be..a1da8b49fe 100644 --- a/v1.12.2-local/persistentvolumespec-v1.json +++ b/v1.12.2-local/persistentvolumespec-v1.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/persistentvolumespec.json b/v1.12.2-local/persistentvolumespec.json index bbfff578be..a1da8b49fe 100644 --- a/v1.12.2-local/persistentvolumespec.json +++ b/v1.12.2-local/persistentvolumespec.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.2-local/poddisruptionbudgetstatus-policy-v1beta1.json index 66e0964b98..920a1362b9 100644 --- a/v1.12.2-local/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.2-local/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/poddisruptionbudgetstatus.json b/v1.12.2-local/poddisruptionbudgetstatus.json index 66e0964b98..920a1362b9 100644 --- a/v1.12.2-local/poddisruptionbudgetstatus.json +++ b/v1.12.2-local/poddisruptionbudgetstatus.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/podsecuritycontext-v1.json b/v1.12.2-local/podsecuritycontext-v1.json index 99e8fc260f..652f81607a 100644 --- a/v1.12.2-local/podsecuritycontext-v1.json +++ b/v1.12.2-local/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/podsecuritycontext.json b/v1.12.2-local/podsecuritycontext.json index 99e8fc260f..652f81607a 100644 --- a/v1.12.2-local/podsecuritycontext.json +++ b/v1.12.2-local/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.2-local/podsecuritypolicyspec-extensions-v1beta1.json index 1c7a36e436..344991ef55 100644 --- a/v1.12.2-local/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.2-local/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-local/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.2-local/podsecuritypolicyspec-policy-v1beta1.json index 930edc4b54..cf8016c494 100644 --- a/v1.12.2-local/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.2-local/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-local/podsecuritypolicyspec.json b/v1.12.2-local/podsecuritypolicyspec.json index 930edc4b54..cf8016c494 100644 --- a/v1.12.2-local/podsecuritypolicyspec.json +++ b/v1.12.2-local/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-local/podspec-v1.json b/v1.12.2-local/podspec-v1.json index 3526406834..2a3fbee9ca 100644 --- a/v1.12.2-local/podspec-v1.json +++ b/v1.12.2-local/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.2-local/podspec.json b/v1.12.2-local/podspec.json index 3526406834..2a3fbee9ca 100644 --- a/v1.12.2-local/podspec.json +++ b/v1.12.2-local/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.2-local/portworxvolumesource-v1.json b/v1.12.2-local/portworxvolumesource-v1.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.2-local/portworxvolumesource-v1.json +++ b/v1.12.2-local/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2-local/portworxvolumesource.json b/v1.12.2-local/portworxvolumesource.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.2-local/portworxvolumesource.json +++ b/v1.12.2-local/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2-local/preferredschedulingterm-v1.json b/v1.12.2-local/preferredschedulingterm-v1.json index 69eec44bc5..abdb94966c 100644 --- a/v1.12.2-local/preferredschedulingterm-v1.json +++ b/v1.12.2-local/preferredschedulingterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/preferredschedulingterm.json b/v1.12.2-local/preferredschedulingterm.json index 69eec44bc5..abdb94966c 100644 --- a/v1.12.2-local/preferredschedulingterm.json +++ b/v1.12.2-local/preferredschedulingterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/priorityclass-scheduling-v1alpha1.json b/v1.12.2-local/priorityclass-scheduling-v1alpha1.json index 1fa2e91cd3..19da54ca9a 100644 --- a/v1.12.2-local/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.2-local/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/priorityclass-scheduling-v1beta1.json b/v1.12.2-local/priorityclass-scheduling-v1beta1.json index fb607e0f6f..26e260e2ca 100644 --- a/v1.12.2-local/priorityclass-scheduling-v1beta1.json +++ b/v1.12.2-local/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/priorityclass.json b/v1.12.2-local/priorityclass.json index 4adb82fa67..15a872bc16 100644 --- a/v1.12.2-local/priorityclass.json +++ b/v1.12.2-local/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -38,7 +41,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/probe-v1.json b/v1.12.2-local/probe-v1.json index db5be33cba..f4b911428c 100644 --- a/v1.12.2-local/probe-v1.json +++ b/v1.12.2-local/probe-v1.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/probe.json b/v1.12.2-local/probe.json index db5be33cba..f4b911428c 100644 --- a/v1.12.2-local/probe.json +++ b/v1.12.2-local/probe.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/projectedvolumesource-v1.json b/v1.12.2-local/projectedvolumesource-v1.json index 7c0db0f89c..a4e48484b9 100644 --- a/v1.12.2-local/projectedvolumesource-v1.json +++ b/v1.12.2-local/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.2-local/projectedvolumesource.json b/v1.12.2-local/projectedvolumesource.json index 7c0db0f89c..a4e48484b9 100644 --- a/v1.12.2-local/projectedvolumesource.json +++ b/v1.12.2-local/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.2-local/quantity-resource.json b/v1.12.2-local/quantity-resource.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.2-local/quantity-resource.json +++ b/v1.12.2-local/quantity-resource.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/quantity.json b/v1.12.2-local/quantity.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.2-local/quantity.json +++ b/v1.12.2-local/quantity.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/quobytevolumesource-v1.json b/v1.12.2-local/quobytevolumesource-v1.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.2-local/quobytevolumesource-v1.json +++ b/v1.12.2-local/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2-local/quobytevolumesource.json b/v1.12.2-local/quobytevolumesource.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.2-local/quobytevolumesource.json +++ b/v1.12.2-local/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2-local/rbdpersistentvolumesource-v1.json b/v1.12.2-local/rbdpersistentvolumesource-v1.json index 23aa4031b7..6a45e39c11 100644 --- a/v1.12.2-local/rbdpersistentvolumesource-v1.json +++ b/v1.12.2-local/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2-local/rbdpersistentvolumesource.json b/v1.12.2-local/rbdpersistentvolumesource.json index 23aa4031b7..6a45e39c11 100644 --- a/v1.12.2-local/rbdpersistentvolumesource.json +++ b/v1.12.2-local/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2-local/rbdvolumesource-v1.json b/v1.12.2-local/rbdvolumesource-v1.json index 9eee82bfc2..970a446bb8 100644 --- a/v1.12.2-local/rbdvolumesource-v1.json +++ b/v1.12.2-local/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2-local/rbdvolumesource.json b/v1.12.2-local/rbdvolumesource.json index 9eee82bfc2..970a446bb8 100644 --- a/v1.12.2-local/rbdvolumesource.json +++ b/v1.12.2-local/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2-local/replicasetspec-apps-v1.json b/v1.12.2-local/replicasetspec-apps-v1.json index 586d1c352c..f7cc076d7d 100644 --- a/v1.12.2-local/replicasetspec-apps-v1.json +++ b/v1.12.2-local/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/replicasetspec-apps-v1beta2.json b/v1.12.2-local/replicasetspec-apps-v1beta2.json index 586d1c352c..f7cc076d7d 100644 --- a/v1.12.2-local/replicasetspec-apps-v1beta2.json +++ b/v1.12.2-local/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/replicasetspec-extensions-v1beta1.json b/v1.12.2-local/replicasetspec-extensions-v1beta1.json index 1eb8946dc3..2eacbbaff6 100644 --- a/v1.12.2-local/replicasetspec-extensions-v1beta1.json +++ b/v1.12.2-local/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/replicasetspec.json b/v1.12.2-local/replicasetspec.json index 1eb8946dc3..2eacbbaff6 100644 --- a/v1.12.2-local/replicasetspec.json +++ b/v1.12.2-local/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/replicasetstatus-apps-v1.json b/v1.12.2-local/replicasetstatus-apps-v1.json index 8e4775b1b0..4ebb7d0320 100644 --- a/v1.12.2-local/replicasetstatus-apps-v1.json +++ b/v1.12.2-local/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/replicasetstatus-apps-v1beta2.json b/v1.12.2-local/replicasetstatus-apps-v1beta2.json index 30c2fceb89..af4b7a3aaf 100644 --- a/v1.12.2-local/replicasetstatus-apps-v1beta2.json +++ b/v1.12.2-local/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/replicasetstatus-extensions-v1beta1.json b/v1.12.2-local/replicasetstatus-extensions-v1beta1.json index 1e040eb372..7ac8f9dda3 100644 --- a/v1.12.2-local/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.2-local/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/replicasetstatus.json b/v1.12.2-local/replicasetstatus.json index 1e040eb372..7ac8f9dda3 100644 --- a/v1.12.2-local/replicasetstatus.json +++ b/v1.12.2-local/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/replicationcontrollerspec-v1.json b/v1.12.2-local/replicationcontrollerspec-v1.json index d04662ea4e..39a6f3cc4e 100644 --- a/v1.12.2-local/replicationcontrollerspec-v1.json +++ b/v1.12.2-local/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/replicationcontrollerspec.json b/v1.12.2-local/replicationcontrollerspec.json index d04662ea4e..39a6f3cc4e 100644 --- a/v1.12.2-local/replicationcontrollerspec.json +++ b/v1.12.2-local/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/replicationcontrollerstatus-v1.json b/v1.12.2-local/replicationcontrollerstatus-v1.json index 0e6c0d0e9f..3784832b30 100644 --- a/v1.12.2-local/replicationcontrollerstatus-v1.json +++ b/v1.12.2-local/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/replicationcontrollerstatus.json b/v1.12.2-local/replicationcontrollerstatus.json index 0e6c0d0e9f..3784832b30 100644 --- a/v1.12.2-local/replicationcontrollerstatus.json +++ b/v1.12.2-local/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.2-local/resourcemetricsource-autoscaling-v2beta1.json index d5b34dac91..5884d08e5d 100644 --- a/v1.12.2-local/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-local/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { diff --git a/v1.12.2-local/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.2-local/resourcemetricstatus-autoscaling-v2beta1.json index 08742ac17e..a90b5521b0 100644 --- a/v1.12.2-local/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-local/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { diff --git a/v1.12.2-local/resourcequotaspec-v1.json b/v1.12.2-local/resourcequotaspec-v1.json index 3295c85939..22a2d78275 100644 --- a/v1.12.2-local/resourcequotaspec-v1.json +++ b/v1.12.2-local/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/resourcequotaspec.json b/v1.12.2-local/resourcequotaspec.json index 3295c85939..22a2d78275 100644 --- a/v1.12.2-local/resourcequotaspec.json +++ b/v1.12.2-local/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/resourcequotastatus-v1.json b/v1.12.2-local/resourcequotastatus-v1.json index f8286f16ed..e3e555d075 100644 --- a/v1.12.2-local/resourcequotastatus-v1.json +++ b/v1.12.2-local/resourcequotastatus-v1.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/resourcequotastatus.json b/v1.12.2-local/resourcequotastatus.json index f8286f16ed..e3e555d075 100644 --- a/v1.12.2-local/resourcequotastatus.json +++ b/v1.12.2-local/resourcequotastatus.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/resourcerequirements-v1.json b/v1.12.2-local/resourcerequirements-v1.json index 6c45516eb4..360c1a63b1 100644 --- a/v1.12.2-local/resourcerequirements-v1.json +++ b/v1.12.2-local/resourcerequirements-v1.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/resourcerequirements.json b/v1.12.2-local/resourcerequirements.json index 6c45516eb4..360c1a63b1 100644 --- a/v1.12.2-local/resourcerequirements.json +++ b/v1.12.2-local/resourcerequirements.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2-local/rollbackconfig-apps-v1beta1.json b/v1.12.2-local/rollbackconfig-apps-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2-local/rollbackconfig-apps-v1beta1.json +++ b/v1.12.2-local/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/rollbackconfig-extensions-v1beta1.json b/v1.12.2-local/rollbackconfig-extensions-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2-local/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.2-local/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/rollbackconfig.json b/v1.12.2-local/rollbackconfig.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2-local/rollbackconfig.json +++ b/v1.12.2-local/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json index 77aec86a21..fcfd73afd8 100644 --- a/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.2-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/rollingupdatestatefulsetstrategy.json b/v1.12.2-local/rollingupdatestatefulsetstrategy.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2-local/rollingupdatestatefulsetstrategy.json +++ b/v1.12.2-local/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/scaleiopersistentvolumesource-v1.json b/v1.12.2-local/scaleiopersistentvolumesource-v1.json index 24fd5c23e3..5d377405b7 100644 --- a/v1.12.2-local/scaleiopersistentvolumesource-v1.json +++ b/v1.12.2-local/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-local/scaleiopersistentvolumesource.json b/v1.12.2-local/scaleiopersistentvolumesource.json index 24fd5c23e3..5d377405b7 100644 --- a/v1.12.2-local/scaleiopersistentvolumesource.json +++ b/v1.12.2-local/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-local/scaleiovolumesource-v1.json b/v1.12.2-local/scaleiovolumesource-v1.json index 0c0cdcef36..f1d0bc0602 100644 --- a/v1.12.2-local/scaleiovolumesource-v1.json +++ b/v1.12.2-local/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-local/scaleiovolumesource.json b/v1.12.2-local/scaleiovolumesource.json index 0c0cdcef36..f1d0bc0602 100644 --- a/v1.12.2-local/scaleiovolumesource.json +++ b/v1.12.2-local/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-local/scalespec-apps-v1beta1.json b/v1.12.2-local/scalespec-apps-v1beta1.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.2-local/scalespec-apps-v1beta1.json +++ b/v1.12.2-local/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/scalespec-apps-v1beta2.json b/v1.12.2-local/scalespec-apps-v1beta2.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.2-local/scalespec-apps-v1beta2.json +++ b/v1.12.2-local/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/scalespec-autoscaling-v1.json b/v1.12.2-local/scalespec-autoscaling-v1.json index f65424ab17..9b4feb4953 100644 --- a/v1.12.2-local/scalespec-autoscaling-v1.json +++ b/v1.12.2-local/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/scalespec-extensions-v1beta1.json b/v1.12.2-local/scalespec-extensions-v1beta1.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.2-local/scalespec-extensions-v1beta1.json +++ b/v1.12.2-local/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/scalespec.json b/v1.12.2-local/scalespec.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.2-local/scalespec.json +++ b/v1.12.2-local/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/scalestatus-apps-v1beta1.json b/v1.12.2-local/scalestatus-apps-v1beta1.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.2-local/scalestatus-apps-v1beta1.json +++ b/v1.12.2-local/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/scalestatus-apps-v1beta2.json b/v1.12.2-local/scalestatus-apps-v1beta2.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.2-local/scalestatus-apps-v1beta2.json +++ b/v1.12.2-local/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/scalestatus-autoscaling-v1.json b/v1.12.2-local/scalestatus-autoscaling-v1.json index db9afe18d2..5de93b19a3 100644 --- a/v1.12.2-local/scalestatus-autoscaling-v1.json +++ b/v1.12.2-local/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/scalestatus-extensions-v1beta1.json b/v1.12.2-local/scalestatus-extensions-v1beta1.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.2-local/scalestatus-extensions-v1beta1.json +++ b/v1.12.2-local/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/scalestatus.json b/v1.12.2-local/scalestatus.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.2-local/scalestatus.json +++ b/v1.12.2-local/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/secret-v1.json b/v1.12.2-local/secret-v1.json index cb2c6e434f..d0d910ea06 100644 --- a/v1.12.2-local/secret-v1.json +++ b/v1.12.2-local/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -38,7 +41,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/secret.json b/v1.12.2-local/secret.json index bd2ebebb39..3b48d66930 100644 --- a/v1.12.2-local/secret.json +++ b/v1.12.2-local/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -35,7 +38,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/secretenvsource-v1.json b/v1.12.2-local/secretenvsource-v1.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.2-local/secretenvsource-v1.json +++ b/v1.12.2-local/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/secretenvsource.json b/v1.12.2-local/secretenvsource.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.2-local/secretenvsource.json +++ b/v1.12.2-local/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/secretkeyselector-v1.json b/v1.12.2-local/secretkeyselector-v1.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.2-local/secretkeyselector-v1.json +++ b/v1.12.2-local/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/secretkeyselector.json b/v1.12.2-local/secretkeyselector.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.2-local/secretkeyselector.json +++ b/v1.12.2-local/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/secretprojection-v1.json b/v1.12.2-local/secretprojection-v1.json index cb66cf41d8..0e5386fa5f 100644 --- a/v1.12.2-local/secretprojection-v1.json +++ b/v1.12.2-local/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/secretprojection.json b/v1.12.2-local/secretprojection.json index cb66cf41d8..0e5386fa5f 100644 --- a/v1.12.2-local/secretprojection.json +++ b/v1.12.2-local/secretprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-local/secretvolumesource-v1.json b/v1.12.2-local/secretvolumesource-v1.json index 623de356e0..564fdd7fff 100644 --- a/v1.12.2-local/secretvolumesource-v1.json +++ b/v1.12.2-local/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2-local/secretvolumesource.json b/v1.12.2-local/secretvolumesource.json index 623de356e0..564fdd7fff 100644 --- a/v1.12.2-local/secretvolumesource.json +++ b/v1.12.2-local/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2-local/securitycontext-v1.json b/v1.12.2-local/securitycontext-v1.json index e4aa4fa33a..482b4a3de5 100644 --- a/v1.12.2-local/securitycontext-v1.json +++ b/v1.12.2-local/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2-local/securitycontext.json b/v1.12.2-local/securitycontext.json index e4aa4fa33a..482b4a3de5 100644 --- a/v1.12.2-local/securitycontext.json +++ b/v1.12.2-local/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2-local/serviceaccount-v1.json b/v1.12.2-local/serviceaccount-v1.json index 57bf54318d..dc7d593625 100644 --- a/v1.12.2-local/serviceaccount-v1.json +++ b/v1.12.2-local/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.2-local/serviceaccount.json b/v1.12.2-local/serviceaccount.json index 3d43ea82c2..2ec7ccc4ac 100644 --- a/v1.12.2-local/serviceaccount.json +++ b/v1.12.2-local/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.2-local/serviceaccounttokenprojection-v1.json b/v1.12.2-local/serviceaccounttokenprojection-v1.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.2-local/serviceaccounttokenprojection-v1.json +++ b/v1.12.2-local/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-local/serviceaccounttokenprojection.json b/v1.12.2-local/serviceaccounttokenprojection.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.2-local/serviceaccounttokenprojection.json +++ b/v1.12.2-local/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-local/serviceport-v1.json b/v1.12.2-local/serviceport-v1.json index f975918c32..d041f7879a 100644 --- a/v1.12.2-local/serviceport-v1.json +++ b/v1.12.2-local/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-local/serviceport.json b/v1.12.2-local/serviceport.json index f975918c32..d041f7879a 100644 --- a/v1.12.2-local/serviceport.json +++ b/v1.12.2-local/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-local/servicespec-v1.json b/v1.12.2-local/servicespec-v1.json index becdeffb37..005551a152 100644 --- a/v1.12.2-local/servicespec-v1.json +++ b/v1.12.2-local/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/servicespec.json b/v1.12.2-local/servicespec.json index becdeffb37..005551a152 100644 --- a/v1.12.2-local/servicespec.json +++ b/v1.12.2-local/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/statefulsetspec-apps-v1.json b/v1.12.2-local/statefulsetspec-apps-v1.json index 99d15ce67b..47708899f4 100644 --- a/v1.12.2-local/statefulsetspec-apps-v1.json +++ b/v1.12.2-local/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/statefulsetspec-apps-v1beta1.json b/v1.12.2-local/statefulsetspec-apps-v1beta1.json index cd17013f0d..7659cd60be 100644 --- a/v1.12.2-local/statefulsetspec-apps-v1beta1.json +++ b/v1.12.2-local/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/statefulsetspec-apps-v1beta2.json b/v1.12.2-local/statefulsetspec-apps-v1beta2.json index f96ce69a70..f4b04aa229 100644 --- a/v1.12.2-local/statefulsetspec-apps-v1beta2.json +++ b/v1.12.2-local/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/statefulsetspec.json b/v1.12.2-local/statefulsetspec.json index f96ce69a70..f4b04aa229 100644 --- a/v1.12.2-local/statefulsetspec.json +++ b/v1.12.2-local/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-local/statefulsetstatus-apps-v1.json b/v1.12.2-local/statefulsetstatus-apps-v1.json index ff37381b8a..b3563f699d 100644 --- a/v1.12.2-local/statefulsetstatus-apps-v1.json +++ b/v1.12.2-local/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/statefulsetstatus-apps-v1beta1.json b/v1.12.2-local/statefulsetstatus-apps-v1beta1.json index 5f5e7368ba..b9ec4f01de 100644 --- a/v1.12.2-local/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.2-local/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/statefulsetstatus-apps-v1beta2.json b/v1.12.2-local/statefulsetstatus-apps-v1beta2.json index 50089df48f..b69bb71a48 100644 --- a/v1.12.2-local/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.2-local/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/statefulsetstatus.json b/v1.12.2-local/statefulsetstatus.json index 50089df48f..b69bb71a48 100644 --- a/v1.12.2-local/statefulsetstatus.json +++ b/v1.12.2-local/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/status-meta-v1.json b/v1.12.2-local/status-meta-v1.json index 5d47e2288c..a241328ee0 100644 --- a/v1.12.2-local/status-meta-v1.json +++ b/v1.12.2-local/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.2-local/status.json b/v1.12.2-local/status.json index 80de9f16dd..80133bc170 100644 --- a/v1.12.2-local/status.json +++ b/v1.12.2-local/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.2-local/statusdetails-meta-v1.json b/v1.12.2-local/statusdetails-meta-v1.json index 7136d8e60a..08d6cd63aa 100644 --- a/v1.12.2-local/statusdetails-meta-v1.json +++ b/v1.12.2-local/statusdetails-meta-v1.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-local/statusdetails.json b/v1.12.2-local/statusdetails.json index 7136d8e60a..08d6cd63aa 100644 --- a/v1.12.2-local/statusdetails.json +++ b/v1.12.2-local/statusdetails.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-local/storageclass-storage-v1.json b/v1.12.2-local/storageclass-storage-v1.json index 13e5f1f333..c585ee651d 100644 --- a/v1.12.2-local/storageclass-storage-v1.json +++ b/v1.12.2-local/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/storageclass-storage-v1beta1.json b/v1.12.2-local/storageclass-storage-v1beta1.json index 0007c1dc05..ecae3fa90f 100644 --- a/v1.12.2-local/storageclass-storage-v1beta1.json +++ b/v1.12.2-local/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/storageclass.json b/v1.12.2-local/storageclass.json index 6ae01f172c..b9c8a3d4fe 100644 --- a/v1.12.2-local/storageclass.json +++ b/v1.12.2-local/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -54,7 +57,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/storageospersistentvolumesource-v1.json b/v1.12.2-local/storageospersistentvolumesource-v1.json index 2c0618236f..beb1b20740 100644 --- a/v1.12.2-local/storageospersistentvolumesource-v1.json +++ b/v1.12.2-local/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2-local/storageospersistentvolumesource.json b/v1.12.2-local/storageospersistentvolumesource.json index 2c0618236f..beb1b20740 100644 --- a/v1.12.2-local/storageospersistentvolumesource.json +++ b/v1.12.2-local/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2-local/storageosvolumesource-v1.json b/v1.12.2-local/storageosvolumesource-v1.json index e39fa30840..248e91fdff 100644 --- a/v1.12.2-local/storageosvolumesource-v1.json +++ b/v1.12.2-local/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2-local/storageosvolumesource.json b/v1.12.2-local/storageosvolumesource.json index e39fa30840..248e91fdff 100644 --- a/v1.12.2-local/storageosvolumesource.json +++ b/v1.12.2-local/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2-local/subjectaccessreviewspec-authorization-v1.json b/v1.12.2-local/subjectaccessreviewspec-authorization-v1.json index 8a2985524b..9f939cf15a 100644 --- a/v1.12.2-local/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.2-local/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.2-local/subjectaccessreviewspec-authorization-v1beta1.json index 76e4887e16..24e6a6ffad 100644 --- a/v1.12.2-local/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.2-local/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/subjectaccessreviewspec.json b/v1.12.2-local/subjectaccessreviewspec.json index 76e4887e16..24e6a6ffad 100644 --- a/v1.12.2-local/subjectaccessreviewspec.json +++ b/v1.12.2-local/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/subjectaccessreviewstatus-authorization-v1.json b/v1.12.2-local/subjectaccessreviewstatus-authorization-v1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2-local/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.2-local/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-local/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.2-local/subjectaccessreviewstatus-authorization-v1beta1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2-local/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.2-local/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-local/subjectaccessreviewstatus.json b/v1.12.2-local/subjectaccessreviewstatus.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2-local/subjectaccessreviewstatus.json +++ b/v1.12.2-local/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-local/subjectrulesreviewstatus-authorization-v1.json b/v1.12.2-local/subjectrulesreviewstatus-authorization-v1.json index 908abccfae..3c9b389a7b 100644 --- a/v1.12.2-local/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.2-local/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-local/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.2-local/subjectrulesreviewstatus-authorization-v1beta1.json index f65b9ae82c..96685a1b65 100644 --- a/v1.12.2-local/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.2-local/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-local/subjectrulesreviewstatus.json b/v1.12.2-local/subjectrulesreviewstatus.json index f65b9ae82c..96685a1b65 100644 --- a/v1.12.2-local/subjectrulesreviewstatus.json +++ b/v1.12.2-local/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-local/tokenreviewstatus-authentication-v1.json b/v1.12.2-local/tokenreviewstatus-authentication-v1.json index efaae77e38..2005a14ae6 100644 --- a/v1.12.2-local/tokenreviewstatus-authentication-v1.json +++ b/v1.12.2-local/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.2-local/tokenreviewstatus-authentication-v1beta1.json b/v1.12.2-local/tokenreviewstatus-authentication-v1beta1.json index cc0ddc83d6..89e09a4728 100644 --- a/v1.12.2-local/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.2-local/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.2-local/tokenreviewstatus.json b/v1.12.2-local/tokenreviewstatus.json index cc0ddc83d6..89e09a4728 100644 --- a/v1.12.2-local/tokenreviewstatus.json +++ b/v1.12.2-local/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.2-local/toleration-v1.json b/v1.12.2-local/toleration-v1.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.2-local/toleration-v1.json +++ b/v1.12.2-local/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2-local/toleration.json b/v1.12.2-local/toleration.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.2-local/toleration.json +++ b/v1.12.2-local/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2-local/userinfo-authentication-v1.json b/v1.12.2-local/userinfo-authentication-v1.json index c2593de199..10c335b39d 100644 --- a/v1.12.2-local/userinfo-authentication-v1.json +++ b/v1.12.2-local/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/userinfo-authentication-v1beta1.json b/v1.12.2-local/userinfo-authentication-v1beta1.json index c2593de199..10c335b39d 100644 --- a/v1.12.2-local/userinfo-authentication-v1beta1.json +++ b/v1.12.2-local/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/userinfo.json b/v1.12.2-local/userinfo.json index c2593de199..10c335b39d 100644 --- a/v1.12.2-local/userinfo.json +++ b/v1.12.2-local/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-local/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.2-local/volumeattachmentstatus-storage-v1alpha1.json index 15c58656ed..bda4574493 100644 --- a/v1.12.2-local/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.2-local/volumeattachmentstatus-storage-v1alpha1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/volumeattachmentstatus-storage-v1beta1.json b/v1.12.2-local/volumeattachmentstatus-storage-v1beta1.json index 5851d1531a..e9c6bc3278 100644 --- a/v1.12.2-local/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.2-local/volumeattachmentstatus-storage-v1beta1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/volumeattachmentstatus.json b/v1.12.2-local/volumeattachmentstatus.json index 5851d1531a..e9c6bc3278 100644 --- a/v1.12.2-local/volumeattachmentstatus.json +++ b/v1.12.2-local/volumeattachmentstatus.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-local/volumemount-v1.json b/v1.12.2-local/volumemount-v1.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.2-local/volumemount-v1.json +++ b/v1.12.2-local/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-local/volumemount.json b/v1.12.2-local/volumemount.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.2-local/volumemount.json +++ b/v1.12.2-local/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-local/weightedpodaffinityterm-v1.json b/v1.12.2-local/weightedpodaffinityterm-v1.json index 23d09fad2d..1f8caf5f58 100644 --- a/v1.12.2-local/weightedpodaffinityterm-v1.json +++ b/v1.12.2-local/weightedpodaffinityterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-local/weightedpodaffinityterm.json b/v1.12.2-local/weightedpodaffinityterm.json index 23d09fad2d..1f8caf5f58 100644 --- a/v1.12.2-local/weightedpodaffinityterm.json +++ b/v1.12.2-local/weightedpodaffinityterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/_definitions.json b/v1.12.2-standalone-strict/_definitions.json index 48e48ac0aa..5301cc0f36 100644 --- a/v1.12.2-standalone-strict/_definitions.json +++ b/v1.12.2-standalone-strict/_definitions.json @@ -16092,7 +16092,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.2-standalone-strict/affinity-v1.json b/v1.12.2-standalone-strict/affinity-v1.json index 38a41fa0be..66b6dda8d5 100644 --- a/v1.12.2-standalone-strict/affinity-v1.json +++ b/v1.12.2-standalone-strict/affinity-v1.json @@ -273,7 +273,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -370,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -569,7 +578,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/affinity.json b/v1.12.2-standalone-strict/affinity.json index 38a41fa0be..66b6dda8d5 100644 --- a/v1.12.2-standalone-strict/affinity.json +++ b/v1.12.2-standalone-strict/affinity.json @@ -273,7 +273,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -370,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -569,7 +578,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/aggregationrule-rbac-v1.json b/v1.12.2-standalone-strict/aggregationrule-rbac-v1.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.2-standalone-strict/aggregationrule-rbac-v1.json +++ b/v1.12.2-standalone-strict/aggregationrule-rbac-v1.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/aggregationrule-rbac-v1alpha1.json b/v1.12.2-standalone-strict/aggregationrule-rbac-v1alpha1.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.2-standalone-strict/aggregationrule-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/aggregationrule-rbac-v1alpha1.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/aggregationrule-rbac-v1beta1.json b/v1.12.2-standalone-strict/aggregationrule-rbac-v1beta1.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.2-standalone-strict/aggregationrule-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/aggregationrule-rbac-v1beta1.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/aggregationrule.json b/v1.12.2-standalone-strict/aggregationrule.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.2-standalone-strict/aggregationrule.json +++ b/v1.12.2-standalone-strict/aggregationrule.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/allowedhostpath-extensions-v1beta1.json b/v1.12.2-standalone-strict/allowedhostpath-extensions-v1beta1.json index 2f3ac168cd..911da1682d 100644 --- a/v1.12.2-standalone-strict/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/allowedhostpath-policy-v1beta1.json b/v1.12.2-standalone-strict/allowedhostpath-policy-v1beta1.json index f1e26f842f..6914f23f94 100644 --- a/v1.12.2-standalone-strict/allowedhostpath-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/allowedhostpath.json b/v1.12.2-standalone-strict/allowedhostpath.json index f1e26f842f..6914f23f94 100644 --- a/v1.12.2-standalone-strict/allowedhostpath.json +++ b/v1.12.2-standalone-strict/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/apiresource-meta-v1.json b/v1.12.2-standalone-strict/apiresource-meta-v1.json index f3089f3ced..c294dd23c7 100644 --- a/v1.12.2-standalone-strict/apiresource-meta-v1.json +++ b/v1.12.2-standalone-strict/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2-standalone-strict/apiresource.json b/v1.12.2-standalone-strict/apiresource.json index f3089f3ced..c294dd23c7 100644 --- a/v1.12.2-standalone-strict/apiresource.json +++ b/v1.12.2-standalone-strict/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2-standalone-strict/apiservice-apiregistration-v1.json b/v1.12.2-standalone-strict/apiservice-apiregistration-v1.json index 03db877296..2d77fcba39 100644 --- a/v1.12.2-standalone-strict/apiservice-apiregistration-v1.json +++ b/v1.12.2-standalone-strict/apiservice-apiregistration-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone-strict/apiservice-apiregistration-v1beta1.json b/v1.12.2-standalone-strict/apiservice-apiregistration-v1beta1.json index 70c7482f84..5211e8f792 100644 --- a/v1.12.2-standalone-strict/apiservice-apiregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/apiservice-apiregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone-strict/apiservice.json b/v1.12.2-standalone-strict/apiservice.json index 9a8abc723c..7150548845 100644 --- a/v1.12.2-standalone-strict/apiservice.json +++ b/v1.12.2-standalone-strict/apiservice.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -392,7 +416,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1.json b/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1.json index ff6817e5e7..56c43de248 100644 --- a/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1.json +++ b/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +443,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1beta1.json b/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1beta1.json index f6638065a2..fb2acd898d 100644 --- a/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/apiservicelist-apiregistration-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +443,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone-strict/apiservicelist.json b/v1.12.2-standalone-strict/apiservicelist.json index d53212ef3c..202af2c7e4 100644 --- a/v1.12.2-standalone-strict/apiservicelist.json +++ b/v1.12.2-standalone-strict/apiservicelist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -289,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -332,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -410,7 +434,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1.json b/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1.json index 21eeb1fd1d..a0fd7f5615 100644 --- a/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1.json +++ b/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -59,7 +65,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1beta1.json b/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1beta1.json index 21eeb1fd1d..a0fd7f5615 100644 --- a/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -59,7 +65,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/apiservicespec.json b/v1.12.2-standalone-strict/apiservicespec.json index 21eeb1fd1d..a0fd7f5615 100644 --- a/v1.12.2-standalone-strict/apiservicespec.json +++ b/v1.12.2-standalone-strict/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -59,7 +65,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/awselasticblockstorevolumesource-v1.json b/v1.12.2-standalone-strict/awselasticblockstorevolumesource-v1.json index a132e1310a..ba71ed191e 100644 --- a/v1.12.2-standalone-strict/awselasticblockstorevolumesource-v1.json +++ b/v1.12.2-standalone-strict/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2-standalone-strict/awselasticblockstorevolumesource.json b/v1.12.2-standalone-strict/awselasticblockstorevolumesource.json index a132e1310a..ba71ed191e 100644 --- a/v1.12.2-standalone-strict/awselasticblockstorevolumesource.json +++ b/v1.12.2-standalone-strict/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2-standalone-strict/azurediskvolumesource-v1.json b/v1.12.2-standalone-strict/azurediskvolumesource-v1.json index 6b3aa48d71..894759e67d 100644 --- a/v1.12.2-standalone-strict/azurediskvolumesource-v1.json +++ b/v1.12.2-standalone-strict/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/azurediskvolumesource.json b/v1.12.2-standalone-strict/azurediskvolumesource.json index 6b3aa48d71..894759e67d 100644 --- a/v1.12.2-standalone-strict/azurediskvolumesource.json +++ b/v1.12.2-standalone-strict/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/azurefilepersistentvolumesource-v1.json b/v1.12.2-standalone-strict/azurefilepersistentvolumesource-v1.json index 7b08fb7b57..3bc885eec5 100644 --- a/v1.12.2-standalone-strict/azurefilepersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone-strict/azurefilepersistentvolumesource.json b/v1.12.2-standalone-strict/azurefilepersistentvolumesource.json index 7b08fb7b57..3bc885eec5 100644 --- a/v1.12.2-standalone-strict/azurefilepersistentvolumesource.json +++ b/v1.12.2-standalone-strict/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone-strict/azurefilevolumesource-v1.json b/v1.12.2-standalone-strict/azurefilevolumesource-v1.json index 8358e61035..8580d56c84 100644 --- a/v1.12.2-standalone-strict/azurefilevolumesource-v1.json +++ b/v1.12.2-standalone-strict/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone-strict/azurefilevolumesource.json b/v1.12.2-standalone-strict/azurefilevolumesource.json index 8358e61035..8580d56c84 100644 --- a/v1.12.2-standalone-strict/azurefilevolumesource.json +++ b/v1.12.2-standalone-strict/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone-strict/binding-v1.json b/v1.12.2-standalone-strict/binding-v1.json index 51156f832a..da012a4ebe 100644 --- a/v1.12.2-standalone-strict/binding-v1.json +++ b/v1.12.2-standalone-strict/binding-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/binding.json b/v1.12.2-standalone-strict/binding.json index 1f87d814b7..83fdc98a15 100644 --- a/v1.12.2-standalone-strict/binding.json +++ b/v1.12.2-standalone-strict/binding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/cephfspersistentvolumesource-v1.json b/v1.12.2-standalone-strict/cephfspersistentvolumesource-v1.json index 109716bfac..5df96178da 100644 --- a/v1.12.2-standalone-strict/cephfspersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone-strict/cephfspersistentvolumesource.json b/v1.12.2-standalone-strict/cephfspersistentvolumesource.json index 109716bfac..5df96178da 100644 --- a/v1.12.2-standalone-strict/cephfspersistentvolumesource.json +++ b/v1.12.2-standalone-strict/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone-strict/cephfsvolumesource-v1.json b/v1.12.2-standalone-strict/cephfsvolumesource-v1.json index 8f986c25d0..0cc77ed9e3 100644 --- a/v1.12.2-standalone-strict/cephfsvolumesource-v1.json +++ b/v1.12.2-standalone-strict/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone-strict/cephfsvolumesource.json b/v1.12.2-standalone-strict/cephfsvolumesource.json index 8f986c25d0..0cc77ed9e3 100644 --- a/v1.12.2-standalone-strict/cephfsvolumesource.json +++ b/v1.12.2-standalone-strict/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone-strict/certificatesigningrequest-certificates-v1beta1.json b/v1.12.2-standalone-strict/certificatesigningrequest-certificates-v1beta1.json index 4243fc18fb..b7a7116806 100644 --- a/v1.12.2-standalone-strict/certificatesigningrequest-certificates-v1beta1.json +++ b/v1.12.2-standalone-strict/certificatesigningrequest-certificates-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/certificatesigningrequest.json b/v1.12.2-standalone-strict/certificatesigningrequest.json index 03ff925db0..9dc09788d7 100644 --- a/v1.12.2-standalone-strict/certificatesigningrequest.json +++ b/v1.12.2-standalone-strict/certificatesigningrequest.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json b/v1.12.2-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json index 1329ce11c6..85b1141108 100644 --- a/v1.12.2-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json +++ b/v1.12.2-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json @@ -46,7 +46,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -71,7 +74,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -105,7 +111,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -297,7 +312,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -340,11 +358,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/certificatesigningrequestlist.json b/v1.12.2-standalone-strict/certificatesigningrequestlist.json index 9906c7551a..100d884acb 100644 --- a/v1.12.2-standalone-strict/certificatesigningrequestlist.json +++ b/v1.12.2-standalone-strict/certificatesigningrequestlist.json @@ -40,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.2-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json index a38505babf..fc6b2c08d9 100644 --- a/v1.12.2-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.2-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/certificatesigningrequestspec.json b/v1.12.2-standalone-strict/certificatesigningrequestspec.json index a38505babf..fc6b2c08d9 100644 --- a/v1.12.2-standalone-strict/certificatesigningrequestspec.json +++ b/v1.12.2-standalone-strict/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/cinderpersistentvolumesource-v1.json b/v1.12.2-standalone-strict/cinderpersistentvolumesource-v1.json index 2b26f5fcae..70a0a27906 100644 --- a/v1.12.2-standalone-strict/cinderpersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/cinderpersistentvolumesource.json b/v1.12.2-standalone-strict/cinderpersistentvolumesource.json index 2b26f5fcae..70a0a27906 100644 --- a/v1.12.2-standalone-strict/cinderpersistentvolumesource.json +++ b/v1.12.2-standalone-strict/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/cindervolumesource-v1.json b/v1.12.2-standalone-strict/cindervolumesource-v1.json index 5a1f3f2e5f..c0ea16d0a8 100644 --- a/v1.12.2-standalone-strict/cindervolumesource-v1.json +++ b/v1.12.2-standalone-strict/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/cindervolumesource.json b/v1.12.2-standalone-strict/cindervolumesource.json index 5a1f3f2e5f..c0ea16d0a8 100644 --- a/v1.12.2-standalone-strict/cindervolumesource.json +++ b/v1.12.2-standalone-strict/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/clientipconfig-v1.json b/v1.12.2-standalone-strict/clientipconfig-v1.json index 1b3827435f..c94eb81562 100644 --- a/v1.12.2-standalone-strict/clientipconfig-v1.json +++ b/v1.12.2-standalone-strict/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/clientipconfig.json b/v1.12.2-standalone-strict/clientipconfig.json index 1b3827435f..c94eb81562 100644 --- a/v1.12.2-standalone-strict/clientipconfig.json +++ b/v1.12.2-standalone-strict/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/clusterrole-rbac-v1.json b/v1.12.2-standalone-strict/clusterrole-rbac-v1.json index bfa1d2a48e..fefeda79e6 100644 --- a/v1.12.2-standalone-strict/clusterrole-rbac-v1.json +++ b/v1.12.2-standalone-strict/clusterrole-rbac-v1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -200,7 +212,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -263,7 +278,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -349,7 +367,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -392,11 +413,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrole-rbac-v1alpha1.json b/v1.12.2-standalone-strict/clusterrole-rbac-v1alpha1.json index c9fa69b451..1aabcfd3f3 100644 --- a/v1.12.2-standalone-strict/clusterrole-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/clusterrole-rbac-v1alpha1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -200,7 +212,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -263,7 +278,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -349,7 +367,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -392,11 +413,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrole-rbac-v1beta1.json b/v1.12.2-standalone-strict/clusterrole-rbac-v1beta1.json index 1d1d3cd277..366522b81b 100644 --- a/v1.12.2-standalone-strict/clusterrole-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/clusterrole-rbac-v1beta1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -200,7 +212,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -263,7 +278,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -349,7 +367,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -392,11 +413,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrole.json b/v1.12.2-standalone-strict/clusterrole.json index ed2b5b2dba..1b6edaa6eb 100644 --- a/v1.12.2-standalone-strict/clusterrole.json +++ b/v1.12.2-standalone-strict/clusterrole.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -194,7 +206,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -257,7 +272,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -343,7 +361,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -386,11 +407,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1.json b/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1.json index 67f189bfb4..b09fe44441 100644 --- a/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1.json +++ b/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1alpha1.json b/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1alpha1.json index dcc87c717d..e029cd8433 100644 --- a/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1beta1.json b/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1beta1.json index 9124963ab7..230c819d37 100644 --- a/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/clusterrolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebinding.json b/v1.12.2-standalone-strict/clusterrolebinding.json index f8c9b68dec..5e17b8afe7 100644 --- a/v1.12.2-standalone-strict/clusterrolebinding.json +++ b/v1.12.2-standalone-strict/clusterrolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1.json b/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1.json index 2899c702a6..173be22db0 100644 --- a/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1.json +++ b/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json b/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json index 3b39094f0d..6ce4de555e 100644 --- a/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json b/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json index ac2c816632..457d751ca3 100644 --- a/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolebindinglist.json b/v1.12.2-standalone-strict/clusterrolebindinglist.json index b67a862045..1119e693f8 100644 --- a/v1.12.2-standalone-strict/clusterrolebindinglist.json +++ b/v1.12.2-standalone-strict/clusterrolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolelist-rbac-v1.json b/v1.12.2-standalone-strict/clusterrolelist-rbac-v1.json index 9b1aeab157..26a0f86ff2 100644 --- a/v1.12.2-standalone-strict/clusterrolelist-rbac-v1.json +++ b/v1.12.2-standalone-strict/clusterrolelist-rbac-v1.json @@ -80,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +151,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +188,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -222,7 +234,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -285,7 +300,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -371,7 +389,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,11 +435,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolelist-rbac-v1alpha1.json b/v1.12.2-standalone-strict/clusterrolelist-rbac-v1alpha1.json index 37177fe091..76720802e7 100644 --- a/v1.12.2-standalone-strict/clusterrolelist-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/clusterrolelist-rbac-v1alpha1.json @@ -80,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +151,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +188,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -222,7 +234,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -285,7 +300,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -371,7 +389,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,11 +435,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolelist-rbac-v1beta1.json b/v1.12.2-standalone-strict/clusterrolelist-rbac-v1beta1.json index 0a78992dc8..ae2668c22d 100644 --- a/v1.12.2-standalone-strict/clusterrolelist-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/clusterrolelist-rbac-v1beta1.json @@ -80,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +151,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +188,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -222,7 +234,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -285,7 +300,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -371,7 +389,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,11 +435,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/clusterrolelist.json b/v1.12.2-standalone-strict/clusterrolelist.json index c7a123a402..d07270af09 100644 --- a/v1.12.2-standalone-strict/clusterrolelist.json +++ b/v1.12.2-standalone-strict/clusterrolelist.json @@ -77,7 +77,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +117,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -139,7 +145,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -173,7 +182,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -213,7 +225,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -276,7 +291,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/componentstatus-v1.json b/v1.12.2-standalone-strict/componentstatus-v1.json index 1c65ea43f5..dfe19d6e9d 100644 --- a/v1.12.2-standalone-strict/componentstatus-v1.json +++ b/v1.12.2-standalone-strict/componentstatus-v1.json @@ -67,7 +67,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +95,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -126,7 +132,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -169,7 +178,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -232,7 +244,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -318,7 +333,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -361,11 +379,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/componentstatus.json b/v1.12.2-standalone-strict/componentstatus.json index 43bac9e6e9..7a8cdbc7b1 100644 --- a/v1.12.2-standalone-strict/componentstatus.json +++ b/v1.12.2-standalone-strict/componentstatus.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +172,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -226,7 +238,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -312,7 +327,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -355,11 +373,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/componentstatuslist-v1.json b/v1.12.2-standalone-strict/componentstatuslist-v1.json index e167c1419a..79f0e0f0d0 100644 --- a/v1.12.2-standalone-strict/componentstatuslist-v1.json +++ b/v1.12.2-standalone-strict/componentstatuslist-v1.json @@ -89,7 +89,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +117,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -148,7 +154,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -191,7 +200,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -254,7 +266,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +355,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +401,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/componentstatuslist.json b/v1.12.2-standalone-strict/componentstatuslist.json index 34edb130b5..047cfd63ca 100644 --- a/v1.12.2-standalone-strict/componentstatuslist.json +++ b/v1.12.2-standalone-strict/componentstatuslist.json @@ -83,7 +83,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -108,7 +111,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -142,7 +148,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -182,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -245,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -331,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -374,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/configmap-v1.json b/v1.12.2-standalone-strict/configmap-v1.json index 507c4bf846..0fb762ea13 100644 --- a/v1.12.2-standalone-strict/configmap-v1.json +++ b/v1.12.2-standalone-strict/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -47,7 +53,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +81,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +118,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +164,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +319,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +365,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/configmap.json b/v1.12.2-standalone-strict/configmap.json index 8ceedc0d36..03912cad3a 100644 --- a/v1.12.2-standalone-strict/configmap.json +++ b/v1.12.2-standalone-strict/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -44,7 +50,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +78,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -103,7 +115,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -206,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/configmapenvsource-v1.json b/v1.12.2-standalone-strict/configmapenvsource-v1.json index 2fb6d2ca31..8860ddea58 100644 --- a/v1.12.2-standalone-strict/configmapenvsource-v1.json +++ b/v1.12.2-standalone-strict/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmapenvsource.json b/v1.12.2-standalone-strict/configmapenvsource.json index 2fb6d2ca31..8860ddea58 100644 --- a/v1.12.2-standalone-strict/configmapenvsource.json +++ b/v1.12.2-standalone-strict/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmapkeyselector-v1.json b/v1.12.2-standalone-strict/configmapkeyselector-v1.json index 7b9a7610e9..79252da5c0 100644 --- a/v1.12.2-standalone-strict/configmapkeyselector-v1.json +++ b/v1.12.2-standalone-strict/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmapkeyselector.json b/v1.12.2-standalone-strict/configmapkeyselector.json index 7b9a7610e9..79252da5c0 100644 --- a/v1.12.2-standalone-strict/configmapkeyselector.json +++ b/v1.12.2-standalone-strict/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmaplist-v1.json b/v1.12.2-standalone-strict/configmaplist-v1.json index 2588b5ed0e..a452f58704 100644 --- a/v1.12.2-standalone-strict/configmaplist-v1.json +++ b/v1.12.2-standalone-strict/configmaplist-v1.json @@ -35,7 +35,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -46,7 +49,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -128,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -171,7 +186,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -234,7 +252,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -320,7 +341,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -363,11 +387,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/configmaplist.json b/v1.12.2-standalone-strict/configmaplist.json index 9114b7df2a..99e06bcbcf 100644 --- a/v1.12.2-standalone-strict/configmaplist.json +++ b/v1.12.2-standalone-strict/configmaplist.json @@ -29,7 +29,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -40,7 +43,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -63,7 +69,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +97,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -122,7 +134,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -162,7 +177,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +243,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -311,7 +332,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -354,11 +378,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/configmapprojection-v1.json b/v1.12.2-standalone-strict/configmapprojection-v1.json index 79bce75870..a655b1b4f0 100644 --- a/v1.12.2-standalone-strict/configmapprojection-v1.json +++ b/v1.12.2-standalone-strict/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmapprojection.json b/v1.12.2-standalone-strict/configmapprojection.json index 79bce75870..a655b1b4f0 100644 --- a/v1.12.2-standalone-strict/configmapprojection.json +++ b/v1.12.2-standalone-strict/configmapprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmapvolumesource-v1.json b/v1.12.2-standalone-strict/configmapvolumesource-v1.json index 914b310117..e364a9a772 100644 --- a/v1.12.2-standalone-strict/configmapvolumesource-v1.json +++ b/v1.12.2-standalone-strict/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -45,7 +51,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/configmapvolumesource.json b/v1.12.2-standalone-strict/configmapvolumesource.json index 914b310117..e364a9a772 100644 --- a/v1.12.2-standalone-strict/configmapvolumesource.json +++ b/v1.12.2-standalone-strict/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -45,7 +51,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/container-v1.json b/v1.12.2-standalone-strict/container-v1.json index 3ccc998161..9cc8252b46 100644 --- a/v1.12.2-standalone-strict/container-v1.json +++ b/v1.12.2-standalone-strict/container-v1.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -122,7 +125,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -152,7 +158,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -187,7 +196,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +223,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -313,7 +328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -349,7 +367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -435,7 +456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -471,7 +495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +535,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -565,7 +595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -581,17 +614,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -616,7 +658,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -625,7 +670,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -664,7 +712,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -711,7 +762,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -768,7 +822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -784,17 +841,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -819,7 +885,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -828,7 +897,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -839,7 +911,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -849,14 +924,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -866,7 +947,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -879,7 +963,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -915,7 +1002,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -926,20 +1016,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -981,11 +1083,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1003,7 +1111,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1062,7 +1173,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone-strict/container.json b/v1.12.2-standalone-strict/container.json index 3ccc998161..9cc8252b46 100644 --- a/v1.12.2-standalone-strict/container.json +++ b/v1.12.2-standalone-strict/container.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -122,7 +125,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -152,7 +158,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -187,7 +196,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +223,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -313,7 +328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -349,7 +367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -435,7 +456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -471,7 +495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +535,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -565,7 +595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -581,17 +614,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -616,7 +658,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -625,7 +670,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -664,7 +712,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -711,7 +762,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -768,7 +822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -784,17 +841,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -819,7 +885,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -828,7 +897,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -839,7 +911,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -849,14 +924,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -866,7 +947,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -879,7 +963,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -915,7 +1002,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -926,20 +1016,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -981,11 +1083,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1003,7 +1111,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1062,7 +1173,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone-strict/containerimage-v1.json b/v1.12.2-standalone-strict/containerimage-v1.json index 19cffb2f95..069b07b3a8 100644 --- a/v1.12.2-standalone-strict/containerimage-v1.json +++ b/v1.12.2-standalone-strict/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/containerimage.json b/v1.12.2-standalone-strict/containerimage.json index 19cffb2f95..069b07b3a8 100644 --- a/v1.12.2-standalone-strict/containerimage.json +++ b/v1.12.2-standalone-strict/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/containerport-v1.json b/v1.12.2-standalone-strict/containerport-v1.json index 437d7e0d37..2bcb13eeda 100644 --- a/v1.12.2-standalone-strict/containerport-v1.json +++ b/v1.12.2-standalone-strict/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2-standalone-strict/containerport.json b/v1.12.2-standalone-strict/containerport.json index 437d7e0d37..2bcb13eeda 100644 --- a/v1.12.2-standalone-strict/containerport.json +++ b/v1.12.2-standalone-strict/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2-standalone-strict/containerstate-v1.json b/v1.12.2-standalone-strict/containerstate-v1.json index 4cfe4fdf2e..27e594cd4c 100644 --- a/v1.12.2-standalone-strict/containerstate-v1.json +++ b/v1.12.2-standalone-strict/containerstate-v1.json @@ -57,7 +57,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/containerstate.json b/v1.12.2-standalone-strict/containerstate.json index 4cfe4fdf2e..27e594cd4c 100644 --- a/v1.12.2-standalone-strict/containerstate.json +++ b/v1.12.2-standalone-strict/containerstate.json @@ -57,7 +57,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/containerstateterminated-v1.json b/v1.12.2-standalone-strict/containerstateterminated-v1.json index 7a80f30ac1..1f019ce5aa 100644 --- a/v1.12.2-standalone-strict/containerstateterminated-v1.json +++ b/v1.12.2-standalone-strict/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/containerstateterminated.json b/v1.12.2-standalone-strict/containerstateterminated.json index 7a80f30ac1..1f019ce5aa 100644 --- a/v1.12.2-standalone-strict/containerstateterminated.json +++ b/v1.12.2-standalone-strict/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/containerstatus-v1.json b/v1.12.2-standalone-strict/containerstatus-v1.json index c0a989163d..22fe41cf81 100644 --- a/v1.12.2-standalone-strict/containerstatus-v1.json +++ b/v1.12.2-standalone-strict/containerstatus-v1.json @@ -88,7 +88,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -134,11 +137,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -200,7 +209,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/containerstatus.json b/v1.12.2-standalone-strict/containerstatus.json index c0a989163d..22fe41cf81 100644 --- a/v1.12.2-standalone-strict/containerstatus.json +++ b/v1.12.2-standalone-strict/containerstatus.json @@ -88,7 +88,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -134,11 +137,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -200,7 +209,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/controllerrevision-apps-v1.json b/v1.12.2-standalone-strict/controllerrevision-apps-v1.json index d4a6946219..a4fba0b4e6 100644 --- a/v1.12.2-standalone-strict/controllerrevision-apps-v1.json +++ b/v1.12.2-standalone-strict/controllerrevision-apps-v1.json @@ -43,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -68,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -102,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -145,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -208,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/controllerrevision-apps-v1beta1.json b/v1.12.2-standalone-strict/controllerrevision-apps-v1beta1.json index 76a22d7c0a..6ce6e67570 100644 --- a/v1.12.2-standalone-strict/controllerrevision-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/controllerrevision-apps-v1beta1.json @@ -43,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -68,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -102,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -145,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -208,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/controllerrevision-apps-v1beta2.json b/v1.12.2-standalone-strict/controllerrevision-apps-v1beta2.json index 8840c4158e..c6fa18a9c5 100644 --- a/v1.12.2-standalone-strict/controllerrevision-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/controllerrevision-apps-v1beta2.json @@ -43,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -68,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -102,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -145,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -208,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/controllerrevision.json b/v1.12.2-standalone-strict/controllerrevision.json index adbc25ed3d..e9f95676d1 100644 --- a/v1.12.2-standalone-strict/controllerrevision.json +++ b/v1.12.2-standalone-strict/controllerrevision.json @@ -40,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +405,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1.json b/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1.json index d3beef56a8..908d1343b4 100644 --- a/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1.json +++ b/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1.json @@ -65,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -230,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta1.json b/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta1.json index a68ae7240d..2fcf1021c3 100644 --- a/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta1.json @@ -65,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -230,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta2.json b/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta2.json index 7e798b3e55..5451f4524d 100644 --- a/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/controllerrevisionlist-apps-v1beta2.json @@ -65,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -230,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/controllerrevisionlist.json b/v1.12.2-standalone-strict/controllerrevisionlist.json index 825ab04aa1..a555fc502a 100644 --- a/v1.12.2-standalone-strict/controllerrevisionlist.json +++ b/v1.12.2-standalone-strict/controllerrevisionlist.json @@ -59,7 +59,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -84,7 +87,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -118,7 +124,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -158,7 +167,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -221,7 +233,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +322,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +368,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/cronjob-batch-v1beta1.json b/v1.12.2-standalone-strict/cronjob-batch-v1beta1.json index c2a6bd8b7d..7ab947b294 100644 --- a/v1.12.2-standalone-strict/cronjob-batch-v1beta1.json +++ b/v1.12.2-standalone-strict/cronjob-batch-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -395,7 +422,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -420,7 +450,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -454,7 +487,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -497,7 +533,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -560,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -646,7 +688,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -689,11 +734,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -745,26 +796,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -812,7 +878,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -831,7 +900,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -856,7 +928,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -890,7 +965,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -933,7 +1011,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -996,7 +1077,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1082,7 +1166,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1125,11 +1212,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1181,7 +1274,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1459,7 +1555,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1556,7 +1655,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1658,7 +1760,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1755,7 +1860,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1795,7 +1903,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1877,7 +1988,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1954,7 +2071,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1989,7 +2109,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2013,7 +2136,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2115,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,7 +2280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2369,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2273,7 +2408,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2310,7 +2448,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2367,7 +2508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2383,17 +2527,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2418,7 +2571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2427,7 +2583,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2463,7 +2622,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2510,7 +2672,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2567,7 +2732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2583,17 +2751,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2618,7 +2795,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2807,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2638,7 +2821,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2648,14 +2834,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2665,7 +2857,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2678,7 +2873,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2714,7 +2912,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2725,20 +2926,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2780,11 +2993,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2802,7 +3021,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2861,7 +3083,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2991,15 +3216,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3113,7 +3347,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3190,9 +3430,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3225,7 +3468,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3249,7 +3495,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3351,7 +3600,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3387,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3473,7 +3728,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3509,7 +3767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3546,7 +3807,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3603,7 +3867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3619,17 +3886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3654,7 +3930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3663,7 +3942,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3699,7 +3981,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3746,7 +4031,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3803,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3819,17 +4110,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3854,7 +4154,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3863,7 +4166,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3874,7 +4180,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3884,14 +4193,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3901,7 +4216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3914,7 +4232,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3950,7 +4271,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3961,20 +4285,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4016,11 +4352,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4038,7 +4380,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4097,7 +4442,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4134,7 +4482,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4144,7 +4495,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4200,21 +4554,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4258,7 +4624,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4306,7 +4675,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4317,7 +4689,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4352,7 +4727,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4393,12 +4771,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4445,7 +4829,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4459,7 +4846,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4497,7 +4887,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4544,7 +4937,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4571,7 +4967,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4593,7 +4992,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5015,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4623,7 +5028,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4660,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4689,7 +5100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4726,7 +5140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4745,12 +5162,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4800,7 +5223,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4810,7 +5236,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4863,7 +5292,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4872,7 +5304,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4921,7 +5356,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,11 +5394,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5007,7 +5451,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5046,7 +5493,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5067,7 +5517,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5107,7 +5560,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5124,7 +5580,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5155,7 +5614,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5175,7 +5637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5217,7 +5682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5246,7 +5714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5286,7 +5757,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5306,7 +5780,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5326,7 +5803,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5359,7 +5839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5423,7 +5906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5476,7 +5962,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5493,7 +5982,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5528,7 +6020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5550,7 +6045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5563,7 +6061,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5587,7 +6088,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5667,7 +6171,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5682,17 +6189,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/cronjob-batch-v2alpha1.json b/v1.12.2-standalone-strict/cronjob-batch-v2alpha1.json index 95b3e2e96a..75cadc0d37 100644 --- a/v1.12.2-standalone-strict/cronjob-batch-v2alpha1.json +++ b/v1.12.2-standalone-strict/cronjob-batch-v2alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -395,7 +422,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -420,7 +450,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -454,7 +487,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -497,7 +533,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -560,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -646,7 +688,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -689,11 +734,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -745,26 +796,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -812,7 +878,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -831,7 +900,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -856,7 +928,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -890,7 +965,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -933,7 +1011,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -996,7 +1077,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1082,7 +1166,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1125,11 +1212,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1181,7 +1274,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1459,7 +1555,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1556,7 +1655,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1658,7 +1760,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1755,7 +1860,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1795,7 +1903,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1877,7 +1988,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1954,7 +2071,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1989,7 +2109,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2013,7 +2136,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2115,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,7 +2280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2369,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2273,7 +2408,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2310,7 +2448,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2367,7 +2508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2383,17 +2527,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2418,7 +2571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2427,7 +2583,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2463,7 +2622,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2510,7 +2672,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2567,7 +2732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2583,17 +2751,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2618,7 +2795,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2807,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2638,7 +2821,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2648,14 +2834,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2665,7 +2857,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2678,7 +2873,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2714,7 +2912,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2725,20 +2926,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2780,11 +2993,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2802,7 +3021,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2861,7 +3083,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2991,15 +3216,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3113,7 +3347,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3190,9 +3430,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3225,7 +3468,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3249,7 +3495,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3351,7 +3600,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3387,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3473,7 +3728,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3509,7 +3767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3546,7 +3807,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3603,7 +3867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3619,17 +3886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3654,7 +3930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3663,7 +3942,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3699,7 +3981,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3746,7 +4031,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3803,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3819,17 +4110,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3854,7 +4154,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3863,7 +4166,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3874,7 +4180,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3884,14 +4193,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3901,7 +4216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3914,7 +4232,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3950,7 +4271,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3961,20 +4285,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4016,11 +4352,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4038,7 +4380,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4097,7 +4442,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4134,7 +4482,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4144,7 +4495,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4200,21 +4554,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4258,7 +4624,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4306,7 +4675,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4317,7 +4689,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4352,7 +4727,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4393,12 +4771,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4445,7 +4829,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4459,7 +4846,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4497,7 +4887,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4544,7 +4937,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4571,7 +4967,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4593,7 +4992,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5015,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4623,7 +5028,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4660,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4689,7 +5100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4726,7 +5140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4745,12 +5162,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4800,7 +5223,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4810,7 +5236,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4863,7 +5292,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4872,7 +5304,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4921,7 +5356,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,11 +5394,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5007,7 +5451,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5046,7 +5493,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5067,7 +5517,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5107,7 +5560,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5124,7 +5580,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5155,7 +5614,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5175,7 +5637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5217,7 +5682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5246,7 +5714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5286,7 +5757,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5306,7 +5780,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5326,7 +5803,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5359,7 +5839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5423,7 +5906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5476,7 +5962,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5493,7 +5982,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5528,7 +6020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5550,7 +6045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5563,7 +6061,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5587,7 +6088,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5667,7 +6171,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5682,17 +6189,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/cronjob.json b/v1.12.2-standalone-strict/cronjob.json index 39d7018297..f5adca51bb 100644 --- a/v1.12.2-standalone-strict/cronjob.json +++ b/v1.12.2-standalone-strict/cronjob.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -389,7 +416,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,7 +444,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -448,7 +481,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -551,7 +590,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -637,7 +679,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -680,11 +725,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -736,26 +787,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -803,7 +869,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -822,7 +891,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -847,7 +919,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -881,7 +956,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -921,7 +999,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -984,7 +1065,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1070,7 +1154,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1113,11 +1200,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1169,7 +1262,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1447,7 +1543,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1544,7 +1643,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1646,7 +1748,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1743,7 +1848,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1783,7 +1891,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1865,7 +1976,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1912,7 +2026,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1942,7 +2059,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1977,7 +2097,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2001,7 +2124,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2103,7 +2229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2139,7 +2268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2225,7 +2357,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2261,7 +2396,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2298,7 +2436,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2355,7 +2496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2371,17 +2515,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2406,7 +2559,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2415,7 +2571,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2451,7 +2610,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2498,7 +2660,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2555,7 +2720,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2571,17 +2739,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2606,7 +2783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2615,7 +2795,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2626,7 +2809,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2636,14 +2822,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2653,7 +2845,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2666,7 +2861,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2702,7 +2900,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2713,20 +2914,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2768,11 +2981,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2790,7 +3009,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2849,7 +3071,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2979,15 +3204,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3101,7 +3335,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3148,7 +3385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3178,9 +3418,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3213,7 +3456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3237,7 +3483,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3339,7 +3588,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3375,7 +3627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3461,7 +3716,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3497,7 +3755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3534,7 +3795,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3591,7 +3855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3607,17 +3874,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3642,7 +3918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3651,7 +3930,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3687,7 +3969,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3734,7 +4019,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3791,7 +4079,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3807,17 +4098,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3842,7 +4142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3851,7 +4154,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3862,7 +4168,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3872,14 +4181,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3889,7 +4204,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3902,7 +4220,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3938,7 +4259,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3949,20 +4273,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4004,11 +4340,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4026,7 +4368,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4085,7 +4430,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4122,7 +4470,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4132,7 +4483,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4188,21 +4542,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4246,7 +4612,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4294,7 +4663,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4305,7 +4677,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4340,7 +4715,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4381,12 +4759,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4433,7 +4817,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4447,7 +4834,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4485,7 +4875,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4532,7 +4925,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4559,7 +4955,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4581,7 +4980,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4601,7 +5003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4611,7 +5016,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4648,7 +5056,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4677,7 +5088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4714,7 +5128,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4733,12 +5150,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4788,7 +5211,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4798,7 +5224,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4851,7 +5280,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4860,7 +5292,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4909,7 +5344,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4944,11 +5382,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4995,7 +5439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5034,7 +5481,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5055,7 +5505,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5095,7 +5548,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5112,7 +5568,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5143,7 +5602,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5163,7 +5625,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5205,7 +5670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5234,7 +5702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5274,7 +5745,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5294,7 +5768,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5314,7 +5791,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5347,7 +5827,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5411,7 +5894,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5464,7 +5950,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5481,7 +5970,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5516,7 +6008,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5538,7 +6033,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5551,7 +6049,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5575,7 +6076,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5655,7 +6159,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5670,17 +6177,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/cronjoblist-batch-v1beta1.json b/v1.12.2-standalone-strict/cronjoblist-batch-v1beta1.json index d0a0a26a7b..2d02c4e7ce 100644 --- a/v1.12.2-standalone-strict/cronjoblist-batch-v1beta1.json +++ b/v1.12.2-standalone-strict/cronjoblist-batch-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,7 +430,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -417,7 +444,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +472,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -476,7 +509,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -519,7 +555,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -582,7 +621,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -668,7 +710,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -711,11 +756,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -767,26 +818,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -834,7 +900,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +922,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +950,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -912,7 +987,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -955,7 +1033,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -1018,7 +1099,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1104,7 +1188,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1147,11 +1234,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1203,7 +1296,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1481,7 +1577,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1578,7 +1677,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1680,7 +1782,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1777,7 +1882,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1817,7 +1925,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1899,7 +2010,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1976,7 +2093,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2011,7 +2131,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2035,7 +2158,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2137,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2173,7 +2302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2391,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2295,7 +2430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2332,7 +2470,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2389,7 +2530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2405,17 +2549,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2440,7 +2593,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2449,7 +2605,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2485,7 +2644,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2532,7 +2694,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2589,7 +2754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2605,17 +2773,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2640,7 +2817,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2649,7 +2829,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2660,7 +2843,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2670,14 +2856,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2687,7 +2879,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2700,7 +2895,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2736,7 +2934,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2747,20 +2948,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2802,11 +3015,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2824,7 +3043,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2883,7 +3105,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3013,15 +3238,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3135,7 +3369,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3212,9 +3452,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3247,7 +3490,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3271,7 +3517,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3373,7 +3622,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3409,7 +3661,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3495,7 +3750,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3531,7 +3789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3568,7 +3829,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3625,7 +3889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3641,17 +3908,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3676,7 +3952,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3685,7 +3964,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3721,7 +4003,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3768,7 +4053,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3825,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3841,17 +4132,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3876,7 +4176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3885,7 +4188,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3896,7 +4202,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3906,14 +4215,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3923,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3936,7 +4254,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3972,7 +4293,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3983,20 +4307,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4038,11 +4374,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4060,7 +4402,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4119,7 +4464,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4156,7 +4504,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4166,7 +4517,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4222,21 +4576,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4280,7 +4646,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4328,7 +4697,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4339,7 +4711,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4374,7 +4749,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4415,12 +4793,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4467,7 +4851,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4481,7 +4868,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4519,7 +4909,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4566,7 +4959,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4593,7 +4989,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4615,7 +5014,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5037,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4645,7 +5050,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4682,7 +5090,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4748,7 +5162,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4767,12 +5184,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4822,7 +5245,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4832,7 +5258,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5314,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4894,7 +5326,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5378,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4978,11 +5416,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5029,7 +5473,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5068,7 +5515,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5089,7 +5539,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5129,7 +5582,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5177,7 +5636,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5197,7 +5659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5239,7 +5704,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5268,7 +5736,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5308,7 +5779,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5328,7 +5802,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5348,7 +5825,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5381,7 +5861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5445,7 +5928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5498,7 +5984,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5515,7 +6004,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5550,7 +6042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5572,7 +6067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5585,7 +6083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5609,7 +6110,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5689,7 +6193,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5704,17 +6211,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/cronjoblist-batch-v2alpha1.json b/v1.12.2-standalone-strict/cronjoblist-batch-v2alpha1.json index 5d2b07327d..3480409392 100644 --- a/v1.12.2-standalone-strict/cronjoblist-batch-v2alpha1.json +++ b/v1.12.2-standalone-strict/cronjoblist-batch-v2alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,7 +430,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -417,7 +444,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +472,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -476,7 +509,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -519,7 +555,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -582,7 +621,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -668,7 +710,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -711,11 +756,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -767,26 +818,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -834,7 +900,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +922,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +950,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -912,7 +987,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -955,7 +1033,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -1018,7 +1099,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1104,7 +1188,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1147,11 +1234,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1203,7 +1296,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1481,7 +1577,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1578,7 +1677,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1680,7 +1782,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1777,7 +1882,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1817,7 +1925,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1899,7 +2010,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1976,7 +2093,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2011,7 +2131,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2035,7 +2158,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2137,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2173,7 +2302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2391,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2295,7 +2430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2332,7 +2470,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2389,7 +2530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2405,17 +2549,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2440,7 +2593,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2449,7 +2605,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2485,7 +2644,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2532,7 +2694,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2589,7 +2754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2605,17 +2773,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2640,7 +2817,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2649,7 +2829,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2660,7 +2843,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2670,14 +2856,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2687,7 +2879,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2700,7 +2895,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2736,7 +2934,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2747,20 +2948,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2802,11 +3015,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2824,7 +3043,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2883,7 +3105,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3013,15 +3238,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3135,7 +3369,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3212,9 +3452,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3247,7 +3490,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3271,7 +3517,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3373,7 +3622,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3409,7 +3661,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3495,7 +3750,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3531,7 +3789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3568,7 +3829,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3625,7 +3889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3641,17 +3908,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3676,7 +3952,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3685,7 +3964,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3721,7 +4003,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3768,7 +4053,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3825,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3841,17 +4132,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3876,7 +4176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3885,7 +4188,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3896,7 +4202,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3906,14 +4215,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3923,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3936,7 +4254,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3972,7 +4293,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3983,20 +4307,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4038,11 +4374,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4060,7 +4402,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4119,7 +4464,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4156,7 +4504,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4166,7 +4517,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4222,21 +4576,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4280,7 +4646,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4328,7 +4697,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4339,7 +4711,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4374,7 +4749,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4415,12 +4793,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4467,7 +4851,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4481,7 +4868,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4519,7 +4909,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4566,7 +4959,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4593,7 +4989,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4615,7 +5014,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5037,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4645,7 +5050,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4682,7 +5090,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4748,7 +5162,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4767,12 +5184,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4822,7 +5245,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4832,7 +5258,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5314,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4894,7 +5326,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5378,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4978,11 +5416,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5029,7 +5473,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5068,7 +5515,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5089,7 +5539,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5129,7 +5582,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5177,7 +5636,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5197,7 +5659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5239,7 +5704,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5268,7 +5736,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5308,7 +5779,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5328,7 +5802,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5348,7 +5825,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5381,7 +5861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5445,7 +5928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5498,7 +5984,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5515,7 +6004,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5550,7 +6042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5572,7 +6067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5585,7 +6083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5609,7 +6110,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5689,7 +6193,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5704,17 +6211,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/cronjoblist.json b/v1.12.2-standalone-strict/cronjoblist.json index 0560dcaff1..3f74f0d08b 100644 --- a/v1.12.2-standalone-strict/cronjoblist.json +++ b/v1.12.2-standalone-strict/cronjoblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -397,7 +421,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -408,7 +435,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -433,7 +463,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -467,7 +500,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -507,7 +543,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -570,7 +609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -656,7 +698,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -699,11 +744,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -755,26 +806,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -822,7 +888,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -841,7 +910,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -866,7 +938,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -900,7 +975,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -940,7 +1018,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -1003,7 +1084,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1089,7 +1173,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1132,11 +1219,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1188,7 +1281,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1466,7 +1562,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1563,7 +1662,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1665,7 +1767,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1762,7 +1867,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1802,7 +1910,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1884,7 +1995,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1931,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1961,7 +2078,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1996,7 +2116,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2020,7 +2143,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2122,7 +2248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2158,7 +2287,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2280,7 +2415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2317,7 +2455,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2374,7 +2515,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2390,17 +2534,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2425,7 +2578,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2434,7 +2590,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2470,7 +2629,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2517,7 +2679,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2574,7 +2739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2590,17 +2758,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2625,7 +2802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2634,7 +2814,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2645,7 +2828,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2655,14 +2841,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2672,7 +2864,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2685,7 +2880,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2721,7 +2919,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2732,20 +2933,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2787,11 +3000,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2809,7 +3028,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2868,7 +3090,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2998,15 +3223,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3120,7 +3354,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3167,7 +3404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3197,9 +3437,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3232,7 +3475,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3256,7 +3502,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3358,7 +3607,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3394,7 +3646,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3516,7 +3774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3553,7 +3814,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3610,7 +3874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3626,17 +3893,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3661,7 +3937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3670,7 +3949,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3706,7 +3988,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3753,7 +4038,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3810,7 +4098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3826,17 +4117,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3861,7 +4161,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3870,7 +4173,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3881,7 +4187,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3891,14 +4200,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3908,7 +4223,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3921,7 +4239,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3957,7 +4278,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3968,20 +4292,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4023,11 +4359,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4045,7 +4387,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4104,7 +4449,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4141,7 +4489,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4151,7 +4502,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4207,21 +4561,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4265,7 +4631,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4313,7 +4682,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4324,7 +4696,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4359,7 +4734,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4400,12 +4778,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4452,7 +4836,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4466,7 +4853,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4504,7 +4894,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4551,7 +4944,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4578,7 +4974,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4600,7 +4999,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4620,7 +5022,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4630,7 +5035,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4667,7 +5075,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4696,7 +5107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4733,7 +5147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4752,12 +5169,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4807,7 +5230,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4817,7 +5243,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4870,7 +5299,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4879,7 +5311,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4928,7 +5363,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4963,11 +5401,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5014,7 +5458,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5053,7 +5500,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5074,7 +5524,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5114,7 +5567,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5131,7 +5587,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5162,7 +5621,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5182,7 +5644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5224,7 +5689,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5253,7 +5721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5293,7 +5764,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5313,7 +5787,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5333,7 +5810,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5366,7 +5846,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5430,7 +5913,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5483,7 +5969,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5500,7 +5989,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5535,7 +6027,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5557,7 +6052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5570,7 +6068,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5594,7 +6095,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5674,7 +6178,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5689,17 +6196,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/cronjobspec-batch-v1beta1.json b/v1.12.2-standalone-strict/cronjobspec-batch-v1beta1.json index 1852160459..a586c8a2e6 100644 --- a/v1.12.2-standalone-strict/cronjobspec-batch-v1beta1.json +++ b/v1.12.2-standalone-strict/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -190,7 +205,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -276,7 +294,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -319,11 +340,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -375,26 +402,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +506,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +534,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +571,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +617,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +683,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +772,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +818,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +880,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1161,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1261,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1366,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1466,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1509,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1677,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1715,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1742,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1847,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1886,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2014,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2054,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2133,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2189,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2228,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2357,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2427,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2440,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2479,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2518,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2532,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2599,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2627,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2689,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2822,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2953,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3036,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3101,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3206,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3334,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3413,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,9 +3473,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3249,17 +3492,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3548,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3587,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3637,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3697,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3716,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3772,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3786,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3799,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3838,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3877,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3891,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3958,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3986,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4048,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4088,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4101,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4160,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4230,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4281,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4295,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4333,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4377,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4435,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4452,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4493,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4573,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4598,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4621,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4674,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4706,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4768,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4829,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4842,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4962,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +5000,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5057,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5099,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5123,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5166,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5186,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5220,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5243,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5288,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5320,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5363,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5386,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5409,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5445,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5512,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5568,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5588,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5626,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5651,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5667,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5694,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5777,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5315,17 +5798,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/cronjobspec-batch-v2alpha1.json b/v1.12.2-standalone-strict/cronjobspec-batch-v2alpha1.json index db2c4f737c..0541dfca1f 100644 --- a/v1.12.2-standalone-strict/cronjobspec-batch-v2alpha1.json +++ b/v1.12.2-standalone-strict/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -190,7 +205,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -276,7 +294,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -319,11 +340,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -375,26 +402,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +506,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +534,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +571,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +617,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +683,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +772,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +818,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +880,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1161,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1261,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1366,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1466,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1509,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1677,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1715,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1742,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1847,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1886,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2014,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2054,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2133,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2189,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2228,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2357,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2427,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2440,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2479,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2518,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2532,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2599,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2627,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2689,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2822,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2953,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3036,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3101,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3206,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3334,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3413,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,9 +3473,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3249,17 +3492,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3548,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3587,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3637,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3697,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3716,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3772,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3786,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3799,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3838,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3877,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3891,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3958,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3986,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4048,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4088,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4101,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4160,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4230,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4281,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4295,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4333,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4377,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4435,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4452,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4493,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4573,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4598,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4621,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4674,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4706,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4768,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4829,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4842,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4962,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +5000,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5057,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5099,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5123,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5166,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5186,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5220,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5243,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5288,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5320,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5363,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5386,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5409,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5445,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5512,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5568,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5588,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5626,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5651,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5667,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5694,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5777,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5315,17 +5798,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/cronjobspec.json b/v1.12.2-standalone-strict/cronjobspec.json index 8ae9138004..4e24cd528f 100644 --- a/v1.12.2-standalone-strict/cronjobspec.json +++ b/v1.12.2-standalone-strict/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -187,7 +202,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -273,7 +291,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -316,11 +337,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -372,26 +399,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -439,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -517,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -557,7 +611,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -620,7 +677,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +766,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +812,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -805,7 +874,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1083,7 +1155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1180,7 +1255,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1282,7 +1360,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1379,7 +1460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1419,7 +1503,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1501,7 +1588,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1548,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1578,7 +1671,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1613,7 +1709,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1637,7 +1736,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1739,7 +1841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1775,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1897,7 +2008,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2048,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1991,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2007,17 +2127,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2042,7 +2171,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2051,7 +2183,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2087,7 +2222,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2134,7 +2272,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2191,7 +2332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2351,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2395,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2251,7 +2407,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2262,7 +2421,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2272,14 +2434,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2289,7 +2457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2302,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2338,7 +2512,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2349,20 +2526,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2404,11 +2593,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2426,7 +2621,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2485,7 +2683,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2615,15 +2816,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2737,7 +2947,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2784,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2814,7 +3030,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2849,7 +3068,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2873,7 +3095,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2975,7 +3200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3239,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3097,7 +3328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3133,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3227,9 +3467,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3243,17 +3486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3278,7 +3530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3287,7 +3542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3323,7 +3581,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3370,7 +3631,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3427,7 +3691,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3443,17 +3710,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3478,7 +3754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3487,7 +3766,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3498,7 +3780,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3508,14 +3793,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3525,7 +3816,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3538,7 +3832,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3574,7 +3871,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3585,20 +3885,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3640,11 +3952,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3662,7 +3980,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3721,7 +4042,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3758,7 +4082,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3768,7 +4095,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3824,21 +4154,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3882,7 +4224,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3930,7 +4275,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3941,7 +4289,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3976,7 +4327,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4017,12 +4371,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4069,7 +4429,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4083,7 +4446,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4121,7 +4487,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4168,7 +4537,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4195,7 +4567,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4217,7 +4592,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4237,7 +4615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4247,7 +4628,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4284,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4313,7 +4700,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4350,7 +4740,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4369,12 +4762,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4424,7 +4823,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4434,7 +4836,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4487,7 +4892,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4496,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4545,7 +4956,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4580,11 +4994,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4631,7 +5051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4691,7 +5117,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4731,7 +5160,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4748,7 +5180,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4779,7 +5214,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4799,7 +5237,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4841,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5314,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4910,7 +5357,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4930,7 +5380,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4950,7 +5403,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4983,7 +5439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5047,7 +5506,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5100,7 +5562,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5582,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5152,7 +5620,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5174,7 +5645,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5187,7 +5661,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5211,7 +5688,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5291,7 +5771,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5309,17 +5792,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/csipersistentvolumesource-v1.json b/v1.12.2-standalone-strict/csipersistentvolumesource-v1.json index f80b7b316a..5cfa12be4b 100644 --- a/v1.12.2-standalone-strict/csipersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/csipersistentvolumesource-v1.json @@ -81,11 +81,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/csipersistentvolumesource.json b/v1.12.2-standalone-strict/csipersistentvolumesource.json index f80b7b316a..5cfa12be4b 100644 --- a/v1.12.2-standalone-strict/csipersistentvolumesource.json +++ b/v1.12.2-standalone-strict/csipersistentvolumesource.json @@ -81,11 +81,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.2-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json index 43f5bc138d..e54dcd511a 100644 --- a/v1.12.2-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.2-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2-standalone-strict/customresourcecolumndefinition.json b/v1.12.2-standalone-strict/customresourcecolumndefinition.json index 43f5bc138d..e54dcd511a 100644 --- a/v1.12.2-standalone-strict/customresourcecolumndefinition.json +++ b/v1.12.2-standalone-strict/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.2-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json index 30c95cc025..72555394ab 100644 --- a/v1.12.2-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.2-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/customresourcedefinitionversion.json b/v1.12.2-standalone-strict/customresourcedefinitionversion.json index 30c95cc025..72555394ab 100644 --- a/v1.12.2-standalone-strict/customresourcedefinitionversion.json +++ b/v1.12.2-standalone-strict/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json b/v1.12.2-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json index b56713afde..961b0f05c9 100644 --- a/v1.12.2-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json +++ b/v1.12.2-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json @@ -1,5 +1,6 @@ { "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/customresourcesubresourcestatus.json b/v1.12.2-standalone-strict/customresourcesubresourcestatus.json index b56713afde..961b0f05c9 100644 --- a/v1.12.2-standalone-strict/customresourcesubresourcestatus.json +++ b/v1.12.2-standalone-strict/customresourcesubresourcestatus.json @@ -1,5 +1,6 @@ { "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/daemonendpoint-v1.json b/v1.12.2-standalone-strict/daemonendpoint-v1.json index 907b49d3ba..170585d700 100644 --- a/v1.12.2-standalone-strict/daemonendpoint-v1.json +++ b/v1.12.2-standalone-strict/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonendpoint.json b/v1.12.2-standalone-strict/daemonendpoint.json index 907b49d3ba..170585d700 100644 --- a/v1.12.2-standalone-strict/daemonendpoint.json +++ b/v1.12.2-standalone-strict/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonset-apps-v1.json b/v1.12.2-standalone-strict/daemonset-apps-v1.json index 72509aee5d..6899c4b678 100644 --- a/v1.12.2-standalone-strict/daemonset-apps-v1.json +++ b/v1.12.2-standalone-strict/daemonset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -449,7 +482,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +510,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -508,7 +547,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -551,7 +593,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -700,7 +748,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -743,11 +794,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -799,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1077,7 +1137,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1174,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1276,7 +1342,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1442,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1413,7 +1485,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1495,7 +1570,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1542,7 +1620,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1572,7 +1653,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1607,7 +1691,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1631,7 +1718,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1733,7 +1823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1769,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1855,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1891,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1928,7 +2030,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2090,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2001,17 +2109,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2036,7 +2153,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2045,7 +2165,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2081,7 +2204,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2128,7 +2254,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2185,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2201,17 +2333,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2236,7 +2377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2245,7 +2389,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2256,7 +2403,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2266,14 +2416,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2283,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2296,7 +2455,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2332,7 +2494,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2343,20 +2508,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2575,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2603,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2479,7 +2665,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2609,15 +2798,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2731,7 +2929,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2778,7 +2979,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2808,7 +3012,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2843,7 +3050,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2867,7 +3077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2969,7 +3182,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3005,7 +3221,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,7 +3349,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3389,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3221,7 +3449,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3237,17 +3468,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3272,7 +3512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3281,7 +3524,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3317,7 +3563,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3364,7 +3613,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3421,7 +3673,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3437,17 +3692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3472,7 +3736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3481,7 +3748,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3492,7 +3762,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3502,14 +3775,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3519,7 +3798,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3532,7 +3814,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3568,7 +3853,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3579,20 +3867,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3634,11 +3934,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3656,7 +3962,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3715,7 +4024,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3752,7 +4064,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3762,7 +4077,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3818,21 +4136,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3876,7 +4206,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3924,7 +4257,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3935,7 +4271,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3970,7 +4309,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4011,12 +4353,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4063,7 +4411,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4077,7 +4428,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4115,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4162,7 +4519,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4189,7 +4549,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4211,7 +4574,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4231,7 +4597,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4241,7 +4610,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4278,7 +4650,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4307,7 +4682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4344,7 +4722,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4363,12 +4744,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4418,7 +4805,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4428,7 +4818,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4481,7 +4874,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4490,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4539,7 +4938,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,11 +4976,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4625,7 +5033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4664,7 +5075,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4685,7 +5099,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4725,7 +5142,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4742,7 +5162,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4773,7 +5196,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5219,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4835,7 +5264,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4864,7 +5296,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4904,7 +5339,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4924,7 +5362,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4944,7 +5385,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4977,7 +5421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5041,7 +5488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5094,7 +5544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5564,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5168,7 +5627,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5181,7 +5643,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5205,7 +5670,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5298,7 +5766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5329,7 +5800,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5393,7 +5867,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5408,17 +5885,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonset-apps-v1beta2.json b/v1.12.2-standalone-strict/daemonset-apps-v1beta2.json index d52c456b8c..59f4681e14 100644 --- a/v1.12.2-standalone-strict/daemonset-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/daemonset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -449,7 +482,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +510,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -508,7 +547,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -551,7 +593,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -700,7 +748,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -743,11 +794,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -799,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1077,7 +1137,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1174,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1276,7 +1342,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1442,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1413,7 +1485,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1495,7 +1570,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1542,7 +1620,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1572,7 +1653,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1607,7 +1691,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1631,7 +1718,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1733,7 +1823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1769,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1855,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1891,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1928,7 +2030,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2090,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2001,17 +2109,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2036,7 +2153,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2045,7 +2165,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2081,7 +2204,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2128,7 +2254,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2185,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2201,17 +2333,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2236,7 +2377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2245,7 +2389,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2256,7 +2403,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2266,14 +2416,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2283,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2296,7 +2455,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2332,7 +2494,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2343,20 +2508,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2575,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2603,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2479,7 +2665,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2609,15 +2798,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2731,7 +2929,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2778,7 +2979,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2808,7 +3012,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2843,7 +3050,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2867,7 +3077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2969,7 +3182,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3005,7 +3221,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,7 +3349,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3389,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3221,7 +3449,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3237,17 +3468,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3272,7 +3512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3281,7 +3524,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3317,7 +3563,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3364,7 +3613,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3421,7 +3673,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3437,17 +3692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3472,7 +3736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3481,7 +3748,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3492,7 +3762,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3502,14 +3775,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3519,7 +3798,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3532,7 +3814,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3568,7 +3853,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3579,20 +3867,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3634,11 +3934,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3656,7 +3962,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3715,7 +4024,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3752,7 +4064,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3762,7 +4077,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3818,21 +4136,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3876,7 +4206,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3924,7 +4257,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3935,7 +4271,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3970,7 +4309,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4011,12 +4353,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4063,7 +4411,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4077,7 +4428,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4115,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4162,7 +4519,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4189,7 +4549,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4211,7 +4574,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4231,7 +4597,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4241,7 +4610,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4278,7 +4650,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4307,7 +4682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4344,7 +4722,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4363,12 +4744,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4418,7 +4805,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4428,7 +4818,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4481,7 +4874,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4490,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4539,7 +4938,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,11 +4976,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4625,7 +5033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4664,7 +5075,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4685,7 +5099,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4725,7 +5142,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4742,7 +5162,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4773,7 +5196,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5219,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4835,7 +5264,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4864,7 +5296,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4904,7 +5339,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4924,7 +5362,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4944,7 +5385,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4977,7 +5421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5041,7 +5488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5094,7 +5544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5564,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5168,7 +5627,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5181,7 +5643,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5205,7 +5670,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5298,7 +5766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5329,7 +5800,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5393,7 +5867,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5408,17 +5885,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonset-extensions-v1beta1.json b/v1.12.2-standalone-strict/daemonset-extensions-v1beta1.json index 6163c0fef1..c42b860b70 100644 --- a/v1.12.2-standalone-strict/daemonset-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/daemonset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -550,7 +592,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -699,7 +747,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,11 +793,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -798,7 +855,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1076,7 +1136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1341,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1484,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1494,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1541,7 +1619,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1571,7 +1652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1606,7 +1690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1717,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1732,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1768,7 +1861,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1854,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,7 +1989,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1927,7 +2029,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1984,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2044,7 +2164,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2080,7 +2203,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2127,7 +2253,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2184,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2200,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2235,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2255,7 +2402,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,14 +2415,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2282,7 +2438,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2295,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2493,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2507,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2397,11 +2574,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2419,7 +2602,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2664,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2608,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2730,7 +2928,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2777,7 +2978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3011,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2842,7 +3049,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3076,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2968,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3004,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,7 +3348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3163,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3220,7 +3448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3236,17 +3467,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3271,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3280,7 +3523,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3316,7 +3562,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3363,7 +3612,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3420,7 +3672,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3436,17 +3691,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3471,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3491,7 +3761,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3501,14 +3774,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3518,7 +3797,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3531,7 +3813,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3567,7 +3852,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3578,20 +3866,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3633,11 +3933,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3655,7 +3961,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3714,7 +4023,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3751,7 +4063,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3761,7 +4076,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3817,21 +4135,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,7 +4205,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3923,7 +4256,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3934,7 +4270,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3969,7 +4308,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4010,12 +4352,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4062,7 +4410,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4076,7 +4427,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4114,7 +4468,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4161,7 +4518,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4188,7 +4548,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4210,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4230,7 +4596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4240,7 +4609,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4277,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4306,7 +4681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4343,7 +4721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4362,12 +4743,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4417,7 +4804,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4427,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4480,7 +4873,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4489,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4538,7 +4937,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,11 +4975,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4624,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4663,7 +5074,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4684,7 +5098,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4724,7 +5141,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4741,7 +5161,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4772,7 +5195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4834,7 +5263,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4863,7 +5295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4903,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5361,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5384,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4976,7 +5420,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5040,7 +5487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5093,7 +5543,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5145,7 +5601,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5167,7 +5626,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5180,7 +5642,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5204,7 +5669,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5284,7 +5752,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5301,7 +5772,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5332,7 +5806,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5396,7 +5873,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5411,17 +5891,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonset.json b/v1.12.2-standalone-strict/daemonset.json index 565b135d2d..ea3411059f 100644 --- a/v1.12.2-standalone-strict/daemonset.json +++ b/v1.12.2-standalone-strict/daemonset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,12 +394,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +475,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +503,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -501,7 +540,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -541,7 +583,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -604,7 +649,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -690,7 +738,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -733,11 +784,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -789,7 +846,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1067,7 +1127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1164,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1266,7 +1332,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1363,7 +1432,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1403,7 +1475,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1485,7 +1560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1532,7 +1610,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1562,7 +1643,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1597,7 +1681,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1621,7 +1708,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1723,7 +1813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1759,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1845,7 +1941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1881,7 +1980,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1918,7 +2020,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1975,7 +2080,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2099,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2143,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2035,7 +2155,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2071,7 +2194,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2118,7 +2244,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2175,7 +2304,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2191,17 +2323,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2226,7 +2367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2235,7 +2379,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2246,7 +2393,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2256,14 +2406,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2273,7 +2429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2286,7 +2445,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2322,7 +2484,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2333,20 +2498,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2388,11 +2565,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2410,7 +2593,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2469,7 +2655,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2599,15 +2788,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2721,7 +2919,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2768,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2798,7 +3002,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2833,7 +3040,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2857,7 +3067,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2959,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2995,7 +3211,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3081,7 +3300,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3117,7 +3339,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3154,7 +3379,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3211,7 +3439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3227,17 +3458,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3262,7 +3502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3271,7 +3514,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3307,7 +3553,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3354,7 +3603,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3411,7 +3663,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3427,17 +3682,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3462,7 +3726,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3471,7 +3738,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3482,7 +3752,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3492,14 +3765,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3509,7 +3788,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3522,7 +3804,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3558,7 +3843,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3569,20 +3857,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3624,11 +3924,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3646,7 +3952,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3705,7 +4014,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3742,7 +4054,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3752,7 +4067,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3808,21 +4126,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3866,7 +4196,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3914,7 +4247,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3925,7 +4261,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3960,7 +4299,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4001,12 +4343,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4053,7 +4401,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4067,7 +4418,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4105,7 +4459,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4152,7 +4509,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4179,7 +4539,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4201,7 +4564,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4221,7 +4587,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4231,7 +4600,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4268,7 +4640,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4297,7 +4672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4334,7 +4712,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4353,12 +4734,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4408,7 +4795,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4418,7 +4808,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4471,7 +4864,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4480,7 +4876,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4529,7 +4928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4564,11 +4966,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4615,7 +5023,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4654,7 +5065,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4675,7 +5089,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4715,7 +5132,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4732,7 +5152,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4763,7 +5186,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5209,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4825,7 +5254,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4854,7 +5286,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4894,7 +5329,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4914,7 +5352,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4934,7 +5375,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4967,7 +5411,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5031,7 +5478,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5084,7 +5534,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5101,7 +5554,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5136,7 +5592,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5158,7 +5617,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5171,7 +5633,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5195,7 +5660,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5275,7 +5743,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5292,7 +5763,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5323,7 +5797,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5387,7 +5864,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5402,17 +5882,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetlist-apps-v1.json b/v1.12.2-standalone-strict/daemonsetlist-apps-v1.json index 2ea18f1627..0d01fb76a2 100644 --- a/v1.12.2-standalone-strict/daemonsetlist-apps-v1.json +++ b/v1.12.2-standalone-strict/daemonsetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,12 +423,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -452,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -496,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -530,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -636,7 +681,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -722,7 +770,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -765,11 +816,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -821,7 +878,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1099,7 +1159,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1196,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1298,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1395,7 +1464,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1507,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1564,7 +1642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1594,7 +1675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1629,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1653,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1755,7 +1845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1791,7 +1884,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1877,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1913,7 +2012,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1950,7 +2052,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2112,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2023,17 +2131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2058,7 +2175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2067,7 +2187,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2103,7 +2226,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2150,7 +2276,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2207,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2223,17 +2355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2258,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2267,7 +2411,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2278,7 +2425,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2288,14 +2438,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2305,7 +2461,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2318,7 +2477,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2354,7 +2516,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2365,20 +2530,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2420,11 +2597,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2442,7 +2625,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2501,7 +2687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2631,15 +2820,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2753,7 +2951,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2800,7 +3001,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2830,7 +3034,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2865,7 +3072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2889,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2991,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,7 +3243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3113,7 +3332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,7 +3371,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3186,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3243,7 +3471,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3259,17 +3490,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3294,7 +3534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3303,7 +3546,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3339,7 +3585,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3386,7 +3635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3443,7 +3695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3459,17 +3714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3494,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3503,7 +3770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3514,7 +3784,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3524,14 +3797,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3541,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3554,7 +3836,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3590,7 +3875,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3601,20 +3889,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3656,11 +3956,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3678,7 +3984,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3737,7 +4046,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3774,7 +4086,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3784,7 +4099,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3840,21 +4158,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3898,7 +4228,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3946,7 +4279,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3957,7 +4293,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3992,7 +4331,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4033,12 +4375,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4085,7 +4433,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4099,7 +4450,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4137,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4184,7 +4541,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4211,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4233,7 +4596,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4253,7 +4619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,7 +4632,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4300,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4329,7 +4704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4366,7 +4744,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4385,12 +4766,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4440,7 +4827,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4450,7 +4840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4503,7 +4896,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4512,7 +4908,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4596,11 +4998,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4647,7 +5055,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4686,7 +5097,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4707,7 +5121,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4747,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4764,7 +5184,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4795,7 +5218,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4815,7 +5241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4857,7 +5286,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4886,7 +5318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4926,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4946,7 +5384,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4966,7 +5407,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4999,7 +5443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5063,7 +5510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5566,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5586,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5168,7 +5624,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5190,7 +5649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5203,7 +5665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5227,7 +5692,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5351,7 +5822,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5415,7 +5889,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5430,17 +5907,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetlist-apps-v1beta2.json b/v1.12.2-standalone-strict/daemonsetlist-apps-v1beta2.json index b5de0d6e21..8c456872e8 100644 --- a/v1.12.2-standalone-strict/daemonsetlist-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/daemonsetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,12 +423,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -452,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -496,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -530,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -636,7 +681,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -722,7 +770,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -765,11 +816,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -821,7 +878,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1099,7 +1159,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1196,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1298,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1395,7 +1464,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1507,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1564,7 +1642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1594,7 +1675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1629,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1653,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1755,7 +1845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1791,7 +1884,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1877,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1913,7 +2012,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1950,7 +2052,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2112,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2023,17 +2131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2058,7 +2175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2067,7 +2187,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2103,7 +2226,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2150,7 +2276,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2207,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2223,17 +2355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2258,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2267,7 +2411,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2278,7 +2425,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2288,14 +2438,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2305,7 +2461,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2318,7 +2477,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2354,7 +2516,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2365,20 +2530,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2420,11 +2597,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2442,7 +2625,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2501,7 +2687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2631,15 +2820,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2753,7 +2951,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2800,7 +3001,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2830,7 +3034,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2865,7 +3072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2889,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2991,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,7 +3243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3113,7 +3332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,7 +3371,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3186,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3243,7 +3471,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3259,17 +3490,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3294,7 +3534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3303,7 +3546,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3339,7 +3585,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3386,7 +3635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3443,7 +3695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3459,17 +3714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3494,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3503,7 +3770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3514,7 +3784,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3524,14 +3797,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3541,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3554,7 +3836,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3590,7 +3875,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3601,20 +3889,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3656,11 +3956,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3678,7 +3984,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3737,7 +4046,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3774,7 +4086,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3784,7 +4099,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3840,21 +4158,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3898,7 +4228,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3946,7 +4279,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3957,7 +4293,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3992,7 +4331,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4033,12 +4375,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4085,7 +4433,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4099,7 +4450,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4137,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4184,7 +4541,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4211,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4233,7 +4596,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4253,7 +4619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,7 +4632,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4300,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4329,7 +4704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4366,7 +4744,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4385,12 +4766,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4440,7 +4827,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4450,7 +4840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4503,7 +4896,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4512,7 +4908,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4596,11 +4998,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4647,7 +5055,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4686,7 +5097,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4707,7 +5121,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4747,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4764,7 +5184,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4795,7 +5218,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4815,7 +5241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4857,7 +5286,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4886,7 +5318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4926,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4946,7 +5384,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4966,7 +5407,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4999,7 +5443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5063,7 +5510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5566,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5586,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5168,7 +5624,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5190,7 +5649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5203,7 +5665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5227,7 +5692,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5351,7 +5822,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5415,7 +5889,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5430,17 +5907,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetlist-extensions-v1beta1.json b/v1.12.2-standalone-strict/daemonsetlist-extensions-v1beta1.json index 02a4780bc4..1a668c529b 100644 --- a/v1.12.2-standalone-strict/daemonsetlist-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/daemonsetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -451,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -495,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -529,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5306,7 +5774,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5323,7 +5794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5354,7 +5828,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5418,7 +5895,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5433,17 +5913,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetlist.json b/v1.12.2-standalone-strict/daemonsetlist.json index 8fa138a9fb..80c6cf985e 100644 --- a/v1.12.2-standalone-strict/daemonsetlist.json +++ b/v1.12.2-standalone-strict/daemonsetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,12 +413,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -560,7 +602,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -709,7 +757,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -752,11 +803,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -808,7 +865,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1086,7 +1146,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1183,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1285,7 +1351,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1382,7 +1451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1422,7 +1494,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1504,7 +1579,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1551,7 +1629,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1581,7 +1662,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1616,7 +1700,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1727,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1742,7 +1832,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1864,7 +1960,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1900,7 +1999,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1937,7 +2039,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1994,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2010,17 +2118,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2045,7 +2162,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2054,7 +2174,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2090,7 +2213,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2137,7 +2263,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2194,7 +2323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2210,17 +2342,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2245,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2254,7 +2398,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2265,7 +2412,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2275,14 +2425,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2292,7 +2448,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2305,7 +2464,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2341,7 +2503,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2352,20 +2517,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2407,11 +2584,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2429,7 +2612,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2488,7 +2674,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2618,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2740,7 +2938,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2787,7 +2988,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2817,7 +3021,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2852,7 +3059,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2876,7 +3086,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2978,7 +3191,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3100,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3136,7 +3358,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3173,7 +3398,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3230,7 +3458,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3246,17 +3477,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3281,7 +3521,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3290,7 +3533,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3326,7 +3572,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3373,7 +3622,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3430,7 +3682,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3446,17 +3701,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3481,7 +3745,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3490,7 +3757,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3501,7 +3771,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3511,14 +3784,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3528,7 +3807,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3541,7 +3823,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3577,7 +3862,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3588,20 +3876,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3643,11 +3943,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3665,7 +3971,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3724,7 +4033,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3761,7 +4073,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3771,7 +4086,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3827,21 +4145,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3885,7 +4215,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3933,7 +4266,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3944,7 +4280,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3979,7 +4318,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4020,12 +4362,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4072,7 +4420,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4086,7 +4437,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4124,7 +4478,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4171,7 +4528,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4198,7 +4558,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4220,7 +4583,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4240,7 +4606,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4250,7 +4619,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4287,7 +4659,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4316,7 +4691,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4353,7 +4731,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4372,12 +4753,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4427,7 +4814,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4437,7 +4827,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4490,7 +4883,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4499,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4548,7 +4947,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4583,11 +4985,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4634,7 +5042,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4673,7 +5084,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4694,7 +5108,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4734,7 +5151,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4751,7 +5171,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4782,7 +5205,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4802,7 +5228,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4844,7 +5273,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4873,7 +5305,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4913,7 +5348,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4933,7 +5371,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4953,7 +5394,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4986,7 +5430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5050,7 +5497,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5103,7 +5553,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5120,7 +5573,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5155,7 +5611,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5177,7 +5636,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5190,7 +5652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5214,7 +5679,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5294,7 +5762,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5311,7 +5782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5342,7 +5816,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5406,7 +5883,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5421,17 +5901,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetspec-apps-v1.json b/v1.12.2-standalone-strict/daemonsetspec-apps-v1.json index c8568751ad..da81b96ac6 100644 --- a/v1.12.2-standalone-strict/daemonsetspec-apps-v1.json +++ b/v1.12.2-standalone-strict/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -60,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -138,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -181,7 +199,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -244,7 +265,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -330,7 +354,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -373,11 +400,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +462,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -707,7 +743,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +843,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -906,7 +948,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1048,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1043,7 +1091,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1125,7 +1176,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1172,7 +1226,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1202,7 +1259,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1237,7 +1297,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1261,7 +1324,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1363,7 +1429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1399,7 +1468,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1485,7 +1557,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1636,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1615,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1631,17 +1715,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1666,7 +1759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1675,7 +1771,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1711,7 +1810,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1758,7 +1860,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1815,7 +1920,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1831,17 +1939,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1866,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1995,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1886,7 +2009,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1896,14 +2022,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1913,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1926,7 +2061,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1962,7 +2100,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1973,20 +2114,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2028,11 +2181,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2050,7 +2209,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2109,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2239,15 +2404,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2361,7 +2535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2408,7 +2585,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2438,7 +2618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2473,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2497,7 +2683,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2599,7 +2788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2635,7 +2827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2721,7 +2916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2757,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2794,7 +2995,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2851,7 +3055,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2867,17 +3074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2902,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2911,7 +3130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2947,7 +3169,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2994,7 +3219,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3051,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3067,17 +3298,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3102,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3111,7 +3354,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3122,7 +3368,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3132,14 +3381,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3149,7 +3404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3162,7 +3420,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3198,7 +3459,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3209,20 +3473,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3264,11 +3540,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3286,7 +3568,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3345,7 +3630,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3382,7 +3670,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3392,7 +3683,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3448,21 +3742,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,7 +3812,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3554,7 +3863,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3565,7 +3877,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3600,7 +3915,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3641,12 +3959,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3693,7 +4017,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3707,7 +4034,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3745,7 +4075,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3792,7 +4125,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3819,7 +4155,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3841,7 +4180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3861,7 +4203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3871,7 +4216,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3908,7 +4256,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3937,7 +4288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3974,7 +4328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3993,12 +4350,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4048,7 +4411,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4058,7 +4424,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4111,7 +4480,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4120,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4169,7 +4544,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4204,11 +4582,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4255,7 +4639,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4294,7 +4681,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4315,7 +4705,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4355,7 +4748,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4372,7 +4768,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4403,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4423,7 +4825,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4465,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4494,7 +4902,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4534,7 +4945,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4554,7 +4968,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,7 +4991,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4607,7 +5027,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4671,7 +5094,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4724,7 +5150,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4741,7 +5170,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4776,7 +5208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4798,7 +5233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4811,7 +5249,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4835,7 +5276,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4928,7 +5372,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetspec-apps-v1beta2.json b/v1.12.2-standalone-strict/daemonsetspec-apps-v1beta2.json index c8568751ad..da81b96ac6 100644 --- a/v1.12.2-standalone-strict/daemonsetspec-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -60,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -138,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -181,7 +199,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -244,7 +265,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -330,7 +354,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -373,11 +400,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +462,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -707,7 +743,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +843,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -906,7 +948,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1048,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1043,7 +1091,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1125,7 +1176,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1172,7 +1226,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1202,7 +1259,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1237,7 +1297,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1261,7 +1324,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1363,7 +1429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1399,7 +1468,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1485,7 +1557,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1636,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1615,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1631,17 +1715,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1666,7 +1759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1675,7 +1771,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1711,7 +1810,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1758,7 +1860,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1815,7 +1920,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1831,17 +1939,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1866,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1995,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1886,7 +2009,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1896,14 +2022,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1913,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1926,7 +2061,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1962,7 +2100,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1973,20 +2114,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2028,11 +2181,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2050,7 +2209,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2109,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2239,15 +2404,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2361,7 +2535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2408,7 +2585,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2438,7 +2618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2473,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2497,7 +2683,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2599,7 +2788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2635,7 +2827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2721,7 +2916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2757,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2794,7 +2995,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2851,7 +3055,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2867,17 +3074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2902,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2911,7 +3130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2947,7 +3169,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2994,7 +3219,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3051,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3067,17 +3298,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3102,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3111,7 +3354,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3122,7 +3368,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3132,14 +3381,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3149,7 +3404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3162,7 +3420,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3198,7 +3459,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3209,20 +3473,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3264,11 +3540,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3286,7 +3568,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3345,7 +3630,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3382,7 +3670,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3392,7 +3683,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3448,21 +3742,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,7 +3812,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3554,7 +3863,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3565,7 +3877,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3600,7 +3915,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3641,12 +3959,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3693,7 +4017,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3707,7 +4034,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3745,7 +4075,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3792,7 +4125,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3819,7 +4155,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3841,7 +4180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3861,7 +4203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3871,7 +4216,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3908,7 +4256,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3937,7 +4288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3974,7 +4328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3993,12 +4350,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4048,7 +4411,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4058,7 +4424,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4111,7 +4480,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4120,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4169,7 +4544,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4204,11 +4582,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4255,7 +4639,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4294,7 +4681,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4315,7 +4705,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4355,7 +4748,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4372,7 +4768,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4403,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4423,7 +4825,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4465,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4494,7 +4902,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4534,7 +4945,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4554,7 +4968,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,7 +4991,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4607,7 +5027,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4671,7 +5094,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4724,7 +5150,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4741,7 +5170,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4776,7 +5208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4798,7 +5233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4811,7 +5249,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4835,7 +5276,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4928,7 +5372,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetspec-extensions-v1beta1.json b/v1.12.2-standalone-strict/daemonsetspec-extensions-v1beta1.json index 57b65d3529..28f6948774 100644 --- a/v1.12.2-standalone-strict/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -243,7 +264,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +353,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +399,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +461,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -706,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,7 +842,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -905,7 +947,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1002,7 +1047,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1042,7 +1090,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1171,7 +1225,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1201,7 +1258,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1236,7 +1296,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1260,7 +1323,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1362,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1398,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1484,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1520,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1557,7 +1635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1630,17 +1714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1674,7 +1770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1710,7 +1809,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1757,7 +1859,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,17 +1938,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1865,7 +1982,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1994,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1885,7 +2008,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2021,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2044,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1925,7 +2060,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1961,7 +2099,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1972,20 +2113,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2027,11 +2180,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2049,7 +2208,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2108,7 +2270,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2238,15 +2403,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2407,7 +2584,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2437,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2472,7 +2655,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2496,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2598,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2634,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2720,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2756,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2793,7 +2994,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2850,7 +3054,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2866,17 +3073,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2901,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2910,7 +3129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2946,7 +3168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2993,7 +3218,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3066,17 +3297,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3101,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3353,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3121,7 +3367,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3131,14 +3380,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3148,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3161,7 +3419,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3197,7 +3458,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3208,20 +3472,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3263,11 +3539,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3285,7 +3567,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3344,7 +3629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3381,7 +3669,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3391,7 +3682,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3447,21 +3741,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3505,7 +3811,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3553,7 +3862,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3564,7 +3876,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3599,7 +3914,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3640,12 +3958,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3692,7 +4016,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3706,7 +4033,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3744,7 +4074,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3791,7 +4124,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3860,7 +4202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3870,7 +4215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3936,7 +4287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3973,7 +4327,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3992,12 +4349,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4047,7 +4410,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4057,7 +4423,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4479,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4119,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4543,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4203,11 +4581,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4254,7 +4638,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4293,7 +4680,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4314,7 +4704,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4354,7 +4747,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4371,7 +4767,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4402,7 +4801,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4422,7 +4824,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4464,7 +4869,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4493,7 +4901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4533,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4967,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,7 +4990,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4606,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4740,7 +5169,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4775,7 +5207,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4797,7 +5232,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4810,7 +5248,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4834,7 +5275,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4914,7 +5358,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4931,7 +5378,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetspec.json b/v1.12.2-standalone-strict/daemonsetspec.json index 9d909f93af..94de603418 100644 --- a/v1.12.2-standalone-strict/daemonsetspec.json +++ b/v1.12.2-standalone-strict/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -326,7 +350,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -369,11 +396,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +458,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -703,7 +739,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -800,7 +839,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -902,7 +944,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -999,7 +1044,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1039,7 +1087,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1121,7 +1172,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1168,7 +1222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1198,7 +1255,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1233,7 +1293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1257,7 +1320,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1359,7 +1425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1395,7 +1464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1481,7 +1553,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1517,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1632,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1611,7 +1692,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1627,17 +1711,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1662,7 +1755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1671,7 +1767,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1707,7 +1806,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1754,7 +1856,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1811,7 +1916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1827,17 +1935,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1862,7 +1979,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1871,7 +1991,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1882,7 +2005,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1892,14 +2018,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,7 +2041,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1922,7 +2057,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1958,7 +2096,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1969,20 +2110,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2024,11 +2177,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2046,7 +2205,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2105,7 +2267,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2235,15 +2400,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2357,7 +2531,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2404,7 +2581,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2434,7 +2614,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2469,7 +2652,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2493,7 +2679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2595,7 +2784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2631,7 +2823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2717,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2753,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +2991,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2847,7 +3051,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2863,17 +3070,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2898,7 +3114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2907,7 +3126,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2943,7 +3165,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2990,7 +3215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3047,7 +3275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3063,17 +3294,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3098,7 +3338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3107,7 +3350,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3118,7 +3364,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3128,14 +3377,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3145,7 +3400,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3158,7 +3416,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3194,7 +3455,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3205,20 +3469,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3260,11 +3536,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3282,7 +3564,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3341,7 +3626,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3378,7 +3666,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3388,7 +3679,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3444,21 +3738,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3502,7 +3808,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3550,7 +3859,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3561,7 +3873,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3596,7 +3911,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3637,12 +3955,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3689,7 +4013,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3703,7 +4030,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3741,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3788,7 +4121,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3815,7 +4151,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3837,7 +4176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3857,7 +4199,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3867,7 +4212,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3904,7 +4252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3933,7 +4284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3970,7 +4324,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3989,12 +4346,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4044,7 +4407,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4054,7 +4420,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4107,7 +4476,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4116,7 +4488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4165,7 +4540,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4200,11 +4578,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4251,7 +4635,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4290,7 +4677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4311,7 +4701,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4351,7 +4744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4368,7 +4764,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4399,7 +4798,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4419,7 +4821,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4461,7 +4866,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4898,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4530,7 +4941,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4550,7 +4964,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4570,7 +4987,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4603,7 +5023,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4667,7 +5090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4720,7 +5146,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4737,7 +5166,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4772,7 +5204,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4794,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4807,7 +5245,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4831,7 +5272,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4911,7 +5355,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4928,7 +5375,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetstatus-apps-v1.json b/v1.12.2-standalone-strict/daemonsetstatus-apps-v1.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.2-standalone-strict/daemonsetstatus-apps-v1.json +++ b/v1.12.2-standalone-strict/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetstatus-apps-v1beta2.json b/v1.12.2-standalone-strict/daemonsetstatus-apps-v1beta2.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.2-standalone-strict/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetstatus-extensions-v1beta1.json b/v1.12.2-standalone-strict/daemonsetstatus-extensions-v1beta1.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.2-standalone-strict/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetstatus.json b/v1.12.2-standalone-strict/daemonsetstatus.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.2-standalone-strict/daemonsetstatus.json +++ b/v1.12.2-standalone-strict/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1.json b/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1.json index e0d6276b6f..89f7635279 100644 --- a/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1.json +++ b/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json b/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json index e0d6276b6f..89f7635279 100644 --- a/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json b/v1.12.2-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json index 20efe08ee7..9bce2081af 100644 --- a/v1.12.2-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/daemonsetupdatestrategy.json b/v1.12.2-standalone-strict/daemonsetupdatestrategy.json index 20efe08ee7..9bce2081af 100644 --- a/v1.12.2-standalone-strict/daemonsetupdatestrategy.json +++ b/v1.12.2-standalone-strict/daemonsetupdatestrategy.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/deleteoptions-meta-v1.json b/v1.12.2-standalone-strict/deleteoptions-meta-v1.json index 974e638e41..8769382966 100644 --- a/v1.12.2-standalone-strict/deleteoptions-meta-v1.json +++ b/v1.12.2-standalone-strict/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.2-standalone-strict/deleteoptions.json b/v1.12.2-standalone-strict/deleteoptions.json index 963800607c..a72eef2ace 100644 --- a/v1.12.2-standalone-strict/deleteoptions.json +++ b/v1.12.2-standalone-strict/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.2-standalone-strict/deployment-apps-v1.json b/v1.12.2-standalone-strict/deployment-apps-v1.json index 19138c3411..644898cbd0 100644 --- a/v1.12.2-standalone-strict/deployment-apps-v1.json +++ b/v1.12.2-standalone-strict/deployment-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,26 +401,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -444,7 +483,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -483,7 +528,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -533,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -567,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -610,7 +667,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -673,7 +733,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -759,7 +822,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -802,11 +868,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -858,7 +930,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1136,7 +1211,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1335,7 +1416,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1432,7 +1516,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1472,7 +1559,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1554,7 +1644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1601,7 +1694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1631,7 +1727,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1666,7 +1765,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1690,7 +1792,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1792,7 +1897,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1828,7 +1936,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1914,7 +2025,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1950,7 +2064,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1987,7 +2104,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2044,7 +2164,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2060,17 +2183,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2095,7 +2227,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2104,7 +2239,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2140,7 +2278,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2187,7 +2328,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2244,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2260,17 +2407,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2304,7 +2463,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2315,7 +2477,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2325,14 +2490,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2342,7 +2513,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2355,7 +2529,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2391,7 +2568,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2402,20 +2582,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2457,11 +2649,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2479,7 +2677,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2538,7 +2739,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2668,15 +2872,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2790,7 +3003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2837,7 +3053,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2867,7 +3086,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2902,7 +3124,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2926,7 +3151,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3028,7 +3256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3064,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3150,7 +3384,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3186,7 +3423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3223,8 +3463,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3280,7 +3523,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3296,17 +3542,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3331,7 +3586,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3340,7 +3598,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3376,7 +3637,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3423,7 +3687,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3480,7 +3747,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3496,17 +3766,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3540,7 +3822,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3551,7 +3836,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3561,14 +3849,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3578,7 +3872,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3591,7 +3888,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3627,7 +3927,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3638,20 +3941,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3693,11 +4008,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3715,7 +4036,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3774,7 +4098,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3811,7 +4138,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3821,7 +4151,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3877,21 +4210,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3935,7 +4280,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3983,7 +4331,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3994,7 +4345,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4029,7 +4383,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4070,12 +4427,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4122,7 +4485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4136,7 +4502,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4221,7 +4593,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4248,7 +4623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4270,7 +4648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4290,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4300,7 +4684,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4337,7 +4724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4366,7 +4756,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4403,7 +4796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4422,12 +4818,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4477,7 +4879,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4487,7 +4892,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4540,7 +4948,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4549,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4598,7 +5012,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,11 +5050,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4684,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4744,7 +5173,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4784,7 +5216,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4801,7 +5236,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4832,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4852,7 +5293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4894,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5370,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4963,7 +5413,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4983,7 +5436,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5003,7 +5459,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5036,7 +5495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5100,7 +5562,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5153,7 +5618,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5170,7 +5638,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5205,7 +5676,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5227,7 +5701,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5240,7 +5717,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5264,7 +5744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5350,12 +5833,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5417,27 +5906,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deployment-apps-v1beta1.json b/v1.12.2-standalone-strict/deployment-apps-v1beta1.json index 73b39bae34..2f636430da 100644 --- a/v1.12.2-standalone-strict/deployment-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/deployment-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,26 +400,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -403,7 +442,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -454,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -480,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -493,7 +541,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +569,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +597,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +634,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -620,7 +680,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -683,7 +746,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -769,7 +835,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -812,11 +881,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -868,7 +943,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1146,7 +1224,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1243,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1429,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1442,7 +1529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1482,7 +1572,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1564,7 +1657,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1611,7 +1707,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1641,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1676,7 +1778,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1700,7 +1805,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1802,7 +1910,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1838,7 +1949,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1960,7 +2077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1997,7 +2117,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2054,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2070,17 +2196,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2105,7 +2240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2114,7 +2252,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2150,7 +2291,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2197,7 +2341,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2254,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2270,17 +2420,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2305,7 +2464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2314,7 +2476,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2325,7 +2490,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2335,14 +2503,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2352,7 +2526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2365,7 +2542,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2401,7 +2581,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2412,20 +2595,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2467,11 +2662,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2489,7 +2690,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2548,7 +2752,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2678,15 +2885,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2800,7 +3016,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2847,7 +3066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2877,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2912,7 +3137,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2936,7 +3164,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3038,7 +3269,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3074,7 +3308,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3196,9 +3436,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3233,7 +3476,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3290,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3306,17 +3555,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3341,7 +3599,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3350,7 +3611,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3386,7 +3650,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3433,7 +3700,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3490,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3506,17 +3779,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3541,7 +3823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3550,7 +3835,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3561,7 +3849,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3571,14 +3862,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3588,7 +3885,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3601,7 +3901,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3637,7 +3940,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3648,20 +3954,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3703,11 +4021,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3725,7 +4049,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3784,7 +4111,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3821,7 +4151,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3831,7 +4164,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3887,21 +4223,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3945,7 +4293,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3993,7 +4344,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4004,7 +4358,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4039,7 +4396,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4080,12 +4440,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4132,7 +4498,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4146,7 +4515,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4184,7 +4556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4231,7 +4606,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4258,7 +4636,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4280,7 +4661,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4310,7 +4697,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4347,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4376,7 +4769,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4413,7 +4809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4432,12 +4831,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4487,7 +4892,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4497,7 +4905,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4550,7 +4961,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4559,7 +4973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4608,7 +5025,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,11 +5063,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4694,7 +5120,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4733,7 +5162,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4754,7 +5186,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4794,7 +5229,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4811,7 +5249,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4842,7 +5283,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4862,7 +5306,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4904,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4933,7 +5383,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4973,7 +5426,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4993,7 +5449,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5013,7 +5472,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5046,7 +5508,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5110,7 +5575,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5163,7 +5631,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5180,7 +5651,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5215,7 +5689,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5237,7 +5714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5250,7 +5730,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5274,7 +5757,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5360,12 +5846,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5427,27 +5919,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deployment-apps-v1beta2.json b/v1.12.2-standalone-strict/deployment-apps-v1beta2.json index a5e60d0deb..023adfdc84 100644 --- a/v1.12.2-standalone-strict/deployment-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/deployment-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,26 +401,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -444,7 +483,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -483,7 +528,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -533,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -567,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -610,7 +667,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -673,7 +733,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -759,7 +822,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -802,11 +868,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -858,7 +930,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1136,7 +1211,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1335,7 +1416,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1432,7 +1516,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1472,7 +1559,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1554,7 +1644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1601,7 +1694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1631,7 +1727,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1666,7 +1765,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1690,7 +1792,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1792,7 +1897,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1828,7 +1936,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1914,7 +2025,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1950,7 +2064,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1987,7 +2104,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2044,7 +2164,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2060,17 +2183,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2095,7 +2227,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2104,7 +2239,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2140,7 +2278,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2187,7 +2328,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2244,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2260,17 +2407,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2304,7 +2463,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2315,7 +2477,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2325,14 +2490,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2342,7 +2513,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2355,7 +2529,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2391,7 +2568,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2402,20 +2582,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2457,11 +2649,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2479,7 +2677,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2538,7 +2739,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2668,15 +2872,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2790,7 +3003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2837,7 +3053,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2867,7 +3086,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2902,7 +3124,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2926,7 +3151,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3028,7 +3256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3064,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3150,7 +3384,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3186,7 +3423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3223,8 +3463,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3280,7 +3523,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3296,17 +3542,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3331,7 +3586,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3340,7 +3598,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3376,7 +3637,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3423,7 +3687,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3480,7 +3747,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3496,17 +3766,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3540,7 +3822,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3551,7 +3836,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3561,14 +3849,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3578,7 +3872,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3591,7 +3888,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3627,7 +3927,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3638,20 +3941,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3693,11 +4008,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3715,7 +4036,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3774,7 +4098,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3811,7 +4138,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3821,7 +4151,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3877,21 +4210,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3935,7 +4280,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3983,7 +4331,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3994,7 +4345,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4029,7 +4383,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4070,12 +4427,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4122,7 +4485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4136,7 +4502,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4221,7 +4593,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4248,7 +4623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4270,7 +4648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4290,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4300,7 +4684,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4337,7 +4724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4366,7 +4756,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4403,7 +4796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4422,12 +4818,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4477,7 +4879,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4487,7 +4892,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4540,7 +4948,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4549,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4598,7 +5012,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,11 +5050,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4684,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4744,7 +5173,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4784,7 +5216,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4801,7 +5236,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4832,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4852,7 +5293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4894,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5370,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4963,7 +5413,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4983,7 +5436,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5003,7 +5459,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5036,7 +5495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5100,7 +5562,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5153,7 +5618,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5170,7 +5638,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5205,7 +5676,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5227,7 +5701,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5240,7 +5717,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5264,7 +5744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5350,12 +5833,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5417,27 +5906,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deployment-extensions-v1beta1.json b/v1.12.2-standalone-strict/deployment-extensions-v1beta1.json index ee59455af8..38de3b8756 100644 --- a/v1.12.2-standalone-strict/deployment-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/deployment-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,26 +400,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -403,7 +442,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -454,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -480,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -493,7 +541,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +569,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +597,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +634,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -620,7 +680,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -683,7 +746,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -769,7 +835,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -812,11 +881,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -868,7 +943,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1146,7 +1224,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1243,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1429,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1442,7 +1529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1482,7 +1572,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1564,7 +1657,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1611,7 +1707,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1641,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1676,7 +1778,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1700,7 +1805,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1802,7 +1910,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1838,7 +1949,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1960,7 +2077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1997,7 +2117,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2054,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2070,17 +2196,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2105,7 +2240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2114,7 +2252,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2150,7 +2291,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2197,7 +2341,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2254,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2270,17 +2420,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2305,7 +2464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2314,7 +2476,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2325,7 +2490,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2335,14 +2503,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2352,7 +2526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2365,7 +2542,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2401,7 +2581,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2412,20 +2595,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2467,11 +2662,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2489,7 +2690,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2548,7 +2752,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2678,15 +2885,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2800,7 +3016,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2847,7 +3066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2877,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2912,7 +3137,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2936,7 +3164,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3038,7 +3269,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3074,7 +3308,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3196,9 +3436,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3233,7 +3476,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3290,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3306,17 +3555,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3341,7 +3599,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3350,7 +3611,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3386,7 +3650,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3433,7 +3700,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3490,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3506,17 +3779,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3541,7 +3823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3550,7 +3835,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3561,7 +3849,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3571,14 +3862,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3588,7 +3885,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3601,7 +3901,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3637,7 +3940,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3648,20 +3954,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3703,11 +4021,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3725,7 +4049,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3784,7 +4111,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3821,7 +4151,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3831,7 +4164,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3887,21 +4223,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3945,7 +4293,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3993,7 +4344,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4004,7 +4358,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4039,7 +4396,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4080,12 +4440,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4132,7 +4498,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4146,7 +4515,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4184,7 +4556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4231,7 +4606,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4258,7 +4636,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4280,7 +4661,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4310,7 +4697,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4347,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4376,7 +4769,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4413,7 +4809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4432,12 +4831,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4487,7 +4892,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4497,7 +4905,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4550,7 +4961,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4559,7 +4973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4608,7 +5025,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,11 +5063,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4694,7 +5120,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4733,7 +5162,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4754,7 +5186,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4794,7 +5229,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4811,7 +5249,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4842,7 +5283,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4862,7 +5306,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4904,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4933,7 +5383,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4973,7 +5426,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4993,7 +5449,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5013,7 +5472,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5046,7 +5508,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5110,7 +5575,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5163,7 +5631,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5180,7 +5651,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5215,7 +5689,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5237,7 +5714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5250,7 +5730,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5274,7 +5757,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5360,12 +5846,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5427,27 +5919,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deployment.json b/v1.12.2-standalone-strict/deployment.json index 0cc2b6a20f..8f12c2b5e6 100644 --- a/v1.12.2-standalone-strict/deployment.json +++ b/v1.12.2-standalone-strict/deployment.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,26 +394,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -397,7 +436,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -448,7 +490,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -487,7 +535,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -512,7 +563,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -537,7 +591,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -571,7 +628,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -611,7 +671,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -674,7 +737,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -760,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -859,7 +934,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1234,7 +1315,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1336,7 +1420,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1433,7 +1520,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1473,7 +1563,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1555,7 +1648,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1602,7 +1698,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1632,7 +1731,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1667,7 +1769,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1691,7 +1796,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1793,7 +1901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1915,7 +2029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1951,7 +2068,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1988,7 +2108,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2045,7 +2168,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2061,17 +2187,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2096,7 +2231,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2105,7 +2243,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2141,7 +2282,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2188,7 +2332,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2245,7 +2392,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2261,17 +2411,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2296,7 +2455,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2305,7 +2467,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2316,7 +2481,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2326,14 +2494,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2343,7 +2517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2356,7 +2533,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2392,7 +2572,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2403,20 +2586,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2458,11 +2653,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2480,7 +2681,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2539,7 +2743,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2669,15 +2876,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2791,7 +3007,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2838,7 +3057,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2868,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2903,7 +3128,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2927,7 +3155,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3029,7 +3260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3065,7 +3299,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3151,7 +3388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3187,9 +3427,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3224,7 +3467,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3281,7 +3527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3297,17 +3546,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3332,7 +3590,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3341,7 +3602,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3377,7 +3641,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3424,7 +3691,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3481,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3497,17 +3770,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3532,7 +3814,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3541,7 +3826,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3552,7 +3840,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3562,14 +3853,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3579,7 +3876,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3592,7 +3892,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3628,7 +3931,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3639,20 +3945,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3694,11 +4012,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3716,7 +4040,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3775,7 +4102,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3812,7 +4142,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3822,7 +4155,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3878,21 +4214,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3936,7 +4284,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3984,7 +4335,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3995,7 +4349,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4030,7 +4387,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4071,12 +4431,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4123,7 +4489,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4137,7 +4506,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4175,7 +4547,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4222,7 +4597,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4249,7 +4627,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4271,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4291,7 +4675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4301,7 +4688,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4338,7 +4728,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4367,7 +4760,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4404,7 +4800,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4423,12 +4822,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4478,7 +4883,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4488,7 +4896,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4541,7 +4952,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4550,7 +4964,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4599,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4634,11 +5054,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4685,7 +5111,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4724,7 +5153,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4745,7 +5177,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4785,7 +5220,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4802,7 +5240,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4833,7 +5274,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4853,7 +5297,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4895,7 +5342,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4924,7 +5374,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4964,7 +5417,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4984,7 +5440,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5004,7 +5463,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5037,7 +5499,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5101,7 +5566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5154,7 +5622,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5171,7 +5642,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5206,7 +5680,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5228,7 +5705,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5241,7 +5721,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5265,7 +5748,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5351,12 +5837,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5418,27 +5910,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentlist-apps-v1.json b/v1.12.2-standalone-strict/deploymentlist-apps-v1.json index d0fa28171f..afa7081d43 100644 --- a/v1.12.2-standalone-strict/deploymentlist-apps-v1.json +++ b/v1.12.2-standalone-strict/deploymentlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,26 +423,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -466,7 +505,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -492,7 +534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -505,7 +550,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -530,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -555,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -589,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -632,7 +689,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -695,7 +755,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -781,7 +844,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -824,11 +890,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -880,7 +952,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1158,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1255,7 +1333,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1357,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1454,7 +1538,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1494,7 +1581,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1576,7 +1666,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1623,7 +1716,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1653,7 +1749,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1688,7 +1787,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1712,7 +1814,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1850,7 +1958,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1936,7 +2047,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1972,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2009,7 +2126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2066,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2082,17 +2205,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2117,7 +2249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2126,7 +2261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2162,7 +2300,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2209,7 +2350,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2266,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2282,17 +2429,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2317,7 +2473,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2326,7 +2485,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2337,7 +2499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2347,14 +2512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2364,7 +2535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2377,7 +2551,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2413,7 +2590,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2424,20 +2604,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2479,11 +2671,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2501,7 +2699,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2560,7 +2761,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2690,15 +2894,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2812,7 +3025,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2859,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2889,7 +3108,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2924,7 +3146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2948,7 +3173,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3086,7 +3317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3172,7 +3406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3208,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3245,8 +3485,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3302,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3318,17 +3564,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3353,7 +3608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3362,7 +3620,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3398,7 +3659,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3445,7 +3709,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3502,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3518,17 +3788,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3553,7 +3832,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3562,7 +3844,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3573,7 +3858,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3583,14 +3871,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3600,7 +3894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3613,7 +3910,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3649,7 +3949,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3660,20 +3963,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3715,11 +4030,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3737,7 +4058,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3796,7 +4120,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3833,7 +4160,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3843,7 +4173,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3899,21 +4232,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3957,7 +4302,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4005,7 +4353,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4016,7 +4367,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4051,7 +4405,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4092,12 +4449,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4144,7 +4507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4158,7 +4524,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4196,7 +4565,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4243,7 +4615,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4270,7 +4645,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4292,7 +4670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4312,7 +4693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4322,7 +4706,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4359,7 +4746,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4388,7 +4778,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4425,7 +4818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4444,12 +4840,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4499,7 +4901,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4509,7 +4914,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4562,7 +4970,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4571,7 +4982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4620,7 +5034,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4655,11 +5072,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4706,7 +5129,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4745,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4766,7 +5195,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4806,7 +5238,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4823,7 +5258,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4854,7 +5292,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4874,7 +5315,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4916,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5392,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4985,7 +5435,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5005,7 +5458,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5025,7 +5481,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5058,7 +5517,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5122,7 +5584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,7 +5640,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5192,7 +5660,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5227,7 +5698,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5249,7 +5723,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5262,7 +5739,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5286,7 +5766,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5372,12 +5855,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5439,27 +5928,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentlist-apps-v1beta1.json b/v1.12.2-standalone-strict/deploymentlist-apps-v1beta1.json index aa648d76c4..1d24f8fd6e 100644 --- a/v1.12.2-standalone-strict/deploymentlist-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentlist-apps-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,26 +422,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -425,7 +464,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -476,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -502,7 +547,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -515,7 +563,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -540,7 +591,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -565,7 +619,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -599,7 +656,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -642,7 +702,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -705,7 +768,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -791,7 +857,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -834,11 +903,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -890,7 +965,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1168,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1265,7 +1346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1367,7 +1451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1464,7 +1551,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1504,7 +1594,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1586,7 +1679,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1633,7 +1729,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1663,7 +1762,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1698,7 +1800,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1722,7 +1827,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1824,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1860,7 +1971,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1982,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2019,7 +2139,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2076,7 +2199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2092,17 +2218,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2127,7 +2262,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2136,7 +2274,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2172,7 +2313,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2219,7 +2363,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2276,7 +2423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2292,17 +2442,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2327,7 +2486,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2336,7 +2498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2347,7 +2512,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2357,14 +2525,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2374,7 +2548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2387,7 +2564,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2423,7 +2603,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2434,20 +2617,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2489,11 +2684,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2511,7 +2712,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2570,7 +2774,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2700,15 +2907,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2822,7 +3038,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2869,7 +3088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2899,7 +3121,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2934,7 +3159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2958,7 +3186,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3060,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3096,7 +3330,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3218,9 +3458,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3255,7 +3498,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3312,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3372,7 +3633,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3408,7 +3672,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3455,7 +3722,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3512,7 +3782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3528,17 +3801,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3563,7 +3845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3572,7 +3857,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3583,7 +3871,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3593,14 +3884,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3610,7 +3907,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3623,7 +3923,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3659,7 +3962,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3670,20 +3976,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3725,11 +4043,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3747,7 +4071,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3806,7 +4133,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3843,7 +4173,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3853,7 +4186,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3909,21 +4245,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3967,7 +4315,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4015,7 +4366,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4026,7 +4380,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4061,7 +4418,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4102,12 +4462,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4154,7 +4520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4537,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4206,7 +4578,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4253,7 +4628,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4280,7 +4658,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4302,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4322,7 +4706,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4332,7 +4719,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4369,7 +4759,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4791,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4435,7 +4831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4454,12 +4853,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4509,7 +4914,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4519,7 +4927,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4572,7 +4983,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4581,7 +4995,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4630,7 +5047,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4665,11 +5085,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4716,7 +5142,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5184,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4776,7 +5208,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4816,7 +5251,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4833,7 +5271,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4864,7 +5305,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4884,7 +5328,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4926,7 +5373,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4955,7 +5405,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4995,7 +5448,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5015,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5035,7 +5494,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5068,7 +5530,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5132,7 +5597,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5185,7 +5653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5202,7 +5673,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5237,7 +5711,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5259,7 +5736,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5272,7 +5752,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5296,7 +5779,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5382,12 +5868,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5449,27 +5941,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentlist-apps-v1beta2.json b/v1.12.2-standalone-strict/deploymentlist-apps-v1beta2.json index 5a53d6b86e..a446b3f27f 100644 --- a/v1.12.2-standalone-strict/deploymentlist-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/deploymentlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,26 +423,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -466,7 +505,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -492,7 +534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -505,7 +550,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -530,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -555,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -589,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -632,7 +689,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -695,7 +755,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -781,7 +844,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -824,11 +890,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -880,7 +952,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1158,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1255,7 +1333,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1357,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1454,7 +1538,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1494,7 +1581,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1576,7 +1666,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1623,7 +1716,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1653,7 +1749,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1688,7 +1787,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1712,7 +1814,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1850,7 +1958,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1936,7 +2047,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1972,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2009,7 +2126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2066,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2082,17 +2205,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2117,7 +2249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2126,7 +2261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2162,7 +2300,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2209,7 +2350,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2266,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2282,17 +2429,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2317,7 +2473,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2326,7 +2485,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2337,7 +2499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2347,14 +2512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2364,7 +2535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2377,7 +2551,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2413,7 +2590,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2424,20 +2604,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2479,11 +2671,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2501,7 +2699,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2560,7 +2761,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2690,15 +2894,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2812,7 +3025,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2859,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2889,7 +3108,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2924,7 +3146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2948,7 +3173,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3086,7 +3317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3172,7 +3406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3208,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3245,8 +3485,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3302,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3318,17 +3564,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3353,7 +3608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3362,7 +3620,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3398,7 +3659,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3445,7 +3709,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3502,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3518,17 +3788,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3553,7 +3832,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3562,7 +3844,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3573,7 +3858,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3583,14 +3871,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3600,7 +3894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3613,7 +3910,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3649,7 +3949,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3660,20 +3963,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3715,11 +4030,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3737,7 +4058,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3796,7 +4120,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3833,7 +4160,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3843,7 +4173,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3899,21 +4232,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3957,7 +4302,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4005,7 +4353,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4016,7 +4367,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4051,7 +4405,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4092,12 +4449,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4144,7 +4507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4158,7 +4524,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4196,7 +4565,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4243,7 +4615,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4270,7 +4645,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4292,7 +4670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4312,7 +4693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4322,7 +4706,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4359,7 +4746,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4388,7 +4778,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4425,7 +4818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4444,12 +4840,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4499,7 +4901,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4509,7 +4914,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4562,7 +4970,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4571,7 +4982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4620,7 +5034,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4655,11 +5072,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4706,7 +5129,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4745,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4766,7 +5195,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4806,7 +5238,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4823,7 +5258,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4854,7 +5292,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4874,7 +5315,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4916,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5392,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4985,7 +5435,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5005,7 +5458,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5025,7 +5481,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5058,7 +5517,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5122,7 +5584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,7 +5640,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5192,7 +5660,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5227,7 +5698,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5249,7 +5723,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5262,7 +5739,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5286,7 +5766,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5372,12 +5855,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5439,27 +5928,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentlist-extensions-v1beta1.json b/v1.12.2-standalone-strict/deploymentlist-extensions-v1beta1.json index 276400789e..ca1eea19b8 100644 --- a/v1.12.2-standalone-strict/deploymentlist-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,26 +422,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -425,7 +464,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -476,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -502,7 +547,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -515,7 +563,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -540,7 +591,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -565,7 +619,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -599,7 +656,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -642,7 +702,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -705,7 +768,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -791,7 +857,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -834,11 +903,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -890,7 +965,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1168,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1265,7 +1346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1367,7 +1451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1464,7 +1551,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1504,7 +1594,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1586,7 +1679,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1633,7 +1729,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1663,7 +1762,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1698,7 +1800,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1722,7 +1827,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1824,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1860,7 +1971,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1982,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2019,7 +2139,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2076,7 +2199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2092,17 +2218,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2127,7 +2262,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2136,7 +2274,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2172,7 +2313,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2219,7 +2363,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2276,7 +2423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2292,17 +2442,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2327,7 +2486,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2336,7 +2498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2347,7 +2512,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2357,14 +2525,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2374,7 +2548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2387,7 +2564,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2423,7 +2603,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2434,20 +2617,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2489,11 +2684,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2511,7 +2712,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2570,7 +2774,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2700,15 +2907,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2822,7 +3038,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2869,7 +3088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2899,7 +3121,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2934,7 +3159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2958,7 +3186,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3060,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3096,7 +3330,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3218,9 +3458,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3255,7 +3498,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3312,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3372,7 +3633,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3408,7 +3672,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3455,7 +3722,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3512,7 +3782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3528,17 +3801,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3563,7 +3845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3572,7 +3857,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3583,7 +3871,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3593,14 +3884,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3610,7 +3907,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3623,7 +3923,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3659,7 +3962,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3670,20 +3976,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3725,11 +4043,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3747,7 +4071,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3806,7 +4133,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3843,7 +4173,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3853,7 +4186,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3909,21 +4245,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3967,7 +4315,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4015,7 +4366,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4026,7 +4380,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4061,7 +4418,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4102,12 +4462,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4154,7 +4520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4537,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4206,7 +4578,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4253,7 +4628,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4280,7 +4658,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4302,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4322,7 +4706,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4332,7 +4719,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4369,7 +4759,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4791,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4435,7 +4831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4454,12 +4853,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4509,7 +4914,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4519,7 +4927,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4572,7 +4983,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4581,7 +4995,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4630,7 +5047,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4665,11 +5085,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4716,7 +5142,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5184,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4776,7 +5208,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4816,7 +5251,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4833,7 +5271,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4864,7 +5305,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4884,7 +5328,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4926,7 +5373,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4955,7 +5405,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4995,7 +5448,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5015,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5035,7 +5494,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5068,7 +5530,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5132,7 +5597,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5185,7 +5653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5202,7 +5673,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5237,7 +5711,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5259,7 +5736,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5272,7 +5752,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5296,7 +5779,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5382,12 +5868,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5449,27 +5941,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentlist.json b/v1.12.2-standalone-strict/deploymentlist.json index 548344071f..515dcf5f8c 100644 --- a/v1.12.2-standalone-strict/deploymentlist.json +++ b/v1.12.2-standalone-strict/deploymentlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,26 +413,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -416,7 +455,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -467,7 +509,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -493,7 +538,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -506,7 +554,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -531,7 +582,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -556,7 +610,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -590,7 +647,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -630,7 +690,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -693,7 +756,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -779,7 +845,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -822,11 +891,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -878,7 +953,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1156,7 +1234,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1253,7 +1334,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1355,7 +1439,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1452,7 +1539,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1492,7 +1582,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1574,7 +1667,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1621,7 +1717,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1651,7 +1750,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1686,7 +1788,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1710,7 +1815,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1812,7 +1920,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1848,7 +1959,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1970,7 +2087,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2007,7 +2127,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2064,7 +2187,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2080,17 +2206,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2115,7 +2250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2124,7 +2262,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2160,7 +2301,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2207,7 +2351,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2264,7 +2411,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2280,17 +2430,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2315,7 +2474,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2324,7 +2486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2335,7 +2500,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2345,14 +2513,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2362,7 +2536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2375,7 +2552,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2411,7 +2591,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2422,20 +2605,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2477,11 +2672,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2499,7 +2700,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2558,7 +2762,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2688,15 +2895,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2810,7 +3026,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2857,7 +3076,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2887,7 +3109,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2922,7 +3147,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2946,7 +3174,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3048,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3084,7 +3318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3407,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3206,9 +3446,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3243,7 +3486,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3300,7 +3546,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3316,17 +3565,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3351,7 +3609,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3360,7 +3621,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3396,7 +3660,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3443,7 +3710,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3500,7 +3770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3516,17 +3789,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3551,7 +3833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3560,7 +3845,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3571,7 +3859,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3581,14 +3872,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3598,7 +3895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3611,7 +3911,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3647,7 +3950,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3658,20 +3964,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3713,11 +4031,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3735,7 +4059,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3794,7 +4121,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3831,7 +4161,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3841,7 +4174,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3897,21 +4233,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3955,7 +4303,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4003,7 +4354,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4014,7 +4368,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4049,7 +4406,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4090,12 +4450,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4142,7 +4508,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4156,7 +4525,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4194,7 +4566,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4241,7 +4616,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4268,7 +4646,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4310,7 +4694,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4320,7 +4707,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4357,7 +4747,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4386,7 +4779,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4423,7 +4819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4442,12 +4841,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4497,7 +4902,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4507,7 +4915,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4971,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4569,7 +4983,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4618,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4653,11 +5073,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4704,7 +5130,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4743,7 +5172,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4764,7 +5196,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4804,7 +5239,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4821,7 +5259,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4852,7 +5293,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4872,7 +5316,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4914,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4943,7 +5393,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4983,7 +5436,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5003,7 +5459,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5023,7 +5482,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5056,7 +5518,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5120,7 +5585,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5173,7 +5641,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5190,7 +5661,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5225,7 +5699,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5247,7 +5724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5260,7 +5740,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5284,7 +5767,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5370,12 +5856,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5437,27 +5929,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentrollback-apps-v1beta1.json b/v1.12.2-standalone-strict/deploymentrollback-apps-v1beta1.json index 50ac743646..bb1b4abb3a 100644 --- a/v1.12.2-standalone-strict/deploymentrollback-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentrollback-apps-v1beta1.json @@ -37,7 +37,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -45,7 +48,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/deploymentrollback-extensions-v1beta1.json b/v1.12.2-standalone-strict/deploymentrollback-extensions-v1beta1.json index 605344678c..491965c188 100644 --- a/v1.12.2-standalone-strict/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentrollback-extensions-v1beta1.json @@ -37,7 +37,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -45,7 +48,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/deploymentrollback.json b/v1.12.2-standalone-strict/deploymentrollback.json index 0a04063e9b..46752cdfad 100644 --- a/v1.12.2-standalone-strict/deploymentrollback.json +++ b/v1.12.2-standalone-strict/deploymentrollback.json @@ -34,7 +34,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -42,7 +45,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/deploymentspec-apps-v1.json b/v1.12.2-standalone-strict/deploymentspec-apps-v1.json index cd274f0353..456f08744a 100644 --- a/v1.12.2-standalone-strict/deploymentspec-apps-v1.json +++ b/v1.12.2-standalone-strict/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -74,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -138,7 +162,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -163,7 +190,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -197,7 +227,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -240,7 +273,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -303,7 +339,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -389,7 +428,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,11 +474,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -488,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -766,7 +817,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -863,7 +917,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -965,7 +1022,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1122,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1102,7 +1165,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1184,7 +1250,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1231,7 +1300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1261,7 +1333,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1296,7 +1371,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1320,7 +1398,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1422,7 +1503,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1458,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1544,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1580,7 +1670,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1617,7 +1710,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1674,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1690,17 +1789,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1725,7 +1833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1734,7 +1845,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1770,7 +1884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1817,7 +1934,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1874,7 +1994,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,17 +2013,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1925,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2069,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1945,7 +2083,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1955,14 +2096,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1972,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1985,7 +2135,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2021,7 +2174,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2032,20 +2188,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2087,11 +2255,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2109,7 +2283,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2168,7 +2345,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2298,15 +2478,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2420,7 +2609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2467,7 +2659,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2497,7 +2692,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2532,7 +2730,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2556,7 +2757,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2658,7 +2862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2694,7 +2901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2780,7 +2990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2816,7 +3029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2853,7 +3069,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2910,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2926,17 +3148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2961,7 +3192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2970,7 +3204,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3006,7 +3243,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3053,7 +3293,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3110,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,17 +3372,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3161,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3428,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3181,7 +3442,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3191,14 +3455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3208,7 +3478,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3221,7 +3494,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3257,7 +3533,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3268,20 +3547,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3323,11 +3614,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3345,7 +3642,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3404,7 +3704,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3441,7 +3744,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3451,7 +3757,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3507,21 +3816,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3565,7 +3886,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3613,7 +3937,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3624,7 +3951,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3659,7 +3989,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3700,12 +4033,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3752,7 +4091,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3766,7 +4108,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3804,7 +4149,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3851,7 +4199,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3878,7 +4229,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3900,7 +4254,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3920,7 +4277,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3930,7 +4290,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3967,7 +4330,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3996,7 +4362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4033,7 +4402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4052,12 +4424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4107,7 +4485,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4117,7 +4498,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4170,7 +4554,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4179,7 +4566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4618,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,11 +4656,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4314,7 +4713,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4353,7 +4755,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4374,7 +4779,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4414,7 +4822,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4431,7 +4842,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4462,7 +4876,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4482,7 +4899,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4976,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4593,7 +5019,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5042,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,7 +5065,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4666,7 +5101,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4730,7 +5168,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4783,7 +5224,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4800,7 +5244,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4835,7 +5282,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4857,7 +5307,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5323,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4894,7 +5350,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/deploymentspec-apps-v1beta1.json b/v1.12.2-standalone-strict/deploymentspec-apps-v1beta1.json index 3915b11d94..ca888881ca 100644 --- a/v1.12.2-standalone-strict/deploymentspec-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -84,7 +102,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +131,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -148,7 +175,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -173,7 +203,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -207,7 +240,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -250,7 +286,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -313,7 +352,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -399,7 +441,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,11 +487,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -498,7 +549,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -776,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -873,7 +930,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -975,7 +1035,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1072,7 +1135,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1112,7 +1178,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1194,7 +1263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1241,7 +1313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1271,7 +1346,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1306,7 +1384,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1330,7 +1411,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1432,7 +1516,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1590,7 +1683,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1627,7 +1723,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1684,7 +1783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,17 +1802,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1735,7 +1846,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1744,7 +1858,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1780,7 +1897,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1827,7 +1947,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1884,7 +2007,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1900,17 +2026,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1935,7 +2070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1944,7 +2082,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1955,7 +2096,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1965,14 +2109,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1982,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1995,7 +2148,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2031,7 +2187,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2042,20 +2201,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2097,11 +2268,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2119,7 +2296,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2178,7 +2358,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2308,15 +2491,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2430,7 +2622,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2477,7 +2672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2507,7 +2705,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2542,7 +2743,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2566,7 +2770,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2668,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2826,7 +3042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2863,7 +3082,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2920,7 +3142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2936,17 +3161,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2971,7 +3205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2980,7 +3217,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3016,7 +3256,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3063,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3120,7 +3366,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3136,17 +3385,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3171,7 +3429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3180,7 +3441,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3191,7 +3455,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3201,14 +3468,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3218,7 +3491,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3231,7 +3507,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3267,7 +3546,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3278,20 +3560,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3333,11 +3627,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3355,7 +3655,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3414,7 +3717,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3451,7 +3757,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3461,7 +3770,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3517,21 +3829,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3575,7 +3899,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3623,7 +3950,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3634,7 +3964,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3669,7 +4002,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3710,12 +4046,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3762,7 +4104,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3776,7 +4121,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3814,7 +4162,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3861,7 +4212,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3888,7 +4242,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3910,7 +4267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3930,7 +4290,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3940,7 +4303,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3977,7 +4343,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4006,7 +4375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4043,7 +4415,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4062,12 +4437,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4117,7 +4498,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4180,7 +4567,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4189,7 +4579,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4238,7 +4631,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4273,11 +4669,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4324,7 +4726,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4384,7 +4792,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4424,7 +4835,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4441,7 +4855,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4472,7 +4889,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4492,7 +4912,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,7 +4957,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4563,7 +4989,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4603,7 +5032,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4623,7 +5055,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,7 +5078,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4676,7 +5114,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4740,7 +5181,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4793,7 +5237,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4810,7 +5257,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4845,7 +5295,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4867,7 +5320,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4880,7 +5336,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4904,7 +5363,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/deploymentspec-apps-v1beta2.json b/v1.12.2-standalone-strict/deploymentspec-apps-v1beta2.json index cd274f0353..456f08744a 100644 --- a/v1.12.2-standalone-strict/deploymentspec-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -74,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -138,7 +162,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -163,7 +190,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -197,7 +227,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -240,7 +273,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -303,7 +339,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -389,7 +428,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,11 +474,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -488,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -766,7 +817,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -863,7 +917,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -965,7 +1022,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1122,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1102,7 +1165,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1184,7 +1250,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1231,7 +1300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1261,7 +1333,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1296,7 +1371,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1320,7 +1398,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1422,7 +1503,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1458,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1544,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1580,7 +1670,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1617,7 +1710,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1674,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1690,17 +1789,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1725,7 +1833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1734,7 +1845,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1770,7 +1884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1817,7 +1934,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1874,7 +1994,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,17 +2013,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1925,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2069,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1945,7 +2083,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1955,14 +2096,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1972,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1985,7 +2135,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2021,7 +2174,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2032,20 +2188,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2087,11 +2255,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2109,7 +2283,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2168,7 +2345,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2298,15 +2478,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2420,7 +2609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2467,7 +2659,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2497,7 +2692,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2532,7 +2730,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2556,7 +2757,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2658,7 +2862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2694,7 +2901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2780,7 +2990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2816,7 +3029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2853,7 +3069,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2910,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2926,17 +3148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2961,7 +3192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2970,7 +3204,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3006,7 +3243,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3053,7 +3293,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3110,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,17 +3372,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3161,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3428,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3181,7 +3442,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3191,14 +3455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3208,7 +3478,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3221,7 +3494,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3257,7 +3533,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3268,20 +3547,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3323,11 +3614,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3345,7 +3642,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3404,7 +3704,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3441,7 +3744,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3451,7 +3757,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3507,21 +3816,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3565,7 +3886,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3613,7 +3937,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3624,7 +3951,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3659,7 +3989,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3700,12 +4033,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3752,7 +4091,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3766,7 +4108,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3804,7 +4149,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3851,7 +4199,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3878,7 +4229,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3900,7 +4254,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3920,7 +4277,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3930,7 +4290,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3967,7 +4330,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3996,7 +4362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4033,7 +4402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4052,12 +4424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4107,7 +4485,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4117,7 +4498,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4170,7 +4554,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4179,7 +4566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4618,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,11 +4656,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4314,7 +4713,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4353,7 +4755,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4374,7 +4779,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4414,7 +4822,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4431,7 +4842,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4462,7 +4876,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4482,7 +4899,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4976,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4593,7 +5019,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5042,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,7 +5065,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4666,7 +5101,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4730,7 +5168,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4783,7 +5224,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4800,7 +5244,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4835,7 +5282,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4857,7 +5307,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5323,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4894,7 +5350,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/deploymentspec-extensions-v1beta1.json b/v1.12.2-standalone-strict/deploymentspec-extensions-v1beta1.json index c432bf4e85..2b901624d2 100644 --- a/v1.12.2-standalone-strict/deploymentspec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -84,7 +102,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +131,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -148,7 +175,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -173,7 +203,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -207,7 +240,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -250,7 +286,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -313,7 +352,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -399,7 +441,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,11 +487,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -498,7 +549,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -776,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -873,7 +930,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -975,7 +1035,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1072,7 +1135,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1112,7 +1178,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1194,7 +1263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1241,7 +1313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1271,7 +1346,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1306,7 +1384,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1330,7 +1411,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1432,7 +1516,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1590,7 +1683,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1627,7 +1723,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1684,7 +1783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,17 +1802,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1735,7 +1846,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1744,7 +1858,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1780,7 +1897,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1827,7 +1947,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1884,7 +2007,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1900,17 +2026,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1935,7 +2070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1944,7 +2082,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1955,7 +2096,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1965,14 +2109,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1982,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1995,7 +2148,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2031,7 +2187,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2042,20 +2201,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2097,11 +2268,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2119,7 +2296,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2178,7 +2358,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2308,15 +2491,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2430,7 +2622,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2477,7 +2672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2507,7 +2705,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2542,7 +2743,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2566,7 +2770,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2668,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2826,7 +3042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2863,7 +3082,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2920,7 +3142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2936,17 +3161,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2971,7 +3205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2980,7 +3217,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3016,7 +3256,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3063,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3120,7 +3366,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3136,17 +3385,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3171,7 +3429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3180,7 +3441,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3191,7 +3455,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3201,14 +3468,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3218,7 +3491,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3231,7 +3507,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3267,7 +3546,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3278,20 +3560,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3333,11 +3627,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3355,7 +3655,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3414,7 +3717,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3451,7 +3757,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3461,7 +3770,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3517,21 +3829,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3575,7 +3899,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3623,7 +3950,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3634,7 +3964,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3669,7 +4002,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3710,12 +4046,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3762,7 +4104,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3776,7 +4121,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3814,7 +4162,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3861,7 +4212,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3888,7 +4242,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3910,7 +4267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3930,7 +4290,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3940,7 +4303,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3977,7 +4343,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4006,7 +4375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4043,7 +4415,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4062,12 +4437,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4117,7 +4498,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4180,7 +4567,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4189,7 +4579,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4238,7 +4631,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4273,11 +4669,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4324,7 +4726,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4384,7 +4792,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4424,7 +4835,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4441,7 +4855,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4472,7 +4889,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4492,7 +4912,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,7 +4957,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4563,7 +4989,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4603,7 +5032,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4623,7 +5055,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,7 +5078,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4676,7 +5114,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4740,7 +5181,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4793,7 +5237,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4810,7 +5257,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4845,7 +5295,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4867,7 +5320,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4880,7 +5336,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4904,7 +5363,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/deploymentspec.json b/v1.12.2-standalone-strict/deploymentspec.json index f9bc39beec..5a4d47856b 100644 --- a/v1.12.2-standalone-strict/deploymentspec.json +++ b/v1.12.2-standalone-strict/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -84,7 +102,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +131,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -148,7 +175,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -173,7 +203,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -207,7 +240,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -247,7 +283,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -310,7 +349,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -396,7 +438,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,11 +484,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -495,7 +546,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -773,7 +827,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -870,7 +927,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -972,7 +1032,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1069,7 +1132,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1109,7 +1175,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1191,7 +1260,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1238,7 +1310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1268,7 +1343,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1303,7 +1381,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1327,7 +1408,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1429,7 +1513,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1465,7 +1552,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1551,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1587,7 +1680,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1624,7 +1720,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1681,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1697,17 +1799,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1732,7 +1843,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1741,7 +1855,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1777,7 +1894,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1824,7 +1944,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1881,7 +2004,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1897,17 +2023,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1932,7 +2067,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1941,7 +2079,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1952,7 +2093,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1962,14 +2106,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1979,7 +2129,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1992,7 +2145,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2028,7 +2184,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2039,20 +2198,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2094,11 +2265,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2116,7 +2293,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2175,7 +2355,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2305,15 +2488,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2427,7 +2619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2474,7 +2669,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2504,7 +2702,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2539,7 +2740,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2563,7 +2767,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2665,7 +2872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2701,7 +2911,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2787,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2823,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2860,7 +3079,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2917,7 +3139,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2933,17 +3158,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2968,7 +3202,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2977,7 +3214,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3013,7 +3253,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3060,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3117,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3133,17 +3382,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3168,7 +3426,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3438,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3188,7 +3452,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3198,14 +3465,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3215,7 +3488,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3228,7 +3504,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3264,7 +3543,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3275,20 +3557,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3330,11 +3624,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3352,7 +3652,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3411,7 +3714,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3448,7 +3754,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3458,7 +3767,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3514,21 +3826,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3572,7 +3896,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3620,7 +3947,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3631,7 +3961,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3666,7 +3999,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3707,12 +4043,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3759,7 +4101,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3773,7 +4118,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3811,7 +4159,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3858,7 +4209,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3885,7 +4239,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4264,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3927,7 +4287,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3937,7 +4300,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3974,7 +4340,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4003,7 +4372,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4040,7 +4412,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4059,12 +4434,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4114,7 +4495,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4124,7 +4508,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4177,7 +4564,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4186,7 +4576,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4235,7 +4628,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4270,11 +4666,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4321,7 +4723,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4360,7 +4765,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4381,7 +4789,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4421,7 +4832,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4438,7 +4852,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4469,7 +4886,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4489,7 +4909,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4531,7 +4954,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4560,7 +4986,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4600,7 +5029,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4620,7 +5052,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4640,7 +5075,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4673,7 +5111,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4737,7 +5178,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4790,7 +5234,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4807,7 +5254,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4842,7 +5292,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4864,7 +5317,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4877,7 +5333,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4901,7 +5360,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/deploymentstatus-apps-v1.json b/v1.12.2-standalone-strict/deploymentstatus-apps-v1.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.2-standalone-strict/deploymentstatus-apps-v1.json +++ b/v1.12.2-standalone-strict/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta1.json b/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta1.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta2.json b/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta2.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentstatus-extensions-v1beta1.json b/v1.12.2-standalone-strict/deploymentstatus-extensions-v1beta1.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.2-standalone-strict/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentstatus.json b/v1.12.2-standalone-strict/deploymentstatus.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.2-standalone-strict/deploymentstatus.json +++ b/v1.12.2-standalone-strict/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/deploymentstrategy-apps-v1.json b/v1.12.2-standalone-strict/deploymentstrategy-apps-v1.json index b84e04b765..919caea7cd 100644 --- a/v1.12.2-standalone-strict/deploymentstrategy-apps-v1.json +++ b/v1.12.2-standalone-strict/deploymentstrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta1.json b/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta1.json index b84e04b765..919caea7cd 100644 --- a/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta2.json b/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta2.json index b84e04b765..919caea7cd 100644 --- a/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/deploymentstrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/deploymentstrategy-extensions-v1beta1.json b/v1.12.2-standalone-strict/deploymentstrategy-extensions-v1beta1.json index b84e04b765..919caea7cd 100644 --- a/v1.12.2-standalone-strict/deploymentstrategy-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/deploymentstrategy-extensions-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/deploymentstrategy.json b/v1.12.2-standalone-strict/deploymentstrategy.json index b84e04b765..919caea7cd 100644 --- a/v1.12.2-standalone-strict/deploymentstrategy.json +++ b/v1.12.2-standalone-strict/deploymentstrategy.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/downwardapiprojection-v1.json b/v1.12.2-standalone-strict/downwardapiprojection-v1.json index 8ffc8fc1db..972bd17f49 100644 --- a/v1.12.2-standalone-strict/downwardapiprojection-v1.json +++ b/v1.12.2-standalone-strict/downwardapiprojection-v1.json @@ -35,7 +35,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -64,7 +67,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/downwardapiprojection.json b/v1.12.2-standalone-strict/downwardapiprojection.json index 8ffc8fc1db..972bd17f49 100644 --- a/v1.12.2-standalone-strict/downwardapiprojection.json +++ b/v1.12.2-standalone-strict/downwardapiprojection.json @@ -35,7 +35,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -64,7 +67,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/downwardapivolumefile-v1.json b/v1.12.2-standalone-strict/downwardapivolumefile-v1.json index 22a9031813..37c9b950c3 100644 --- a/v1.12.2-standalone-strict/downwardapivolumefile-v1.json +++ b/v1.12.2-standalone-strict/downwardapivolumefile-v1.json @@ -26,7 +26,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -58,7 +61,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/downwardapivolumefile.json b/v1.12.2-standalone-strict/downwardapivolumefile.json index 22a9031813..37c9b950c3 100644 --- a/v1.12.2-standalone-strict/downwardapivolumefile.json +++ b/v1.12.2-standalone-strict/downwardapivolumefile.json @@ -26,7 +26,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -58,7 +61,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/downwardapivolumesource-v1.json b/v1.12.2-standalone-strict/downwardapivolumesource-v1.json index 97fec255f2..5b63ded5c1 100644 --- a/v1.12.2-standalone-strict/downwardapivolumesource-v1.json +++ b/v1.12.2-standalone-strict/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -69,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/downwardapivolumesource.json b/v1.12.2-standalone-strict/downwardapivolumesource.json index 97fec255f2..5b63ded5c1 100644 --- a/v1.12.2-standalone-strict/downwardapivolumesource.json +++ b/v1.12.2-standalone-strict/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -69,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/emptydirvolumesource-v1.json b/v1.12.2-standalone-strict/emptydirvolumesource-v1.json index 69b59fb5c0..2bfde38a9f 100644 --- a/v1.12.2-standalone-strict/emptydirvolumesource-v1.json +++ b/v1.12.2-standalone-strict/emptydirvolumesource-v1.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/emptydirvolumesource.json b/v1.12.2-standalone-strict/emptydirvolumesource.json index 69b59fb5c0..2bfde38a9f 100644 --- a/v1.12.2-standalone-strict/emptydirvolumesource.json +++ b/v1.12.2-standalone-strict/emptydirvolumesource.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/endpointport-v1.json b/v1.12.2-standalone-strict/endpointport-v1.json index 6c1c58dd80..2be3540f74 100644 --- a/v1.12.2-standalone-strict/endpointport-v1.json +++ b/v1.12.2-standalone-strict/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-standalone-strict/endpointport.json b/v1.12.2-standalone-strict/endpointport.json index 6c1c58dd80..2be3540f74 100644 --- a/v1.12.2-standalone-strict/endpointport.json +++ b/v1.12.2-standalone-strict/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-standalone-strict/endpoints-v1.json b/v1.12.2-standalone-strict/endpoints-v1.json index 7af0151ac7..b03ba5aef5 100644 --- a/v1.12.2-standalone-strict/endpoints-v1.json +++ b/v1.12.2-standalone-strict/endpoints-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/endpoints.json b/v1.12.2-standalone-strict/endpoints.json index d8d485212b..a8a947ebf8 100644 --- a/v1.12.2-standalone-strict/endpoints.json +++ b/v1.12.2-standalone-strict/endpoints.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/endpointslist-v1.json b/v1.12.2-standalone-strict/endpointslist-v1.json index 0651c5ff1f..08dceead3b 100644 --- a/v1.12.2-standalone-strict/endpointslist-v1.json +++ b/v1.12.2-standalone-strict/endpointslist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/endpointslist.json b/v1.12.2-standalone-strict/endpointslist.json index 7883adb9c4..9bf58d9f03 100644 --- a/v1.12.2-standalone-strict/endpointslist.json +++ b/v1.12.2-standalone-strict/endpointslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/envfromsource-v1.json b/v1.12.2-standalone-strict/envfromsource-v1.json index 288a04d06f..d5d6c1ccd4 100644 --- a/v1.12.2-standalone-strict/envfromsource-v1.json +++ b/v1.12.2-standalone-strict/envfromsource-v1.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -37,7 +40,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/envfromsource.json b/v1.12.2-standalone-strict/envfromsource.json index 288a04d06f..d5d6c1ccd4 100644 --- a/v1.12.2-standalone-strict/envfromsource.json +++ b/v1.12.2-standalone-strict/envfromsource.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -37,7 +40,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/envvar-v1.json b/v1.12.2-standalone-strict/envvar-v1.json index be552af4c2..4943d39895 100644 --- a/v1.12.2-standalone-strict/envvar-v1.json +++ b/v1.12.2-standalone-strict/envvar-v1.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -87,7 +90,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +123,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/envvar.json b/v1.12.2-standalone-strict/envvar.json index be552af4c2..4943d39895 100644 --- a/v1.12.2-standalone-strict/envvar.json +++ b/v1.12.2-standalone-strict/envvar.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -87,7 +90,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +123,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/envvarsource-v1.json b/v1.12.2-standalone-strict/envvarsource-v1.json index 1ed85f323b..0ddf637312 100644 --- a/v1.12.2-standalone-strict/envvarsource-v1.json +++ b/v1.12.2-standalone-strict/envvarsource-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -67,7 +70,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -97,7 +103,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/envvarsource.json b/v1.12.2-standalone-strict/envvarsource.json index 1ed85f323b..0ddf637312 100644 --- a/v1.12.2-standalone-strict/envvarsource.json +++ b/v1.12.2-standalone-strict/envvarsource.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -67,7 +70,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -97,7 +103,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.2-standalone-strict/event-events-v1beta1.json b/v1.12.2-standalone-strict/event-events-v1beta1.json index 6806fadbbc..385fb3339d 100644 --- a/v1.12.2-standalone-strict/event-events-v1beta1.json +++ b/v1.12.2-standalone-strict/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -85,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -144,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -187,7 +199,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -250,7 +265,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -336,7 +354,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,11 +400,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/event-v1.json b/v1.12.2-standalone-strict/event-v1.json index 551b64b81c..e91c137192 100644 --- a/v1.12.2-standalone-strict/event-v1.json +++ b/v1.12.2-standalone-strict/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -128,7 +131,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -153,7 +159,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -187,7 +196,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -230,7 +242,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -293,7 +308,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -379,7 +397,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -422,11 +443,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -551,7 +578,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone-strict/event.json b/v1.12.2-standalone-strict/event.json index 13fc4d747a..d1ad67ffae 100644 --- a/v1.12.2-standalone-strict/event.json +++ b/v1.12.2-standalone-strict/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -82,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -141,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -181,7 +193,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -244,7 +259,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -330,7 +348,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -373,11 +394,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/eventlist-events-v1beta1.json b/v1.12.2-standalone-strict/eventlist-events-v1beta1.json index 43bb5f1f69..ba16feb274 100644 --- a/v1.12.2-standalone-strict/eventlist-events-v1beta1.json +++ b/v1.12.2-standalone-strict/eventlist-events-v1beta1.json @@ -45,7 +45,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -104,7 +107,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -129,7 +135,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -163,7 +172,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -206,7 +218,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -269,7 +284,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -355,7 +373,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -398,11 +419,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/eventlist-v1.json b/v1.12.2-standalone-strict/eventlist-v1.json index 358dd75974..437834146f 100644 --- a/v1.12.2-standalone-strict/eventlist-v1.json +++ b/v1.12.2-standalone-strict/eventlist-v1.json @@ -46,7 +46,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -150,7 +153,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -175,7 +181,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -209,7 +218,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -252,7 +264,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -315,7 +330,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -401,7 +419,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -444,11 +465,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -573,7 +600,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone-strict/eventlist.json b/v1.12.2-standalone-strict/eventlist.json index 7e20dcddc7..4018d51fe9 100644 --- a/v1.12.2-standalone-strict/eventlist.json +++ b/v1.12.2-standalone-strict/eventlist.json @@ -39,7 +39,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -197,7 +209,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -260,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -346,7 +364,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -389,11 +410,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/eventseries-events-v1beta1.json b/v1.12.2-standalone-strict/eventseries-events-v1beta1.json index 10783bd897..d9965ec257 100644 --- a/v1.12.2-standalone-strict/eventseries-events-v1beta1.json +++ b/v1.12.2-standalone-strict/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone-strict/eventseries-v1.json b/v1.12.2-standalone-strict/eventseries-v1.json index 6e72bcf1d6..e73bad7463 100644 --- a/v1.12.2-standalone-strict/eventseries-v1.json +++ b/v1.12.2-standalone-strict/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone-strict/eventseries.json b/v1.12.2-standalone-strict/eventseries.json index 10783bd897..d9965ec257 100644 --- a/v1.12.2-standalone-strict/eventseries.json +++ b/v1.12.2-standalone-strict/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone-strict/eviction-policy-v1beta1.json b/v1.12.2-standalone-strict/eviction-policy-v1beta1.json index 4fb53e2145..51ff8a01cd 100644 --- a/v1.12.2-standalone-strict/eviction-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/eviction-policy-v1beta1.json @@ -74,7 +74,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -89,7 +92,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -311,7 +317,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,7 +345,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -370,7 +382,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -413,7 +428,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -476,7 +494,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -562,7 +583,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -605,11 +629,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/eviction.json b/v1.12.2-standalone-strict/eviction.json index dc57c1b4b1..2af772ddbc 100644 --- a/v1.12.2-standalone-strict/eviction.json +++ b/v1.12.2-standalone-strict/eviction.json @@ -33,7 +33,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -48,7 +51,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -270,7 +276,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -295,7 +304,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -329,7 +341,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -369,7 +384,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -432,7 +450,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -518,7 +539,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -561,11 +585,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta1.json index ed6b2347e7..2aec7e6bc5 100644 --- a/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta1.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -89,7 +95,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta2.json index 5667b9fe23..d117e02d48 100644 --- a/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/externalmetricsource-autoscaling-v2beta2.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/externalmetricsource.json b/v1.12.2-standalone-strict/externalmetricsource.json index 5667b9fe23..d117e02d48 100644 --- a/v1.12.2-standalone-strict/externalmetricsource.json +++ b/v1.12.2-standalone-strict/externalmetricsource.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json index 4968e27228..56752b7c68 100644 --- a/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -27,7 +30,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -83,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json index 26653fc9b2..fa4b5f80fc 100644 --- a/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/externalmetricstatus.json b/v1.12.2-standalone-strict/externalmetricstatus.json index 26653fc9b2..fa4b5f80fc 100644 --- a/v1.12.2-standalone-strict/externalmetricstatus.json +++ b/v1.12.2-standalone-strict/externalmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/fcvolumesource-v1.json b/v1.12.2-standalone-strict/fcvolumesource-v1.json index bcddd38769..3c8eb6635b 100644 --- a/v1.12.2-standalone-strict/fcvolumesource-v1.json +++ b/v1.12.2-standalone-strict/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2-standalone-strict/fcvolumesource.json b/v1.12.2-standalone-strict/fcvolumesource.json index bcddd38769..3c8eb6635b 100644 --- a/v1.12.2-standalone-strict/fcvolumesource.json +++ b/v1.12.2-standalone-strict/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2-standalone-strict/flexpersistentvolumesource-v1.json b/v1.12.2-standalone-strict/flexpersistentvolumesource-v1.json index da2172f11e..3eb595bbd1 100644 --- a/v1.12.2-standalone-strict/flexpersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/flexpersistentvolumesource.json b/v1.12.2-standalone-strict/flexpersistentvolumesource.json index da2172f11e..3eb595bbd1 100644 --- a/v1.12.2-standalone-strict/flexpersistentvolumesource.json +++ b/v1.12.2-standalone-strict/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/flexvolumesource-v1.json b/v1.12.2-standalone-strict/flexvolumesource-v1.json index 92546a8c8f..9dc03ec4ef 100644 --- a/v1.12.2-standalone-strict/flexvolumesource-v1.json +++ b/v1.12.2-standalone-strict/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/flexvolumesource.json b/v1.12.2-standalone-strict/flexvolumesource.json index 92546a8c8f..9dc03ec4ef 100644 --- a/v1.12.2-standalone-strict/flexvolumesource.json +++ b/v1.12.2-standalone-strict/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/gcepersistentdiskvolumesource-v1.json b/v1.12.2-standalone-strict/gcepersistentdiskvolumesource-v1.json index e06a14be3a..565b4d0494 100644 --- a/v1.12.2-standalone-strict/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.2-standalone-strict/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/gcepersistentdiskvolumesource.json b/v1.12.2-standalone-strict/gcepersistentdiskvolumesource.json index e06a14be3a..565b4d0494 100644 --- a/v1.12.2-standalone-strict/gcepersistentdiskvolumesource.json +++ b/v1.12.2-standalone-strict/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/glusterfsvolumesource-v1.json b/v1.12.2-standalone-strict/glusterfsvolumesource-v1.json index fd6788cc4d..4b43cebd5b 100644 --- a/v1.12.2-standalone-strict/glusterfsvolumesource-v1.json +++ b/v1.12.2-standalone-strict/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/glusterfsvolumesource.json b/v1.12.2-standalone-strict/glusterfsvolumesource.json index fd6788cc4d..4b43cebd5b 100644 --- a/v1.12.2-standalone-strict/glusterfsvolumesource.json +++ b/v1.12.2-standalone-strict/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/handler-v1.json b/v1.12.2-standalone-strict/handler-v1.json index 0b00273dd0..2e3903fbd6 100644 --- a/v1.12.2-standalone-strict/handler-v1.json +++ b/v1.12.2-standalone-strict/handler-v1.json @@ -74,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/handler.json b/v1.12.2-standalone-strict/handler.json index 0b00273dd0..2e3903fbd6 100644 --- a/v1.12.2-standalone-strict/handler.json +++ b/v1.12.2-standalone-strict/handler.json @@ -74,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json b/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json index c3d41d75fc..f5f05db815 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -382,7 +406,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -412,7 +439,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -427,7 +457,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -450,7 +483,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json index 336cfdb99f..5e13098e12 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -480,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -504,7 +537,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -557,7 +593,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -602,7 +641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -665,7 +707,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -685,7 +730,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -704,7 +752,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -716,7 +767,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -733,7 +787,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -844,7 +901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -857,7 +917,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -910,7 +973,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -941,7 +1007,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -954,7 +1023,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1007,7 +1079,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1137,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1115,7 +1193,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1138,7 +1219,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1150,7 +1234,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1189,7 +1276,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json index a83b2598ca..b09cad2545 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -454,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +503,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -488,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -505,7 +538,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -603,7 +639,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -625,7 +664,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -637,7 +679,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -654,7 +699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -726,7 +774,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,7 +799,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -760,7 +814,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -777,7 +834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -806,7 +866,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -818,7 +881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -835,7 +901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -855,7 +924,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -962,7 +1034,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -974,7 +1049,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -987,7 +1065,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1049,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1079,7 +1163,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1091,7 +1178,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1104,7 +1194,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1191,7 +1284,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1220,7 +1316,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1232,7 +1331,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1245,7 +1347,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1307,7 +1412,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1336,7 +1444,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1348,7 +1459,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1361,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1403,7 +1520,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscaler.json b/v1.12.2-standalone-strict/horizontalpodautoscaler.json index 38e80c8960..5895c6a00a 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscaler.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscaler.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -448,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +497,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -482,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -499,7 +532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -597,7 +633,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -619,7 +658,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -631,7 +673,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -648,7 +693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -720,7 +768,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,7 +793,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -754,7 +808,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -771,7 +828,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -800,7 +860,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -812,7 +875,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -829,7 +895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -849,7 +918,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -956,7 +1028,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -968,7 +1043,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -981,7 +1059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1043,7 +1124,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1073,7 +1157,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1085,7 +1172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1098,7 +1188,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1185,7 +1278,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1214,7 +1310,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1226,7 +1325,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1239,7 +1341,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1301,7 +1406,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1330,7 +1438,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1342,7 +1453,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1355,7 +1469,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1397,7 +1514,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json b/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json index 03dd67e459..4ed392504b 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,7 +428,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -434,7 +461,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -449,7 +479,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -472,7 +505,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json index 8a00a3e2db..13ccd43900 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -469,7 +493,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -489,7 +516,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -502,7 +532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -526,7 +559,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -579,7 +615,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -624,7 +663,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -687,7 +729,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -707,7 +752,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -726,7 +774,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -738,7 +789,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -755,7 +809,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -866,7 +923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -879,7 +939,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -932,7 +995,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -963,7 +1029,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -976,7 +1045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1029,7 +1101,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1084,7 +1159,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1160,7 +1241,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1172,7 +1256,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1211,7 +1298,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json index e5564dc6af..ddc8f3a8ad 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -476,7 +500,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -498,7 +525,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -510,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -527,7 +560,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -625,7 +661,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -647,7 +686,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -659,7 +701,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -676,7 +721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -748,7 +796,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -770,7 +821,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -782,7 +836,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -799,7 +856,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -828,7 +888,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -840,7 +903,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -857,7 +923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -877,7 +946,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -984,7 +1056,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -996,7 +1071,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1009,7 +1087,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1071,7 +1152,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,7 +1185,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1113,7 +1200,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1126,7 +1216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1213,7 +1306,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1242,7 +1338,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1254,7 +1353,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1267,7 +1369,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1329,7 +1434,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1358,7 +1466,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1370,7 +1481,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1383,7 +1497,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1425,7 +1542,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerlist.json b/v1.12.2-standalone-strict/horizontalpodautoscalerlist.json index 1e928c0f13..3d2ba9d0c8 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerlist.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -467,7 +491,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -489,7 +516,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -501,7 +531,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -518,7 +551,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -616,7 +652,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -638,7 +677,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -650,7 +692,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -667,7 +712,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -739,7 +787,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -761,7 +812,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -773,7 +827,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -790,7 +847,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -819,7 +879,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -831,7 +894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -848,7 +914,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -868,7 +937,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -975,7 +1047,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -987,7 +1062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1000,7 +1078,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1062,7 +1143,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1092,7 +1176,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1104,7 +1191,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1117,7 +1207,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1204,7 +1297,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1329,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1245,7 +1344,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1258,7 +1360,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1320,7 +1425,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1349,7 +1457,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1361,7 +1472,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1374,7 +1488,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1416,7 +1533,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json index ee45f7dd7e..87a75b45a7 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -42,7 +48,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json index 96fd30e952..950dfc2d84 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -77,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -97,7 +103,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -110,7 +119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -134,7 +146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -187,7 +202,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -232,7 +250,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -295,7 +316,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -315,7 +339,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -334,7 +361,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -346,7 +376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -363,7 +396,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 4b0916eb15..70eaf0c085 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -84,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -106,7 +112,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -118,7 +127,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -135,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -233,7 +248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -255,7 +273,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -267,7 +288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -284,7 +308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -356,7 +383,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -378,7 +408,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -390,7 +423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -407,7 +443,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -436,7 +475,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -448,7 +490,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -465,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -485,7 +533,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerspec.json b/v1.12.2-standalone-strict/horizontalpodautoscalerspec.json index 4b0916eb15..70eaf0c085 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerspec.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -84,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -106,7 +112,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -118,7 +127,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -135,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -233,7 +248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -255,7 +273,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -267,7 +288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -284,7 +308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -356,7 +383,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -378,7 +408,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -390,7 +423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -407,7 +443,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -436,7 +475,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -448,7 +490,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -465,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -485,7 +533,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json index d80389a67c..e5990f6a09 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -30,7 +39,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index fc090c9e90..50f66fde99 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -81,7 +81,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -94,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -147,7 +153,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -178,7 +187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -191,7 +203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -244,7 +259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -299,7 +317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -352,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -375,7 +399,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -387,7 +414,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -408,12 +438,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -426,7 +462,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index 5aed0775ee..9619a2ea77 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -77,7 +77,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -89,7 +92,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -102,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -164,7 +173,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -194,7 +206,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -206,7 +221,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -219,7 +237,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -306,7 +327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,7 +359,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -347,7 +374,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -360,7 +390,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -422,7 +455,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +487,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -463,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -476,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -500,12 +545,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -518,7 +569,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus.json b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus.json index 5aed0775ee..9619a2ea77 100644 --- a/v1.12.2-standalone-strict/horizontalpodautoscalerstatus.json +++ b/v1.12.2-standalone-strict/horizontalpodautoscalerstatus.json @@ -77,7 +77,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -89,7 +92,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -102,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -164,7 +173,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -194,7 +206,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -206,7 +221,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -219,7 +237,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -306,7 +327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,7 +359,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -347,7 +374,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -360,7 +390,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -422,7 +455,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +487,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -463,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -476,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -500,12 +545,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -518,7 +569,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/hostportrange-extensions-v1beta1.json b/v1.12.2-standalone-strict/hostportrange-extensions-v1beta1.json index 24147a48ba..14344d6768 100644 --- a/v1.12.2-standalone-strict/hostportrange-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/hostportrange-policy-v1beta1.json b/v1.12.2-standalone-strict/hostportrange-policy-v1beta1.json index 24efb58ec4..7635709957 100644 --- a/v1.12.2-standalone-strict/hostportrange-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/hostportrange.json b/v1.12.2-standalone-strict/hostportrange.json index 24efb58ec4..7635709957 100644 --- a/v1.12.2-standalone-strict/hostportrange.json +++ b/v1.12.2-standalone-strict/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/httpgetaction-v1.json b/v1.12.2-standalone-strict/httpgetaction-v1.json index 63d6c0484f..22216d2ec0 100644 --- a/v1.12.2-standalone-strict/httpgetaction-v1.json +++ b/v1.12.2-standalone-strict/httpgetaction-v1.json @@ -52,7 +52,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/httpgetaction.json b/v1.12.2-standalone-strict/httpgetaction.json index 63d6c0484f..22216d2ec0 100644 --- a/v1.12.2-standalone-strict/httpgetaction.json +++ b/v1.12.2-standalone-strict/httpgetaction.json @@ -52,7 +52,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/httpingresspath-extensions-v1beta1.json b/v1.12.2-standalone-strict/httpingresspath-extensions-v1beta1.json index 82115a33ab..cda6eac517 100644 --- a/v1.12.2-standalone-strict/httpingresspath-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/httpingresspath-extensions-v1beta1.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/httpingresspath.json b/v1.12.2-standalone-strict/httpingresspath.json index 82115a33ab..cda6eac517 100644 --- a/v1.12.2-standalone-strict/httpingresspath.json +++ b/v1.12.2-standalone-strict/httpingresspath.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/httpingressrulevalue-extensions-v1beta1.json b/v1.12.2-standalone-strict/httpingressrulevalue-extensions-v1beta1.json index d16bafad3e..16e9282ae5 100644 --- a/v1.12.2-standalone-strict/httpingressrulevalue-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/httpingressrulevalue-extensions-v1beta1.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/httpingressrulevalue.json b/v1.12.2-standalone-strict/httpingressrulevalue.json index d16bafad3e..16e9282ae5 100644 --- a/v1.12.2-standalone-strict/httpingressrulevalue.json +++ b/v1.12.2-standalone-strict/httpingressrulevalue.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/idrange-extensions-v1beta1.json b/v1.12.2-standalone-strict/idrange-extensions-v1beta1.json index 501d1bb66f..7d0c2bd771 100644 --- a/v1.12.2-standalone-strict/idrange-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/idrange-policy-v1beta1.json b/v1.12.2-standalone-strict/idrange-policy-v1beta1.json index c7c8035366..af6355a986 100644 --- a/v1.12.2-standalone-strict/idrange-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/idrange.json b/v1.12.2-standalone-strict/idrange.json index c7c8035366..af6355a986 100644 --- a/v1.12.2-standalone-strict/idrange.json +++ b/v1.12.2-standalone-strict/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/ingress-extensions-v1beta1.json b/v1.12.2-standalone-strict/ingress-extensions-v1beta1.json index 8b3ab6aa1d..ed5b984841 100644 --- a/v1.12.2-standalone-strict/ingress-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/ingress-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,7 +415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -449,7 +476,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingress.json b/v1.12.2-standalone-strict/ingress.json index f4aff6ed38..208705cbe6 100644 --- a/v1.12.2-standalone-strict/ingress.json +++ b/v1.12.2-standalone-strict/ingress.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,7 +409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -443,7 +470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingressbackend-extensions-v1beta1.json b/v1.12.2-standalone-strict/ingressbackend-extensions-v1beta1.json index 89e282e13e..31ba21eeb4 100644 --- a/v1.12.2-standalone-strict/ingressbackend-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/ingressbackend-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingressbackend.json b/v1.12.2-standalone-strict/ingressbackend.json index 89e282e13e..31ba21eeb4 100644 --- a/v1.12.2-standalone-strict/ingressbackend.json +++ b/v1.12.2-standalone-strict/ingressbackend.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingresslist-extensions-v1beta1.json b/v1.12.2-standalone-strict/ingresslist-extensions-v1beta1.json index 34c5cc361e..b4a5683f65 100644 --- a/v1.12.2-standalone-strict/ingresslist-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/ingresslist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -413,7 +437,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -471,7 +498,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingresslist.json b/v1.12.2-standalone-strict/ingresslist.json index 48585d57b0..d4f6f2a6ac 100644 --- a/v1.12.2-standalone-strict/ingresslist.json +++ b/v1.12.2-standalone-strict/ingresslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,7 +428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -462,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingressrule-extensions-v1beta1.json b/v1.12.2-standalone-strict/ingressrule-extensions-v1beta1.json index 4cc35346e2..ee1445bbd4 100644 --- a/v1.12.2-standalone-strict/ingressrule-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/ingressrule-extensions-v1beta1.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingressrule.json b/v1.12.2-standalone-strict/ingressrule.json index 4cc35346e2..ee1445bbd4 100644 --- a/v1.12.2-standalone-strict/ingressrule.json +++ b/v1.12.2-standalone-strict/ingressrule.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingressspec-extensions-v1beta1.json b/v1.12.2-standalone-strict/ingressspec-extensions-v1beta1.json index 317ba82dd5..1c86e9ec0d 100644 --- a/v1.12.2-standalone-strict/ingressspec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/ingressspec-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/ingressspec.json b/v1.12.2-standalone-strict/ingressspec.json index 317ba82dd5..1c86e9ec0d 100644 --- a/v1.12.2-standalone-strict/ingressspec.json +++ b/v1.12.2-standalone-strict/ingressspec.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json b/v1.12.2-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json index 3f70c59aec..cdea987dba 100644 --- a/v1.12.2-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json +++ b/v1.12.2-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json @@ -100,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -125,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -159,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -202,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -265,7 +277,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -351,7 +366,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -394,11 +412,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/initializerconfiguration.json b/v1.12.2-standalone-strict/initializerconfiguration.json index 195b846de7..06bd694dff 100644 --- a/v1.12.2-standalone-strict/initializerconfiguration.json +++ b/v1.12.2-standalone-strict/initializerconfiguration.json @@ -97,7 +97,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +125,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +162,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +205,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -259,7 +271,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -345,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -388,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json b/v1.12.2-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json index 5727c00bc3..76ec632fa9 100644 --- a/v1.12.2-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json +++ b/v1.12.2-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json @@ -122,7 +122,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -147,7 +150,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -181,7 +187,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -224,7 +233,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -287,7 +299,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -373,7 +388,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -416,11 +434,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/initializerconfigurationlist.json b/v1.12.2-standalone-strict/initializerconfigurationlist.json index e7a8d96f77..ef1c193fe8 100644 --- a/v1.12.2-standalone-strict/initializerconfigurationlist.json +++ b/v1.12.2-standalone-strict/initializerconfigurationlist.json @@ -116,7 +116,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -141,7 +144,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -175,7 +181,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -215,7 +224,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -278,7 +290,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -364,7 +379,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -407,11 +425,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/initializers-meta-v1.json b/v1.12.2-standalone-strict/initializers-meta-v1.json index c1ad152d68..f589a626a4 100644 --- a/v1.12.2-standalone-strict/initializers-meta-v1.json +++ b/v1.12.2-standalone-strict/initializers-meta-v1.json @@ -41,7 +41,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -104,7 +107,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone-strict/initializers.json b/v1.12.2-standalone-strict/initializers.json index 0a346ec521..1a6c7c1634 100644 --- a/v1.12.2-standalone-strict/initializers.json +++ b/v1.12.2-standalone-strict/initializers.json @@ -38,7 +38,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -101,7 +104,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone-strict/intorstring-util-intstr.json b/v1.12.2-standalone-strict/intorstring-util-intstr.json index 15fb8c684e..83215aa045 100644 --- a/v1.12.2-standalone-strict/intorstring-util-intstr.json +++ b/v1.12.2-standalone-strict/intorstring-util-intstr.json @@ -8,5 +8,6 @@ } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/intorstring.json b/v1.12.2-standalone-strict/intorstring.json index 15fb8c684e..83215aa045 100644 --- a/v1.12.2-standalone-strict/intorstring.json +++ b/v1.12.2-standalone-strict/intorstring.json @@ -8,5 +8,6 @@ } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/iscsipersistentvolumesource-v1.json b/v1.12.2-standalone-strict/iscsipersistentvolumesource-v1.json index f625428d7a..21206afd15 100644 --- a/v1.12.2-standalone-strict/iscsipersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/iscsipersistentvolumesource.json b/v1.12.2-standalone-strict/iscsipersistentvolumesource.json index f625428d7a..21206afd15 100644 --- a/v1.12.2-standalone-strict/iscsipersistentvolumesource.json +++ b/v1.12.2-standalone-strict/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/iscsivolumesource-v1.json b/v1.12.2-standalone-strict/iscsivolumesource-v1.json index b21b5a0161..b74633a5a8 100644 --- a/v1.12.2-standalone-strict/iscsivolumesource-v1.json +++ b/v1.12.2-standalone-strict/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/iscsivolumesource.json b/v1.12.2-standalone-strict/iscsivolumesource.json index b21b5a0161..b74633a5a8 100644 --- a/v1.12.2-standalone-strict/iscsivolumesource.json +++ b/v1.12.2-standalone-strict/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/job-batch-v1.json b/v1.12.2-standalone-strict/job-batch-v1.json index e96642c329..1e7f6db71c 100644 --- a/v1.12.2-standalone-strict/job-batch-v1.json +++ b/v1.12.2-standalone-strict/job-batch-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,26 +400,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -443,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -462,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -487,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -521,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -564,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -627,7 +681,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -713,7 +770,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -756,11 +816,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -812,7 +878,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1090,7 +1159,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1187,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1289,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1386,7 +1464,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1507,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1555,7 +1642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1585,7 +1675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1620,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1644,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1746,7 +1845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1782,7 +1884,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1868,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1904,7 +2012,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1941,7 +2052,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1998,7 +2112,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2014,17 +2131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2049,7 +2175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2058,7 +2187,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2094,7 +2226,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2141,7 +2276,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2198,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2214,17 +2355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2249,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2258,7 +2411,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2269,7 +2425,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,14 +2438,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2296,7 +2461,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2309,7 +2477,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2345,7 +2516,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2356,20 +2530,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2411,11 +2597,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2433,7 +2625,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2492,7 +2687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2622,15 +2820,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2744,7 +2951,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2791,7 +3001,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2821,7 +3034,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2856,7 +3072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2880,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2982,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3018,7 +3243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3104,7 +3332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3140,7 +3371,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3234,7 +3471,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3250,17 +3490,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3285,7 +3534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3294,7 +3546,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3330,7 +3585,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3377,7 +3635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3434,7 +3695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3450,17 +3714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3485,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3494,7 +3770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3505,7 +3784,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3515,14 +3797,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3532,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3545,7 +3836,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3581,7 +3875,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3592,20 +3889,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3647,11 +3956,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3669,7 +3984,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3728,7 +4046,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3765,7 +4086,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3775,7 +4099,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3831,21 +4158,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3889,7 +4228,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3937,7 +4279,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3948,7 +4293,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3983,7 +4331,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4024,12 +4375,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4076,7 +4433,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4090,7 +4450,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4128,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4175,7 +4541,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4202,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4224,7 +4596,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4254,7 +4632,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4291,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4320,7 +4704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4357,7 +4744,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4376,12 +4766,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4431,7 +4827,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4441,7 +4840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4494,7 +4896,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4503,7 +4908,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4552,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4587,11 +4998,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4638,7 +5055,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4677,7 +5097,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4698,7 +5121,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4738,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4755,7 +5184,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4786,7 +5218,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4806,7 +5241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4848,7 +5286,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4877,7 +5318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4917,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4937,7 +5384,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4957,7 +5407,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4990,7 +5443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5054,7 +5510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5107,7 +5566,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5124,7 +5586,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5159,7 +5624,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5181,7 +5649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5194,7 +5665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5218,7 +5692,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5298,7 +5775,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5309,7 +5789,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5379,7 +5862,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5392,7 +5878,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/job.json b/v1.12.2-standalone-strict/job.json index f85b586a6d..c2627a181e 100644 --- a/v1.12.2-standalone-strict/job.json +++ b/v1.12.2-standalone-strict/job.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,26 +394,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -437,7 +476,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -456,7 +498,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -481,7 +526,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -515,7 +563,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -555,7 +606,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -618,7 +672,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -704,7 +761,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -747,11 +807,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -803,7 +869,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1081,7 +1150,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1178,7 +1250,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1280,7 +1355,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1377,7 +1455,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1417,7 +1498,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1499,7 +1583,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1546,7 +1633,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1576,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1611,7 +1704,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1635,7 +1731,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1737,7 +1836,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1773,7 +1875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1859,7 +1964,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1895,7 +2003,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1932,7 +2043,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1989,7 +2103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2005,17 +2122,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2040,7 +2166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2049,7 +2178,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2085,7 +2217,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2132,7 +2267,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2189,7 +2327,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2205,17 +2346,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2240,7 +2390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2249,7 +2402,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2260,7 +2416,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,14 +2429,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,7 +2452,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2300,7 +2468,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2336,7 +2507,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2347,20 +2521,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2402,11 +2588,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2424,7 +2616,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2483,7 +2678,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2613,15 +2811,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2735,7 +2942,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2782,7 +2992,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2812,7 +3025,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2847,7 +3063,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2871,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2973,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3009,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3095,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3131,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3168,7 +3402,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3225,7 +3462,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3241,17 +3481,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3276,7 +3525,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3285,7 +3537,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3321,7 +3576,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3368,7 +3626,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3425,7 +3686,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3441,17 +3705,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3476,7 +3749,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3485,7 +3761,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3496,7 +3775,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3506,14 +3788,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,7 +3811,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3536,7 +3827,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3572,7 +3866,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3583,20 +3880,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3638,11 +3947,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3660,7 +3975,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3719,7 +4037,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3756,7 +4077,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3766,7 +4090,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3822,21 +4149,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3880,7 +4219,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3928,7 +4270,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3939,7 +4284,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3974,7 +4322,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4015,12 +4366,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4067,7 +4424,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4081,7 +4441,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4119,7 +4482,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4166,7 +4532,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4193,7 +4562,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4215,7 +4587,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4610,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4245,7 +4623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4282,7 +4663,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4311,7 +4695,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4348,7 +4735,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4367,12 +4757,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4422,7 +4818,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4432,7 +4831,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4485,7 +4887,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4494,7 +4899,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4543,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4578,11 +4989,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4629,7 +5046,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4668,7 +5088,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4689,7 +5112,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4729,7 +5155,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4746,7 +5175,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4777,7 +5209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4797,7 +5232,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4839,7 +5277,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4868,7 +5309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4908,7 +5352,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4928,7 +5375,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4948,7 +5398,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4981,7 +5434,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5045,7 +5501,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5098,7 +5557,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5577,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5150,7 +5615,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5172,7 +5640,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5185,7 +5656,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5209,7 +5683,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5289,7 +5766,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5300,7 +5780,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5370,7 +5853,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5383,7 +5869,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/joblist-batch-v1.json b/v1.12.2-standalone-strict/joblist-batch-v1.json index 7b26dc5656..2a5cf88e80 100644 --- a/v1.12.2-standalone-strict/joblist-batch-v1.json +++ b/v1.12.2-standalone-strict/joblist-batch-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,26 +422,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -465,7 +504,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -484,7 +526,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -509,7 +554,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -543,7 +591,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -586,7 +637,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -649,7 +703,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -735,7 +792,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -778,11 +838,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -834,7 +900,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1112,7 +1181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1209,7 +1281,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1311,7 +1386,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1408,7 +1486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1448,7 +1529,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1530,7 +1614,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1577,7 +1664,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1607,7 +1697,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1642,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1666,7 +1762,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1768,7 +1867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1804,7 +1906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1890,7 +1995,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1926,7 +2034,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1963,7 +2074,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2020,7 +2134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2036,17 +2153,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2071,7 +2197,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2080,7 +2209,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2116,7 +2248,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2163,7 +2298,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2220,7 +2358,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2236,17 +2377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2271,7 +2421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2280,7 +2433,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2291,7 +2447,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2301,14 +2460,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2318,7 +2483,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2331,7 +2499,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2367,7 +2538,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2378,20 +2552,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2433,11 +2619,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2455,7 +2647,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2514,7 +2709,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2644,15 +2842,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2766,7 +2973,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2813,7 +3023,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2843,7 +3056,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2878,7 +3094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2902,7 +3121,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3004,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3040,7 +3265,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3126,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3162,7 +3393,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3199,7 +3433,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3256,7 +3493,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3272,17 +3512,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3307,7 +3556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3316,7 +3568,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3352,7 +3607,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3399,7 +3657,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3456,7 +3717,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3472,17 +3736,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3507,7 +3780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3516,7 +3792,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3527,7 +3806,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3537,14 +3819,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3554,7 +3842,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3567,7 +3858,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3603,7 +3897,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3614,20 +3911,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3669,11 +3978,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3691,7 +4006,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3750,7 +4068,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3787,7 +4108,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3797,7 +4121,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3853,21 +4180,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3911,7 +4250,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3959,7 +4301,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3970,7 +4315,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4005,7 +4353,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4046,12 +4397,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4098,7 +4455,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4112,7 +4472,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4150,7 +4513,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4197,7 +4563,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4224,7 +4593,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4246,7 +4618,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4266,7 +4641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4276,7 +4654,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4313,7 +4694,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4342,7 +4726,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4379,7 +4766,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4398,12 +4788,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4453,7 +4849,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4463,7 +4862,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4516,7 +4918,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4525,7 +4930,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,7 +4982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4609,11 +5020,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4660,7 +5077,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4699,7 +5119,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4720,7 +5143,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4760,7 +5186,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4777,7 +5206,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4808,7 +5240,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4828,7 +5263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4870,7 +5308,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4899,7 +5340,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4939,7 +5383,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4959,7 +5406,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4979,7 +5429,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5012,7 +5465,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5076,7 +5532,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5129,7 +5588,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5146,7 +5608,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5181,7 +5646,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5203,7 +5671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5216,7 +5687,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5240,7 +5714,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5797,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5331,7 +5811,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5401,7 +5884,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5414,7 +5900,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/joblist.json b/v1.12.2-standalone-strict/joblist.json index dad2054dcd..a93b1faa8a 100644 --- a/v1.12.2-standalone-strict/joblist.json +++ b/v1.12.2-standalone-strict/joblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,26 +413,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -456,7 +495,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -475,7 +517,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -500,7 +545,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -534,7 +582,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -574,7 +625,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -637,7 +691,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -723,7 +780,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -766,11 +826,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -822,7 +888,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1100,7 +1169,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1197,7 +1269,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1299,7 +1374,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1396,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1436,7 +1517,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1518,7 +1602,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1565,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1595,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1654,7 +1750,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1756,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1878,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1914,7 +2022,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2062,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2008,7 +2122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2024,17 +2141,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2059,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2068,7 +2197,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2104,7 +2236,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2151,7 +2286,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2208,7 +2346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2224,17 +2365,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2259,7 +2409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2268,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2279,7 +2435,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2289,14 +2448,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2306,7 +2471,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2319,7 +2487,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2355,7 +2526,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2366,20 +2540,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2421,11 +2607,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2443,7 +2635,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2502,7 +2697,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2632,15 +2830,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2754,7 +2961,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2801,7 +3011,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2831,7 +3044,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2890,7 +3109,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2992,7 +3214,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3028,7 +3253,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3150,7 +3381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3187,7 +3421,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3244,7 +3481,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3260,17 +3500,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3295,7 +3544,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3304,7 +3556,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3340,7 +3595,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3387,7 +3645,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3444,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3460,17 +3724,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3495,7 +3768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3504,7 +3780,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3515,7 +3794,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3525,14 +3807,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3542,7 +3830,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3555,7 +3846,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3591,7 +3885,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3602,20 +3899,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3657,11 +3966,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3679,7 +3994,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3738,7 +4056,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3775,7 +4096,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3785,7 +4109,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3841,21 +4168,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3899,7 +4238,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3947,7 +4289,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3958,7 +4303,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3993,7 +4341,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4034,12 +4385,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4086,7 +4443,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4100,7 +4460,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4138,7 +4501,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4185,7 +4551,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4212,7 +4581,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4234,7 +4606,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4254,7 +4629,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4264,7 +4642,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4301,7 +4682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4330,7 +4714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4367,7 +4754,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4386,12 +4776,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4441,7 +4837,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4451,7 +4850,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4906,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4513,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4562,7 +4970,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4597,11 +5008,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4648,7 +5065,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4687,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4708,7 +5131,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4748,7 +5174,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4765,7 +5194,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4796,7 +5228,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4816,7 +5251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4858,7 +5296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4887,7 +5328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4927,7 +5371,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4947,7 +5394,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4967,7 +5417,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5000,7 +5453,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5064,7 +5520,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5576,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5134,7 +5596,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5169,7 +5634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5191,7 +5659,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5204,7 +5675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5228,7 +5702,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5308,7 +5785,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5319,7 +5799,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5389,7 +5872,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5402,7 +5888,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobspec-batch-v1.json b/v1.12.2-standalone-strict/jobspec-batch-v1.json index c8b30dd1f7..a1eec70c6a 100644 --- a/v1.12.2-standalone-strict/jobspec-batch-v1.json +++ b/v1.12.2-standalone-strict/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +110,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +138,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +175,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -194,7 +221,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -257,7 +287,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -343,7 +376,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -386,11 +422,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -442,7 +484,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -720,7 +765,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -817,7 +865,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -919,7 +970,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1016,7 +1070,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1056,7 +1113,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1138,7 +1198,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1185,7 +1248,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1215,7 +1281,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1250,7 +1319,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1274,7 +1346,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1376,7 +1451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1412,7 +1490,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1498,7 +1579,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,7 +1618,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1571,7 +1658,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1628,7 +1718,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1644,17 +1737,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1679,7 +1781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1688,7 +1793,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1724,7 +1832,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1771,7 +1882,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1828,7 +1942,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1844,17 +1961,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1879,7 +2005,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +2017,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1899,7 +2031,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,14 +2044,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1926,7 +2067,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1939,7 +2083,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1975,7 +2122,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1986,20 +2136,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2041,11 +2203,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2063,7 +2231,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2122,7 +2293,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2252,15 +2426,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2374,7 +2557,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2421,7 +2607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2451,7 +2640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2486,7 +2678,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2510,7 +2705,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2612,7 +2810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2648,7 +2849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2734,7 +2938,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2770,7 +2977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2807,7 +3017,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2864,7 +3077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2880,17 +3096,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2915,7 +3140,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2924,7 +3152,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2960,7 +3191,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3007,7 +3241,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3064,7 +3301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3080,17 +3320,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3115,7 +3364,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3376,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3135,7 +3390,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3145,14 +3403,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3162,7 +3426,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3175,7 +3442,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3211,7 +3481,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3222,20 +3495,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3277,11 +3562,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3299,7 +3590,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3358,7 +3652,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3395,7 +3692,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3405,7 +3705,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3461,21 +3764,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3519,7 +3834,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3567,7 +3885,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3578,7 +3899,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3613,7 +3937,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3654,12 +3981,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3706,7 +4039,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3720,7 +4056,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3758,7 +4097,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3805,7 +4147,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3832,7 +4177,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3854,7 +4202,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3874,7 +4225,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3884,7 +4238,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3921,7 +4278,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3950,7 +4310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3987,7 +4350,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4006,12 +4372,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4061,7 +4433,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4071,7 +4446,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4124,7 +4502,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4133,7 +4514,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4182,7 +4566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4217,11 +4604,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4268,7 +4661,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4307,7 +4703,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4328,7 +4727,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4368,7 +4770,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4385,7 +4790,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4416,7 +4824,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4436,7 +4847,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4478,7 +4892,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4507,7 +4924,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4547,7 +4967,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4567,7 +4990,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4587,7 +5013,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4620,7 +5049,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4684,7 +5116,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4737,7 +5172,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4754,7 +5192,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4789,7 +5230,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4811,7 +5255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4824,7 +5271,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4848,7 +5298,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4928,7 +5381,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobspec.json b/v1.12.2-standalone-strict/jobspec.json index 857d4428cf..94a8649a5c 100644 --- a/v1.12.2-standalone-strict/jobspec.json +++ b/v1.12.2-standalone-strict/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +110,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +138,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +175,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -191,7 +218,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -254,7 +284,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +373,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +419,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -439,7 +481,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -717,7 +762,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -814,7 +862,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -916,7 +967,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1013,7 +1067,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1053,7 +1110,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1135,7 +1195,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1182,7 +1245,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1212,7 +1278,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1247,7 +1316,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1271,7 +1343,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1373,7 +1448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1409,7 +1487,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1495,7 +1576,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1531,7 +1615,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1568,7 +1655,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1625,7 +1715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1641,17 +1734,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1676,7 +1778,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1685,7 +1790,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1721,7 +1829,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1768,7 +1879,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1825,7 +1939,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1841,17 +1958,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1876,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1885,7 +2014,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1896,7 +2028,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1906,14 +2041,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1923,7 +2064,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1936,7 +2080,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1972,7 +2119,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1983,20 +2133,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2038,11 +2200,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2060,7 +2228,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2119,7 +2290,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2249,15 +2423,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2371,7 +2554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2418,7 +2604,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2448,7 +2637,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2483,7 +2675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2507,7 +2702,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2609,7 +2807,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2645,7 +2846,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2731,7 +2935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2767,7 +2974,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2804,7 +3014,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2861,7 +3074,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2877,17 +3093,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2912,7 +3137,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2921,7 +3149,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2957,7 +3188,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3004,7 +3238,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3061,7 +3298,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3077,17 +3317,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3112,7 +3361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3121,7 +3373,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3132,7 +3387,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3142,14 +3400,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3159,7 +3423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3172,7 +3439,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3208,7 +3478,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3219,20 +3492,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3274,11 +3559,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3296,7 +3587,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3355,7 +3649,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3392,7 +3689,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3402,7 +3702,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3458,21 +3761,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3516,7 +3831,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3564,7 +3882,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3575,7 +3896,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3610,7 +3934,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3651,12 +3978,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3703,7 +4036,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3717,7 +4053,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3755,7 +4094,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3802,7 +4144,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3829,7 +4174,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3851,7 +4199,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3871,7 +4222,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3881,7 +4235,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3918,7 +4275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3947,7 +4307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3984,7 +4347,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4003,12 +4369,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4058,7 +4430,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4068,7 +4443,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4121,7 +4499,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4130,7 +4511,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4179,7 +4563,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4214,11 +4601,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4265,7 +4658,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4304,7 +4700,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4325,7 +4724,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4365,7 +4767,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4382,7 +4787,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4413,7 +4821,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4433,7 +4844,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4475,7 +4889,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4504,7 +4921,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4544,7 +4964,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4987,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4584,7 +5010,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4617,7 +5046,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4681,7 +5113,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4734,7 +5169,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4751,7 +5189,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4786,7 +5227,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4808,7 +5252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4821,7 +5268,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4845,7 +5295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4925,7 +5378,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobstatus-batch-v1.json b/v1.12.2-standalone-strict/jobstatus-batch-v1.json index f7690ebca4..cafb1a297b 100644 --- a/v1.12.2-standalone-strict/jobstatus-batch-v1.json +++ b/v1.12.2-standalone-strict/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -73,7 +76,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -86,7 +92,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobstatus.json b/v1.12.2-standalone-strict/jobstatus.json index f7690ebca4..cafb1a297b 100644 --- a/v1.12.2-standalone-strict/jobstatus.json +++ b/v1.12.2-standalone-strict/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -73,7 +76,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -86,7 +92,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobtemplatespec-batch-v1beta1.json b/v1.12.2-standalone-strict/jobtemplatespec-batch-v1beta1.json index b394e44db4..ceab21347e 100644 --- a/v1.12.2-standalone-strict/jobtemplatespec-batch-v1beta1.json +++ b/v1.12.2-standalone-strict/jobtemplatespec-batch-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -108,7 +117,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -171,7 +183,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -257,7 +272,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -300,11 +318,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -356,26 +380,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -501,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -544,7 +595,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -607,7 +661,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -693,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -736,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -792,7 +858,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1139,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1167,7 +1239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1269,7 +1344,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1487,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1488,7 +1572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1535,7 +1622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1565,7 +1655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1600,7 +1693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1624,7 +1720,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1726,7 +1825,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,7 +1864,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1848,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1884,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1921,7 +2032,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1978,7 +2092,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1994,17 +2111,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2029,7 +2155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2038,7 +2167,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2074,7 +2206,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2121,7 +2256,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2178,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2335,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2238,7 +2391,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2249,7 +2405,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2259,14 +2418,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2276,7 +2441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2289,7 +2457,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2325,7 +2496,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2336,20 +2510,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2391,11 +2577,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2413,7 +2605,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2472,7 +2667,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2602,15 +2800,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2931,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2771,7 +2981,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2801,7 +3014,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2836,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2860,7 +3079,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2962,7 +3184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2998,7 +3223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3084,7 +3312,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3120,7 +3351,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3157,7 +3391,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3214,7 +3451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3230,17 +3470,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3265,7 +3514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3274,7 +3526,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3310,7 +3565,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3357,7 +3615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3414,7 +3675,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3430,17 +3694,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3465,7 +3738,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3474,7 +3750,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3485,7 +3764,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3495,14 +3777,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3512,7 +3800,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3525,7 +3816,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3561,7 +3855,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3572,20 +3869,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3627,11 +3936,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3649,7 +3964,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3708,7 +4026,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3745,7 +4066,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3755,7 +4079,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3811,21 +4138,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3869,7 +4208,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3917,7 +4259,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3928,7 +4273,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3963,7 +4311,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4004,12 +4355,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4056,7 +4413,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4070,7 +4430,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4108,7 +4471,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4155,7 +4521,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4182,7 +4551,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4204,7 +4576,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4224,7 +4599,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4234,7 +4612,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4271,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4337,7 +4724,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4356,12 +4746,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4411,7 +4807,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4421,7 +4820,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4474,7 +4876,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4483,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4532,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4567,11 +4978,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4618,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4657,7 +5077,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4678,7 +5101,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4718,7 +5144,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4735,7 +5164,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4766,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4786,7 +5221,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4828,7 +5266,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4857,7 +5298,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4897,7 +5341,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4917,7 +5364,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4937,7 +5387,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4970,7 +5423,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5034,7 +5490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5087,7 +5546,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5104,7 +5566,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5139,7 +5604,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5161,7 +5629,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5174,7 +5645,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5198,7 +5672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5278,7 +5755,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobtemplatespec-batch-v2alpha1.json b/v1.12.2-standalone-strict/jobtemplatespec-batch-v2alpha1.json index b394e44db4..ceab21347e 100644 --- a/v1.12.2-standalone-strict/jobtemplatespec-batch-v2alpha1.json +++ b/v1.12.2-standalone-strict/jobtemplatespec-batch-v2alpha1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -108,7 +117,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -171,7 +183,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -257,7 +272,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -300,11 +318,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -356,26 +380,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -501,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -544,7 +595,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -607,7 +661,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -693,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -736,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -792,7 +858,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1139,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1167,7 +1239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1269,7 +1344,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1487,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1488,7 +1572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1535,7 +1622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1565,7 +1655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1600,7 +1693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1624,7 +1720,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1726,7 +1825,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,7 +1864,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1848,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1884,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1921,7 +2032,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1978,7 +2092,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1994,17 +2111,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2029,7 +2155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2038,7 +2167,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2074,7 +2206,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2121,7 +2256,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2178,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2335,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2238,7 +2391,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2249,7 +2405,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2259,14 +2418,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2276,7 +2441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2289,7 +2457,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2325,7 +2496,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2336,20 +2510,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2391,11 +2577,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2413,7 +2605,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2472,7 +2667,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2602,15 +2800,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2931,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2771,7 +2981,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2801,7 +3014,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2836,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2860,7 +3079,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2962,7 +3184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2998,7 +3223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3084,7 +3312,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3120,7 +3351,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3157,7 +3391,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3214,7 +3451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3230,17 +3470,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3265,7 +3514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3274,7 +3526,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3310,7 +3565,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3357,7 +3615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3414,7 +3675,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3430,17 +3694,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3465,7 +3738,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3474,7 +3750,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3485,7 +3764,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3495,14 +3777,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3512,7 +3800,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3525,7 +3816,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3561,7 +3855,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3572,20 +3869,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3627,11 +3936,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3649,7 +3964,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3708,7 +4026,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3745,7 +4066,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3755,7 +4079,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3811,21 +4138,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3869,7 +4208,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3917,7 +4259,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3928,7 +4273,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3963,7 +4311,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4004,12 +4355,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4056,7 +4413,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4070,7 +4430,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4108,7 +4471,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4155,7 +4521,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4182,7 +4551,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4204,7 +4576,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4224,7 +4599,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4234,7 +4612,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4271,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4337,7 +4724,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4356,12 +4746,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4411,7 +4807,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4421,7 +4820,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4474,7 +4876,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4483,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4532,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4567,11 +4978,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4618,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4657,7 +5077,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4678,7 +5101,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4718,7 +5144,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4735,7 +5164,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4766,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4786,7 +5221,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4828,7 +5266,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4857,7 +5298,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4897,7 +5341,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4917,7 +5364,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4937,7 +5387,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4970,7 +5423,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5034,7 +5490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5087,7 +5546,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5104,7 +5566,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5139,7 +5604,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5161,7 +5629,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5174,7 +5645,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5198,7 +5672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5278,7 +5755,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/jobtemplatespec.json b/v1.12.2-standalone-strict/jobtemplatespec.json index 5b03ea98d0..cc9c904619 100644 --- a/v1.12.2-standalone-strict/jobtemplatespec.json +++ b/v1.12.2-standalone-strict/jobtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -105,7 +114,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -168,7 +180,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -254,7 +269,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,11 +315,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -353,26 +377,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -538,7 +589,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +655,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -687,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -730,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -786,7 +852,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1064,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1161,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1263,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1360,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1400,7 +1481,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1482,7 +1566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1529,7 +1616,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1559,7 +1649,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1594,7 +1687,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1714,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1720,7 +1819,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1756,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1842,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1878,7 +1986,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1915,7 +2026,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1972,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1988,17 +2105,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2023,7 +2149,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2032,7 +2161,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2068,7 +2200,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2115,7 +2250,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2172,7 +2310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2188,17 +2329,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2223,7 +2373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2232,7 +2385,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2243,7 +2399,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2253,14 +2412,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,7 +2435,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2283,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2319,7 +2490,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2330,20 +2504,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2571,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2599,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2466,7 +2661,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2596,15 +2794,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2718,7 +2925,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2765,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2795,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2830,7 +3046,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2854,7 +3073,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2956,7 +3178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2992,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3114,7 +3345,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3151,7 +3385,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3208,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3224,17 +3464,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3259,7 +3508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3268,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3304,7 +3559,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3351,7 +3609,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3408,7 +3669,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3424,17 +3688,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3459,7 +3732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3468,7 +3744,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3479,7 +3758,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3489,14 +3771,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3506,7 +3794,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3519,7 +3810,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3555,7 +3849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3566,20 +3863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3621,11 +3930,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3643,7 +3958,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3702,7 +4020,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3739,7 +4060,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3749,7 +4073,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3805,21 +4132,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3863,7 +4202,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3911,7 +4253,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3922,7 +4267,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3957,7 +4305,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3998,12 +4349,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4050,7 +4407,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4064,7 +4424,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4102,7 +4465,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4149,7 +4515,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4176,7 +4545,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4198,7 +4570,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4218,7 +4593,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4606,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4265,7 +4646,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4294,7 +4678,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4331,7 +4718,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4350,12 +4740,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4405,7 +4801,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4415,7 +4814,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4468,7 +4870,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4477,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4526,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,11 +4972,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4612,7 +5029,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4651,7 +5071,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4672,7 +5095,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4712,7 +5138,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4729,7 +5158,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4760,7 +5192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4822,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4851,7 +5292,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4891,7 +5335,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4911,7 +5358,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4931,7 +5381,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4964,7 +5417,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5028,7 +5484,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5081,7 +5540,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5098,7 +5560,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5133,7 +5598,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5155,7 +5623,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5168,7 +5639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5192,7 +5666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5272,7 +5749,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/json-apiextensions-v1beta1.json b/v1.12.2-standalone-strict/json-apiextensions-v1beta1.json index 898e4f717a..ae1faf15f4 100644 --- a/v1.12.2-standalone-strict/json-apiextensions-v1beta1.json +++ b/v1.12.2-standalone-strict/json-apiextensions-v1beta1.json @@ -1,5 +1,6 @@ { "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/json.json b/v1.12.2-standalone-strict/json.json index 898e4f717a..ae1faf15f4 100644 --- a/v1.12.2-standalone-strict/json.json +++ b/v1.12.2-standalone-strict/json.json @@ -1,5 +1,6 @@ { "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/keytopath-v1.json b/v1.12.2-standalone-strict/keytopath-v1.json index c6dfff85b9..6d3c8c8e69 100644 --- a/v1.12.2-standalone-strict/keytopath-v1.json +++ b/v1.12.2-standalone-strict/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-standalone-strict/keytopath.json b/v1.12.2-standalone-strict/keytopath.json index c6dfff85b9..6d3c8c8e69 100644 --- a/v1.12.2-standalone-strict/keytopath.json +++ b/v1.12.2-standalone-strict/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-standalone-strict/labelselector-meta-v1.json b/v1.12.2-standalone-strict/labelselector-meta-v1.json index 68ba3535ea..23cbd7b3cd 100644 --- a/v1.12.2-standalone-strict/labelselector-meta-v1.json +++ b/v1.12.2-standalone-strict/labelselector-meta-v1.json @@ -43,7 +43,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/labelselector.json b/v1.12.2-standalone-strict/labelselector.json index 68ba3535ea..23cbd7b3cd 100644 --- a/v1.12.2-standalone-strict/labelselector.json +++ b/v1.12.2-standalone-strict/labelselector.json @@ -43,7 +43,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/lease-coordination-v1beta1.json b/v1.12.2-standalone-strict/lease-coordination-v1beta1.json index 1874f13559..e247be7155 100644 --- a/v1.12.2-standalone-strict/lease-coordination-v1beta1.json +++ b/v1.12.2-standalone-strict/lease-coordination-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -388,12 +412,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone-strict/lease.json b/v1.12.2-standalone-strict/lease.json index 845e354a3a..ace6a8d74d 100644 --- a/v1.12.2-standalone-strict/lease.json +++ b/v1.12.2-standalone-strict/lease.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -382,12 +406,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone-strict/leaselist-coordination-v1beta1.json b/v1.12.2-standalone-strict/leaselist-coordination-v1beta1.json index 20125f5c58..d16b96bab7 100644 --- a/v1.12.2-standalone-strict/leaselist-coordination-v1beta1.json +++ b/v1.12.2-standalone-strict/leaselist-coordination-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -410,12 +434,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone-strict/leaselist.json b/v1.12.2-standalone-strict/leaselist.json index 69e93d9e1e..573f36a01c 100644 --- a/v1.12.2-standalone-strict/leaselist.json +++ b/v1.12.2-standalone-strict/leaselist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,12 +425,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone-strict/leasespec-coordination-v1beta1.json b/v1.12.2-standalone-strict/leasespec-coordination-v1beta1.json index 316bf158e3..dce17f2889 100644 --- a/v1.12.2-standalone-strict/leasespec-coordination-v1beta1.json +++ b/v1.12.2-standalone-strict/leasespec-coordination-v1beta1.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone-strict/leasespec.json b/v1.12.2-standalone-strict/leasespec.json index 316bf158e3..dce17f2889 100644 --- a/v1.12.2-standalone-strict/leasespec.json +++ b/v1.12.2-standalone-strict/leasespec.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone-strict/lifecycle-v1.json b/v1.12.2-standalone-strict/lifecycle-v1.json index 5304e32c4a..b6a9608a8d 100644 --- a/v1.12.2-standalone-strict/lifecycle-v1.json +++ b/v1.12.2-standalone-strict/lifecycle-v1.json @@ -77,7 +77,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -199,7 +205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -235,7 +244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/lifecycle.json b/v1.12.2-standalone-strict/lifecycle.json index 5304e32c4a..b6a9608a8d 100644 --- a/v1.12.2-standalone-strict/lifecycle.json +++ b/v1.12.2-standalone-strict/lifecycle.json @@ -77,7 +77,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -199,7 +205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -235,7 +244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrange-v1.json b/v1.12.2-standalone-strict/limitrange-v1.json index bcb24b16c0..da2869cf69 100644 --- a/v1.12.2-standalone-strict/limitrange-v1.json +++ b/v1.12.2-standalone-strict/limitrange-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -382,7 +406,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -392,14 +419,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -409,14 +442,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -426,14 +465,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -443,14 +488,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -460,7 +511,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrange.json b/v1.12.2-standalone-strict/limitrange.json index 53e94039e7..949a7a079a 100644 --- a/v1.12.2-standalone-strict/limitrange.json +++ b/v1.12.2-standalone-strict/limitrange.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -386,14 +413,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -403,14 +436,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -420,14 +459,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -437,14 +482,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -454,7 +505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrangeitem-v1.json b/v1.12.2-standalone-strict/limitrangeitem-v1.json index a59814b24a..e0fa5a871e 100644 --- a/v1.12.2-standalone-strict/limitrangeitem-v1.json +++ b/v1.12.2-standalone-strict/limitrangeitem-v1.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrangeitem.json b/v1.12.2-standalone-strict/limitrangeitem.json index a59814b24a..e0fa5a871e 100644 --- a/v1.12.2-standalone-strict/limitrangeitem.json +++ b/v1.12.2-standalone-strict/limitrangeitem.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrangelist-v1.json b/v1.12.2-standalone-strict/limitrangelist-v1.json index 0c55e9391b..f189703fbe 100644 --- a/v1.12.2-standalone-strict/limitrangelist-v1.json +++ b/v1.12.2-standalone-strict/limitrangelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,7 +428,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -414,14 +441,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -431,14 +464,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -448,14 +487,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -465,14 +510,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -482,7 +533,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrangelist.json b/v1.12.2-standalone-strict/limitrangelist.json index ad89ab6534..277261ebb6 100644 --- a/v1.12.2-standalone-strict/limitrangelist.json +++ b/v1.12.2-standalone-strict/limitrangelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +419,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -405,14 +432,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -422,14 +455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -439,14 +478,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -456,14 +501,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -473,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrangespec-v1.json b/v1.12.2-standalone-strict/limitrangespec-v1.json index 9955a05450..d92fedf451 100644 --- a/v1.12.2-standalone-strict/limitrangespec-v1.json +++ b/v1.12.2-standalone-strict/limitrangespec-v1.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/limitrangespec.json b/v1.12.2-standalone-strict/limitrangespec.json index 9955a05450..d92fedf451 100644 --- a/v1.12.2-standalone-strict/limitrangespec.json +++ b/v1.12.2-standalone-strict/limitrangespec.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1.json b/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1.json index 4943271e41..85d6bc5306 100644 --- a/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1.json +++ b/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json b/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json index 50e848da0c..e9a67b8140 100644 --- a/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/localsubjectaccessreview.json b/v1.12.2-standalone-strict/localsubjectaccessreview.json index f786c7a37b..b40d6d08e3 100644 --- a/v1.12.2-standalone-strict/localsubjectaccessreview.json +++ b/v1.12.2-standalone-strict/localsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -501,7 +528,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/metricidentifier-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/metricidentifier-autoscaling-v2beta2.json index 92acfd9ed3..508280f7c5 100644 --- a/v1.12.2-standalone-strict/metricidentifier-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/metricidentifier-autoscaling-v2beta2.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/metricidentifier.json b/v1.12.2-standalone-strict/metricidentifier.json index 92acfd9ed3..508280f7c5 100644 --- a/v1.12.2-standalone-strict/metricidentifier.json +++ b/v1.12.2-standalone-strict/metricidentifier.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta1.json index 544176bcf3..65d0f9c935 100644 --- a/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta1.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -92,7 +98,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -116,7 +125,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -169,7 +181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -214,7 +229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -277,7 +295,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,7 +318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -316,7 +340,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -328,7 +355,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta2.json index 4b9c703f9a..8a0e4ddf7b 100644 --- a/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/metricspec-autoscaling-v2beta2.json @@ -66,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +91,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -100,7 +106,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -215,7 +227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -237,7 +252,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -249,7 +267,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -266,7 +287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -338,7 +362,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -360,7 +387,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -372,7 +402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -389,7 +422,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -418,7 +454,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -430,7 +469,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -447,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metricspec.json b/v1.12.2-standalone-strict/metricspec.json index 4b9c703f9a..8a0e4ddf7b 100644 --- a/v1.12.2-standalone-strict/metricspec.json +++ b/v1.12.2-standalone-strict/metricspec.json @@ -66,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +91,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -100,7 +106,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -215,7 +227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -237,7 +252,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -249,7 +267,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -266,7 +287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -338,7 +362,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -360,7 +387,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -372,7 +402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -389,7 +422,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -418,7 +454,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -430,7 +469,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -447,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta1.json index f292cb425b..53b7ef6b5d 100644 --- a/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -33,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -86,7 +92,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -130,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -183,7 +198,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -238,7 +256,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -291,7 +312,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,7 +338,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -326,7 +353,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta2.json index f6f2a31f0b..daf91f243c 100644 --- a/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/metricstatus-autoscaling-v2beta2.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -103,7 +112,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +145,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -145,7 +160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -158,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -245,7 +266,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -274,7 +298,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -286,7 +313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -299,7 +329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -361,7 +394,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -390,7 +426,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -402,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -415,7 +457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metricstatus.json b/v1.12.2-standalone-strict/metricstatus.json index f6f2a31f0b..daf91f243c 100644 --- a/v1.12.2-standalone-strict/metricstatus.json +++ b/v1.12.2-standalone-strict/metricstatus.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -103,7 +112,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +145,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -145,7 +160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -158,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -245,7 +266,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -274,7 +298,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -286,7 +313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -299,7 +329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -361,7 +394,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -390,7 +426,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -402,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -415,7 +457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metrictarget-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/metrictarget-autoscaling-v2beta2.json index 6b427678d4..6f97784561 100644 --- a/v1.12.2-standalone-strict/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metrictarget.json b/v1.12.2-standalone-strict/metrictarget.json index 6b427678d4..6f97784561 100644 --- a/v1.12.2-standalone-strict/metrictarget.json +++ b/v1.12.2-standalone-strict/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json index 29dd12f69d..9e0e1ced2f 100644 --- a/v1.12.2-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/metricvaluestatus.json b/v1.12.2-standalone-strict/metricvaluestatus.json index 29dd12f69d..9e0e1ced2f 100644 --- a/v1.12.2-standalone-strict/metricvaluestatus.json +++ b/v1.12.2-standalone-strict/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/microtime-meta-v1.json b/v1.12.2-standalone-strict/microtime-meta-v1.json index c3e6bac51e..70f9e08ff5 100644 --- a/v1.12.2-standalone-strict/microtime-meta-v1.json +++ b/v1.12.2-standalone-strict/microtime-meta-v1.json @@ -2,5 +2,6 @@ "description": "MicroTime is version of Time with microsecond level precision.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/microtime.json b/v1.12.2-standalone-strict/microtime.json index c3e6bac51e..70f9e08ff5 100644 --- a/v1.12.2-standalone-strict/microtime.json +++ b/v1.12.2-standalone-strict/microtime.json @@ -2,5 +2,6 @@ "description": "MicroTime is version of Time with microsecond level precision.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.2-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json index 75b8f9f725..c44ff8c5b3 100644 --- a/v1.12.2-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -483,7 +507,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/mutatingwebhookconfiguration.json b/v1.12.2-standalone-strict/mutatingwebhookconfiguration.json index c13a52c744..6df668fb77 100644 --- a/v1.12.2-standalone-strict/mutatingwebhookconfiguration.json +++ b/v1.12.2-standalone-strict/mutatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -477,7 +501,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json index ab73ba96b8..01e407533c 100644 --- a/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -505,7 +529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist.json b/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist.json index 4bd6b78833..a47ddbe60d 100644 --- a/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist.json +++ b/v1.12.2-standalone-strict/mutatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -496,7 +520,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/namespace-v1.json b/v1.12.2-standalone-strict/namespace-v1.json index e647e1e75b..1946261ca5 100644 --- a/v1.12.2-standalone-strict/namespace-v1.json +++ b/v1.12.2-standalone-strict/namespace-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/namespace.json b/v1.12.2-standalone-strict/namespace.json index 3d93c11320..f72472a960 100644 --- a/v1.12.2-standalone-strict/namespace.json +++ b/v1.12.2-standalone-strict/namespace.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/namespacelist-v1.json b/v1.12.2-standalone-strict/namespacelist-v1.json index 8effddbf72..4df5cfc770 100644 --- a/v1.12.2-standalone-strict/namespacelist-v1.json +++ b/v1.12.2-standalone-strict/namespacelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/namespacelist.json b/v1.12.2-standalone-strict/namespacelist.json index 0ca7335b61..3814140a5e 100644 --- a/v1.12.2-standalone-strict/namespacelist.json +++ b/v1.12.2-standalone-strict/namespacelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/networkpolicy-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicy-extensions-v1beta1.json index cfd4966967..b29a4a0c49 100644 --- a/v1.12.2-standalone-strict/networkpolicy-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -496,7 +523,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +582,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -660,7 +693,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -716,7 +752,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -813,7 +855,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicy-networking-v1.json b/v1.12.2-standalone-strict/networkpolicy-networking-v1.json index 1ae0f68e30..c9579e2af2 100644 --- a/v1.12.2-standalone-strict/networkpolicy-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicy-networking-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -496,7 +523,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +582,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -660,7 +693,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -716,7 +752,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -813,7 +855,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicy.json b/v1.12.2-standalone-strict/networkpolicy.json index c714e89d55..6b6329b632 100644 --- a/v1.12.2-standalone-strict/networkpolicy.json +++ b/v1.12.2-standalone-strict/networkpolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -490,7 +517,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -546,7 +576,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -654,7 +687,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -710,7 +746,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -743,7 +782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -807,7 +849,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json index 7d6b4a21ff..1777719d7b 100644 --- a/v1.12.2-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -114,7 +117,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyegressrule-networking-v1.json b/v1.12.2-standalone-strict/networkpolicyegressrule-networking-v1.json index 885d0dc66e..709fa25fe2 100644 --- a/v1.12.2-standalone-strict/networkpolicyegressrule-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicyegressrule-networking-v1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -114,7 +117,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyegressrule.json b/v1.12.2-standalone-strict/networkpolicyegressrule.json index 885d0dc66e..709fa25fe2 100644 --- a/v1.12.2-standalone-strict/networkpolicyegressrule.json +++ b/v1.12.2-standalone-strict/networkpolicyegressrule.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -114,7 +117,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json index c572b380cc..2a77c061cb 100644 --- a/v1.12.2-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json @@ -81,7 +81,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -137,7 +140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/networkpolicyingressrule-networking-v1.json b/v1.12.2-standalone-strict/networkpolicyingressrule-networking-v1.json index ea43766ee3..0d7ac31f84 100644 --- a/v1.12.2-standalone-strict/networkpolicyingressrule-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicyingressrule-networking-v1.json @@ -81,7 +81,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -137,7 +140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/networkpolicyingressrule.json b/v1.12.2-standalone-strict/networkpolicyingressrule.json index ea43766ee3..0d7ac31f84 100644 --- a/v1.12.2-standalone-strict/networkpolicyingressrule.json +++ b/v1.12.2-standalone-strict/networkpolicyingressrule.json @@ -81,7 +81,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -137,7 +140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/networkpolicylist-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicylist-extensions-v1beta1.json index c4e5c9a4ec..be96ccca58 100644 --- a/v1.12.2-standalone-strict/networkpolicylist-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -423,7 +447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -518,7 +545,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -574,7 +604,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -682,7 +715,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -738,7 +774,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -771,7 +810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -835,7 +877,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicylist-networking-v1.json b/v1.12.2-standalone-strict/networkpolicylist-networking-v1.json index 6824469bde..349920db48 100644 --- a/v1.12.2-standalone-strict/networkpolicylist-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicylist-networking-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -423,7 +447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -518,7 +545,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -574,7 +604,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -682,7 +715,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -738,7 +774,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -771,7 +810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -835,7 +877,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicylist.json b/v1.12.2-standalone-strict/networkpolicylist.json index 2561ac36c0..07e368b653 100644 --- a/v1.12.2-standalone-strict/networkpolicylist.json +++ b/v1.12.2-standalone-strict/networkpolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -414,7 +438,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -509,7 +536,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -565,7 +595,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -673,7 +706,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -729,7 +765,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -762,7 +801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -826,7 +868,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicypeer-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicypeer-extensions-v1beta1.json index 5788ba069c..b1f2d1cf36 100644 --- a/v1.12.2-standalone-strict/networkpolicypeer-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicypeer-extensions-v1beta1.json @@ -72,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicypeer-networking-v1.json b/v1.12.2-standalone-strict/networkpolicypeer-networking-v1.json index b9dc7f4e72..77495e98a1 100644 --- a/v1.12.2-standalone-strict/networkpolicypeer-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicypeer-networking-v1.json @@ -72,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicypeer.json b/v1.12.2-standalone-strict/networkpolicypeer.json index b9dc7f4e72..77495e98a1 100644 --- a/v1.12.2-standalone-strict/networkpolicypeer.json +++ b/v1.12.2-standalone-strict/networkpolicypeer.json @@ -72,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyport-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicyport-extensions-v1beta1.json index 0a64e748c9..e75a698b80 100644 --- a/v1.12.2-standalone-strict/networkpolicyport-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicyport-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/networkpolicyport-networking-v1.json b/v1.12.2-standalone-strict/networkpolicyport-networking-v1.json index 05c11afc20..ed8bd9768d 100644 --- a/v1.12.2-standalone-strict/networkpolicyport-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicyport-networking-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/networkpolicyport.json b/v1.12.2-standalone-strict/networkpolicyport.json index 05c11afc20..ed8bd9768d 100644 --- a/v1.12.2-standalone-strict/networkpolicyport.json +++ b/v1.12.2-standalone-strict/networkpolicyport.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/networkpolicyspec-extensions-v1beta1.json b/v1.12.2-standalone-strict/networkpolicyspec-extensions-v1beta1.json index 54d854f7ac..68668e7c9f 100644 --- a/v1.12.2-standalone-strict/networkpolicyspec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/networkpolicyspec-extensions-v1beta1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -126,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -182,7 +188,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -290,7 +299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +358,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,7 +394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -443,7 +461,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyspec-networking-v1.json b/v1.12.2-standalone-strict/networkpolicyspec-networking-v1.json index 4c0e286bb0..10b10859ed 100644 --- a/v1.12.2-standalone-strict/networkpolicyspec-networking-v1.json +++ b/v1.12.2-standalone-strict/networkpolicyspec-networking-v1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -126,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -182,7 +188,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -290,7 +299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +358,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,7 +394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -443,7 +461,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/networkpolicyspec.json b/v1.12.2-standalone-strict/networkpolicyspec.json index 4c0e286bb0..10b10859ed 100644 --- a/v1.12.2-standalone-strict/networkpolicyspec.json +++ b/v1.12.2-standalone-strict/networkpolicyspec.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -126,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -182,7 +188,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -290,7 +299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +358,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,7 +394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -443,7 +461,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/nfsvolumesource-v1.json b/v1.12.2-standalone-strict/nfsvolumesource-v1.json index 4684f8c0fb..948755148d 100644 --- a/v1.12.2-standalone-strict/nfsvolumesource-v1.json +++ b/v1.12.2-standalone-strict/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2-standalone-strict/nfsvolumesource.json b/v1.12.2-standalone-strict/nfsvolumesource.json index 4684f8c0fb..948755148d 100644 --- a/v1.12.2-standalone-strict/nfsvolumesource.json +++ b/v1.12.2-standalone-strict/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2-standalone-strict/node-v1.json b/v1.12.2-standalone-strict/node-v1.json index 933c894292..e6b5175fdb 100644 --- a/v1.12.2-standalone-strict/node-v1.json +++ b/v1.12.2-standalone-strict/node-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -477,7 +501,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -514,7 +541,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -524,14 +554,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -541,7 +577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -789,7 +828,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/node.json b/v1.12.2-standalone-strict/node.json index 57f59716ca..b3df87cf60 100644 --- a/v1.12.2-standalone-strict/node.json +++ b/v1.12.2-standalone-strict/node.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -471,7 +495,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -508,7 +535,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -518,14 +548,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -535,7 +571,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -783,7 +822,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/nodelist-v1.json b/v1.12.2-standalone-strict/nodelist-v1.json index 4948ac7cc8..cfc4fd627d 100644 --- a/v1.12.2-standalone-strict/nodelist-v1.json +++ b/v1.12.2-standalone-strict/nodelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -499,7 +523,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -536,7 +563,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -546,14 +576,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -563,7 +599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -811,7 +850,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/nodelist.json b/v1.12.2-standalone-strict/nodelist.json index 3e666b2bec..8b97f1485e 100644 --- a/v1.12.2-standalone-strict/nodelist.json +++ b/v1.12.2-standalone-strict/nodelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -490,7 +514,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -527,7 +554,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -537,14 +567,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -554,7 +590,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -802,7 +841,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/nodespec-v1.json b/v1.12.2-standalone-strict/nodespec-v1.json index b2d4628d2b..2a0cfaed4b 100644 --- a/v1.12.2-standalone-strict/nodespec-v1.json +++ b/v1.12.2-standalone-strict/nodespec-v1.json @@ -107,7 +107,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/nodespec.json b/v1.12.2-standalone-strict/nodespec.json index b2d4628d2b..2a0cfaed4b 100644 --- a/v1.12.2-standalone-strict/nodespec.json +++ b/v1.12.2-standalone-strict/nodespec.json @@ -107,7 +107,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/nodestatus-v1.json b/v1.12.2-standalone-strict/nodestatus-v1.json index 968b0dce1f..2bb751a97f 100644 --- a/v1.12.2-standalone-strict/nodestatus-v1.json +++ b/v1.12.2-standalone-strict/nodestatus-v1.json @@ -30,7 +30,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -40,14 +43,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -57,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -305,7 +317,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/nodestatus.json b/v1.12.2-standalone-strict/nodestatus.json index 968b0dce1f..2bb751a97f 100644 --- a/v1.12.2-standalone-strict/nodestatus.json +++ b/v1.12.2-standalone-strict/nodestatus.json @@ -30,7 +30,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -40,14 +43,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -57,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -305,7 +317,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/objectmeta-meta-v1.json b/v1.12.2-standalone-strict/objectmeta-meta-v1.json index d2c8ceb7a9..fee0e6e212 100644 --- a/v1.12.2-standalone-strict/objectmeta-meta-v1.json +++ b/v1.12.2-standalone-strict/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -105,7 +114,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -168,7 +180,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -254,7 +269,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,11 +315,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/objectmeta.json b/v1.12.2-standalone-strict/objectmeta.json index c89b0435e4..98e8b8c9f4 100644 --- a/v1.12.2-standalone-strict/objectmeta.json +++ b/v1.12.2-standalone-strict/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -102,7 +111,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -165,7 +177,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta1.json index 9f9744c492..7b9669d16e 100644 --- a/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -71,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -116,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta2.json index fe092cc4da..c2762e32ca 100644 --- a/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/objectmetricsource-autoscaling-v2beta2.json @@ -86,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -108,7 +111,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -120,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -137,7 +146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/objectmetricsource.json b/v1.12.2-standalone-strict/objectmetricsource.json index fe092cc4da..c2762e32ca 100644 --- a/v1.12.2-standalone-strict/objectmetricsource.json +++ b/v1.12.2-standalone-strict/objectmetricsource.json @@ -86,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -108,7 +111,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -120,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -137,7 +146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json index d483484dc4..9ead29cb30 100644 --- a/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -84,7 +90,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json index f36f8ce11b..145fa79c50 100644 --- a/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -123,7 +132,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/objectmetricstatus.json b/v1.12.2-standalone-strict/objectmetricstatus.json index f36f8ce11b..145fa79c50 100644 --- a/v1.12.2-standalone-strict/objectmetricstatus.json +++ b/v1.12.2-standalone-strict/objectmetricstatus.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -123,7 +132,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/ownerreference-meta-v1.json b/v1.12.2-standalone-strict/ownerreference-meta-v1.json index f757b5d760..e46a80bec1 100644 --- a/v1.12.2-standalone-strict/ownerreference-meta-v1.json +++ b/v1.12.2-standalone-strict/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/ownerreference.json b/v1.12.2-standalone-strict/ownerreference.json index f757b5d760..e46a80bec1 100644 --- a/v1.12.2-standalone-strict/ownerreference.json +++ b/v1.12.2-standalone-strict/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/patch-meta-v1.json b/v1.12.2-standalone-strict/patch-meta-v1.json index 4a857af6cc..1e571d6b45 100644 --- a/v1.12.2-standalone-strict/patch-meta-v1.json +++ b/v1.12.2-standalone-strict/patch-meta-v1.json @@ -1,5 +1,6 @@ { "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/patch.json b/v1.12.2-standalone-strict/patch.json index 4a857af6cc..1e571d6b45 100644 --- a/v1.12.2-standalone-strict/patch.json +++ b/v1.12.2-standalone-strict/patch.json @@ -1,5 +1,6 @@ { "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/persistentvolume-v1.json b/v1.12.2-standalone-strict/persistentvolume-v1.json index b7a7adf091..cc103c8f61 100644 --- a/v1.12.2-standalone-strict/persistentvolume-v1.json +++ b/v1.12.2-standalone-strict/persistentvolume-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,12 +423,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -451,7 +481,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -465,7 +498,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -487,7 +523,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -497,7 +536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -527,7 +569,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -581,7 +626,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -745,11 +793,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,12 +830,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -831,7 +891,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -841,7 +904,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -901,7 +967,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -910,7 +979,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -932,7 +1004,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -967,11 +1042,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1018,7 +1099,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1093,7 +1177,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1245,7 +1332,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1270,7 +1360,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1334,7 +1427,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1394,7 +1490,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1418,7 +1517,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1467,7 +1569,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/persistentvolume.json b/v1.12.2-standalone-strict/persistentvolume.json index 724b92e867..5b3e3200dd 100644 --- a/v1.12.2-standalone-strict/persistentvolume.json +++ b/v1.12.2-standalone-strict/persistentvolume.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,12 +417,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -445,7 +475,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -459,7 +492,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -481,7 +517,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -491,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -521,7 +563,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -575,7 +620,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -739,11 +787,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -770,12 +824,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -825,7 +885,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -835,7 +898,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -895,7 +961,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -904,7 +973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -926,7 +998,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -961,11 +1036,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1012,7 +1093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1087,7 +1171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1239,7 +1326,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1264,7 +1354,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1328,7 +1421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1388,7 +1484,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1412,7 +1511,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1461,7 +1563,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/persistentvolumeclaim-v1.json b/v1.12.2-standalone-strict/persistentvolumeclaim-v1.json index 84ad29d4cd..a6e2e886c6 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaim-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaim-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -414,7 +438,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -424,14 +451,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -441,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -494,7 +530,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +586,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -557,7 +599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/persistentvolumeclaim.json b/v1.12.2-standalone-strict/persistentvolumeclaim.json index b4633d761e..4951672efa 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaim.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaim.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -408,7 +432,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -418,14 +445,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -435,7 +468,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -488,7 +524,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -541,7 +580,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -551,7 +593,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimlist-v1.json b/v1.12.2-standalone-strict/persistentvolumeclaimlist-v1.json index 5951cd2081..9dcf649350 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimlist-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -436,7 +460,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -446,14 +473,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -463,7 +496,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -516,7 +552,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -569,7 +608,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -579,7 +621,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimlist.json b/v1.12.2-standalone-strict/persistentvolumeclaimlist.json index 349e3abc1d..406728a952 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimlist.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -427,7 +451,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -437,14 +464,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -454,7 +487,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -507,7 +543,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -560,7 +599,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -570,7 +612,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimspec-v1.json b/v1.12.2-standalone-strict/persistentvolumeclaimspec-v1.json index 25cf2bdb80..13510e54ea 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimspec-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimspec-v1.json @@ -44,7 +44,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -54,14 +57,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -71,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -124,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimspec.json b/v1.12.2-standalone-strict/persistentvolumeclaimspec.json index 25cf2bdb80..13510e54ea 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimspec.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimspec.json @@ -44,7 +44,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -54,14 +57,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -71,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -124,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimstatus-v1.json b/v1.12.2-standalone-strict/persistentvolumeclaimstatus-v1.json index 628d0712a4..1362fe1b00 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimstatus-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimstatus.json b/v1.12.2-standalone-strict/persistentvolumeclaimstatus.json index 628d0712a4..1362fe1b00 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimstatus.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource-v1.json b/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource-v1.json index 60126e673c..5e50108da8 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource.json b/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource.json index 60126e673c..5e50108da8 100644 --- a/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource.json +++ b/v1.12.2-standalone-strict/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/persistentvolumelist-v1.json b/v1.12.2-standalone-strict/persistentvolumelist-v1.json index 9b2b0f6bf6..ff7a7de0ee 100644 --- a/v1.12.2-standalone-strict/persistentvolumelist-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -421,12 +445,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -473,7 +503,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -487,7 +520,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -509,7 +545,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -519,7 +558,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -549,7 +591,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -603,7 +648,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -767,11 +815,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -798,12 +852,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -853,7 +913,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -863,7 +926,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -923,7 +989,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -932,7 +1001,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -954,7 +1026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -989,11 +1064,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1040,7 +1121,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1115,7 +1199,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1267,7 +1354,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1292,7 +1382,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1356,7 +1449,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1416,7 +1512,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1440,7 +1539,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1489,7 +1591,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/persistentvolumelist.json b/v1.12.2-standalone-strict/persistentvolumelist.json index 0d136bb733..902958ae43 100644 --- a/v1.12.2-standalone-strict/persistentvolumelist.json +++ b/v1.12.2-standalone-strict/persistentvolumelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -412,12 +436,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -464,7 +494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -478,7 +511,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -500,7 +536,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -510,7 +549,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -540,7 +582,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -594,7 +639,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -758,11 +806,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -789,12 +843,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -844,7 +904,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -854,7 +917,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -914,7 +980,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -923,7 +992,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -945,7 +1017,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -980,11 +1055,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1031,7 +1112,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1106,7 +1190,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1258,7 +1345,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1283,7 +1373,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1347,7 +1440,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1407,7 +1503,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1431,7 +1530,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1480,7 +1582,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/persistentvolumespec-v1.json b/v1.12.2-standalone-strict/persistentvolumespec-v1.json index 045e8457de..89e4e6bfba 100644 --- a/v1.12.2-standalone-strict/persistentvolumespec-v1.json +++ b/v1.12.2-standalone-strict/persistentvolumespec-v1.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -81,7 +87,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -95,7 +104,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -117,7 +129,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -157,7 +175,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -211,7 +232,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -375,11 +399,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,12 +436,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -461,7 +497,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +510,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -531,7 +573,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -540,7 +585,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -562,7 +610,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -597,11 +648,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -648,7 +705,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -723,7 +783,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -875,7 +938,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -900,7 +966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -964,7 +1033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1024,7 +1096,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1048,7 +1123,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1097,7 +1175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/persistentvolumespec.json b/v1.12.2-standalone-strict/persistentvolumespec.json index 045e8457de..89e4e6bfba 100644 --- a/v1.12.2-standalone-strict/persistentvolumespec.json +++ b/v1.12.2-standalone-strict/persistentvolumespec.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -81,7 +87,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -95,7 +104,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -117,7 +129,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -157,7 +175,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -211,7 +232,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -375,11 +399,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,12 +436,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -461,7 +497,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +510,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -531,7 +573,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -540,7 +585,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -562,7 +610,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -597,11 +648,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -648,7 +705,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -723,7 +783,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -875,7 +938,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -900,7 +966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -964,7 +1033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1024,7 +1096,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1048,7 +1123,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1097,7 +1175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/pod-v1.json b/v1.12.2-standalone-strict/pod-v1.json index 32b1ae9533..e6dc73f19f 100644 --- a/v1.12.2-standalone-strict/pod-v1.json +++ b/v1.12.2-standalone-strict/pod-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -654,7 +681,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -751,7 +781,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +886,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -950,7 +986,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -990,7 +1029,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1072,7 +1114,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1119,7 +1164,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1149,7 +1197,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1184,7 +1235,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1208,7 +1262,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1310,7 +1367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1346,7 +1406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1505,7 +1574,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1562,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1578,17 +1653,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1613,7 +1697,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1622,7 +1709,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1658,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1705,7 +1798,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1762,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,17 +1877,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1813,7 +1921,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1822,7 +1933,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1833,7 +1947,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1843,14 +1960,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1860,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +1999,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1909,7 +2038,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1920,20 +2052,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1975,11 +2119,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1997,7 +2147,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2056,7 +2209,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2186,15 +2342,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2308,7 +2473,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2355,7 +2523,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2385,7 +2556,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2420,7 +2594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2444,7 +2621,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2546,7 +2726,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2582,7 +2765,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2668,7 +2854,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2893,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2741,7 +2933,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2798,7 +2993,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2814,17 +3012,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2849,7 +3056,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2858,7 +3068,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2894,7 +3107,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2941,7 +3157,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2998,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,17 +3236,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3049,7 +3280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3058,7 +3292,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3069,7 +3306,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3079,14 +3319,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3096,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3358,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3145,7 +3397,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3156,20 +3411,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3211,11 +3478,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3233,7 +3506,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3292,7 +3568,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3329,7 +3608,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3339,7 +3621,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3395,21 +3680,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3453,7 +3750,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3501,7 +3801,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3512,7 +3815,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3547,7 +3853,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3588,12 +3897,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3640,7 +3955,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3654,7 +3972,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3692,7 +4013,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3739,7 +4063,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3766,7 +4093,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3788,7 +4118,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3808,7 +4141,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3855,7 +4194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3884,7 +4226,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3921,7 +4266,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3940,12 +4288,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3995,7 +4349,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4005,7 +4362,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4058,7 +4418,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4067,7 +4430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4116,7 +4482,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4151,11 +4520,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4202,7 +4577,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4241,7 +4619,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4262,7 +4643,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4302,7 +4686,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4319,7 +4706,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4350,7 +4740,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4370,7 +4763,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4412,7 +4808,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4441,7 +4840,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4481,7 +4883,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4501,7 +4906,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4521,7 +4929,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4554,7 +4965,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4618,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4671,7 +5088,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4688,7 +5108,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4723,7 +5146,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4745,7 +5171,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4758,7 +5187,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4782,7 +5214,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5007,7 +5442,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5116,7 +5554,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5254,7 +5695,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5363,7 +5807,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/pod.json b/v1.12.2-standalone-strict/pod.json index 0ede128d37..56764a7b97 100644 --- a/v1.12.2-standalone-strict/pod.json +++ b/v1.12.2-standalone-strict/pod.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -648,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -745,7 +775,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -847,7 +880,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -944,7 +980,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -984,7 +1023,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1066,7 +1108,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1113,7 +1158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1143,7 +1191,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1178,7 +1229,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1202,7 +1256,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1304,7 +1361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1340,7 +1400,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1426,7 +1489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1462,7 +1528,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1568,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1628,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1572,17 +1647,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1607,7 +1691,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1616,7 +1703,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1652,7 +1742,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1699,7 +1792,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1756,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1772,17 +1871,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1807,7 +1915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1927,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1827,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1837,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1854,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1867,7 +1993,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1903,7 +2032,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1914,20 +2046,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1969,11 +2113,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1991,7 +2141,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2050,7 +2203,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2180,15 +2336,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2302,7 +2467,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2349,7 +2517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2379,7 +2550,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2414,7 +2588,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2438,7 +2615,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2540,7 +2720,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2576,7 +2759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2662,7 +2848,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2698,7 +2887,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2735,7 +2927,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2792,7 +2987,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2808,17 +3006,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2843,7 +3050,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2852,7 +3062,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2888,7 +3101,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2935,7 +3151,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2992,7 +3211,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3008,17 +3230,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3043,7 +3274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3052,7 +3286,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3063,7 +3300,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3073,14 +3313,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3090,7 +3336,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3103,7 +3352,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3139,7 +3391,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3150,20 +3405,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3205,11 +3472,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3227,7 +3500,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3286,7 +3562,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3323,7 +3602,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3333,7 +3615,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3389,21 +3674,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3447,7 +3744,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3495,7 +3795,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3506,7 +3809,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3541,7 +3847,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3582,12 +3891,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3634,7 +3949,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3648,7 +3966,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3686,7 +4007,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3733,7 +4057,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3760,7 +4087,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3782,7 +4112,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3802,7 +4135,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3812,7 +4148,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3849,7 +4188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3878,7 +4220,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3915,7 +4260,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3934,12 +4282,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3989,7 +4343,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3999,7 +4356,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4061,7 +4424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4110,7 +4476,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4145,11 +4514,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4196,7 +4571,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4235,7 +4613,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4256,7 +4637,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4296,7 +4680,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4313,7 +4700,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4344,7 +4734,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4364,7 +4757,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4406,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4435,7 +4834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4475,7 +4877,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4495,7 +4900,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4515,7 +4923,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4548,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4612,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4665,7 +5082,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4682,7 +5102,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4717,7 +5140,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4739,7 +5165,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4752,7 +5181,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4776,7 +5208,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5001,7 +5436,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5110,7 +5548,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5248,7 +5689,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5357,7 +5801,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/podaffinity-v1.json b/v1.12.2-standalone-strict/podaffinity-v1.json index 0e63decbd9..5a1aedfa0b 100644 --- a/v1.12.2-standalone-strict/podaffinity-v1.json +++ b/v1.12.2-standalone-strict/podaffinity-v1.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podaffinity.json b/v1.12.2-standalone-strict/podaffinity.json index 0e63decbd9..5a1aedfa0b 100644 --- a/v1.12.2-standalone-strict/podaffinity.json +++ b/v1.12.2-standalone-strict/podaffinity.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podaffinityterm-v1.json b/v1.12.2-standalone-strict/podaffinityterm-v1.json index 7c13defd7d..9dd073dc27 100644 --- a/v1.12.2-standalone-strict/podaffinityterm-v1.json +++ b/v1.12.2-standalone-strict/podaffinityterm-v1.json @@ -49,7 +49,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podaffinityterm.json b/v1.12.2-standalone-strict/podaffinityterm.json index 7c13defd7d..9dd073dc27 100644 --- a/v1.12.2-standalone-strict/podaffinityterm.json +++ b/v1.12.2-standalone-strict/podaffinityterm.json @@ -49,7 +49,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podantiaffinity-v1.json b/v1.12.2-standalone-strict/podantiaffinity-v1.json index e0e70c3e2e..0fcd4395ef 100644 --- a/v1.12.2-standalone-strict/podantiaffinity-v1.json +++ b/v1.12.2-standalone-strict/podantiaffinity-v1.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podantiaffinity.json b/v1.12.2-standalone-strict/podantiaffinity.json index e0e70c3e2e..0fcd4395ef 100644 --- a/v1.12.2-standalone-strict/podantiaffinity.json +++ b/v1.12.2-standalone-strict/podantiaffinity.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/poddisruptionbudget-policy-v1beta1.json b/v1.12.2-standalone-strict/poddisruptionbudget-policy-v1beta1.json index 0ef6580c33..de4b6afa2d 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudget-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/poddisruptionbudget-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,7 +404,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -393,7 +420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -477,7 +510,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -499,7 +535,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/poddisruptionbudget.json b/v1.12.2-standalone-strict/poddisruptionbudget.json index c71ac2499b..3e43101024 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudget.json +++ b/v1.12.2-standalone-strict/poddisruptionbudget.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -387,7 +414,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -436,7 +466,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -493,7 +529,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json b/v1.12.2-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json index a5f4b5fab0..6785e622f3 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -414,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -463,7 +493,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -498,7 +531,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -520,7 +556,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/poddisruptionbudgetlist.json b/v1.12.2-standalone-strict/poddisruptionbudgetlist.json index a33eebe05f..b702aaad69 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudgetlist.json +++ b/v1.12.2-standalone-strict/poddisruptionbudgetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -289,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -332,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -392,7 +416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -405,7 +432,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -489,7 +522,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -511,7 +547,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json b/v1.12.2-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json index c56b2d226a..4872fff659 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -72,7 +78,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/poddisruptionbudgetspec.json b/v1.12.2-standalone-strict/poddisruptionbudgetspec.json index c56b2d226a..4872fff659 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudgetspec.json +++ b/v1.12.2-standalone-strict/poddisruptionbudgetspec.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -72,7 +78,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.2-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json index 2763c27acb..ffb5fa526b 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/poddisruptionbudgetstatus.json b/v1.12.2-standalone-strict/poddisruptionbudgetstatus.json index 2763c27acb..ffb5fa526b 100644 --- a/v1.12.2-standalone-strict/poddisruptionbudgetstatus.json +++ b/v1.12.2-standalone-strict/poddisruptionbudgetstatus.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/podlist-v1.json b/v1.12.2-standalone-strict/podlist-v1.json index 394efc4fef..9b9f6ca97d 100644 --- a/v1.12.2-standalone-strict/podlist-v1.json +++ b/v1.12.2-standalone-strict/podlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -676,7 +703,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -773,7 +803,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -875,7 +908,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -972,7 +1008,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1012,7 +1051,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1094,7 +1136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1141,7 +1186,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1171,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1206,7 +1257,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1230,7 +1284,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1332,7 +1389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1368,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1454,7 +1517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1490,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1527,7 +1596,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1584,7 +1656,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1600,17 +1675,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1635,7 +1719,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1644,7 +1731,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1680,7 +1770,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1727,7 +1820,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1784,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1800,17 +1899,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1835,7 +1943,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1844,7 +1955,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1855,7 +1969,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1865,14 +1982,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1882,7 +2005,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1895,7 +2021,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1931,7 +2060,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1942,20 +2074,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1997,11 +2141,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2019,7 +2169,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2078,7 +2231,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2208,15 +2364,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2330,7 +2495,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2377,7 +2545,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2407,7 +2578,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2442,7 +2616,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2466,7 +2643,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2568,7 +2748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2604,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2690,7 +2876,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2726,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2763,7 +2955,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2820,7 +3015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2836,17 +3034,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2871,7 +3078,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2880,7 +3090,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2916,7 +3129,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2963,7 +3179,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3020,7 +3239,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,17 +3258,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3071,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3080,7 +3314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3091,7 +3328,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3101,14 +3341,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3118,7 +3364,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3131,7 +3380,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3167,7 +3419,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3178,20 +3433,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3233,11 +3500,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3255,7 +3528,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3314,7 +3590,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3351,7 +3630,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3361,7 +3643,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3417,21 +3702,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3475,7 +3772,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3523,7 +3823,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3534,7 +3837,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3569,7 +3875,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3610,12 +3919,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3662,7 +3977,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3676,7 +3994,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3714,7 +4035,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3761,7 +4085,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3788,7 +4115,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3810,7 +4140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3830,7 +4163,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3840,7 +4176,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3877,7 +4216,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3906,7 +4248,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3943,7 +4288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3962,12 +4310,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4017,7 +4371,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4080,7 +4440,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4089,7 +4452,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4138,7 +4504,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4173,11 +4542,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4224,7 +4599,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4263,7 +4641,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4284,7 +4665,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4324,7 +4708,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4341,7 +4728,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4372,7 +4762,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4392,7 +4785,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4434,7 +4830,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4463,7 +4862,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4503,7 +4905,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4523,7 +4928,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4543,7 +4951,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4576,7 +4987,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4640,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4693,7 +5110,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4710,7 +5130,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4745,7 +5168,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4767,7 +5193,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5209,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4804,7 +5236,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5029,7 +5464,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5138,7 +5576,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5276,7 +5717,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5385,7 +5829,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/podlist.json b/v1.12.2-standalone-strict/podlist.json index 7d6035cba2..5d5d870c72 100644 --- a/v1.12.2-standalone-strict/podlist.json +++ b/v1.12.2-standalone-strict/podlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -667,7 +694,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,7 +794,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -866,7 +899,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -963,7 +999,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1042,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1085,7 +1127,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1132,7 +1177,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1210,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1197,7 +1248,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1221,7 +1275,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1323,7 +1380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1359,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1445,7 +1508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1481,7 +1547,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1518,7 +1587,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1575,7 +1647,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1591,17 +1666,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1626,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1635,7 +1722,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1671,7 +1761,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1718,7 +1811,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1775,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1791,17 +1890,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1826,7 +1934,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1835,7 +1946,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1846,7 +1960,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1856,14 +1973,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1873,7 +1996,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1886,7 +2012,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1922,7 +2051,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1933,20 +2065,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1988,11 +2132,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2010,7 +2160,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2069,7 +2222,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2199,15 +2355,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2321,7 +2486,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2368,7 +2536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2398,7 +2569,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2433,7 +2607,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2457,7 +2634,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2559,7 +2739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2595,7 +2778,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2681,7 +2867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2717,7 +2906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2754,7 +2946,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2811,7 +3006,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2827,17 +3025,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2862,7 +3069,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2871,7 +3081,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2907,7 +3120,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2954,7 +3170,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3011,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,17 +3249,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3062,7 +3293,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3071,7 +3305,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3082,7 +3319,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3092,14 +3332,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3109,7 +3355,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3122,7 +3371,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3158,7 +3410,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3169,20 +3424,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3224,11 +3491,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3246,7 +3519,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3305,7 +3581,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3342,7 +3621,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3352,7 +3634,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3408,21 +3693,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3466,7 +3763,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3514,7 +3814,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3525,7 +3828,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3560,7 +3866,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3601,12 +3910,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3653,7 +3968,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3667,7 +3985,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3705,7 +4026,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3752,7 +4076,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3779,7 +4106,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3801,7 +4131,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3821,7 +4154,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3831,7 +4167,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3868,7 +4207,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3897,7 +4239,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3934,7 +4279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3953,12 +4301,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4008,7 +4362,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4018,7 +4375,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4071,7 +4431,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4080,7 +4443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4129,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4164,11 +4533,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4215,7 +4590,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4254,7 +4632,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4275,7 +4656,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4315,7 +4699,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4332,7 +4719,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4363,7 +4753,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4383,7 +4776,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4425,7 +4821,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4454,7 +4853,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4494,7 +4896,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4514,7 +4919,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,7 +4942,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4567,7 +4978,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4631,7 +5045,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4684,7 +5101,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4701,7 +5121,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4736,7 +5159,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4758,7 +5184,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4771,7 +5200,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4795,7 +5227,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5020,7 +5455,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5129,7 +5567,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5267,7 +5708,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5376,7 +5820,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/podpreset-settings-v1alpha1.json b/v1.12.2-standalone-strict/podpreset-settings-v1alpha1.json index 784c25c141..81d9568baa 100644 --- a/v1.12.2-standalone-strict/podpreset-settings-v1alpha1.json +++ b/v1.12.2-standalone-strict/podpreset-settings-v1alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -416,7 +440,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -463,7 +490,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -493,7 +523,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -526,7 +559,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -550,7 +586,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -604,7 +643,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -645,7 +687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -685,12 +730,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -737,7 +788,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -751,7 +805,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -789,7 +846,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -836,7 +896,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -863,7 +926,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -885,7 +951,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -905,7 +974,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -915,7 +987,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -952,7 +1027,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -981,7 +1059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1018,7 +1099,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1037,12 +1121,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1092,7 +1182,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1102,7 +1195,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1155,7 +1251,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1164,7 +1263,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1213,7 +1315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1248,11 +1353,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1299,7 +1410,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1338,7 +1452,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1359,7 +1476,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1399,7 +1519,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1416,7 +1539,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1447,7 +1573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1467,7 +1596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1509,7 +1641,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1538,7 +1673,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1578,7 +1716,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1598,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1762,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1651,7 +1798,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1715,7 +1865,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1768,7 +1921,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1785,7 +1941,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1820,7 +1979,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1842,7 +2004,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1855,7 +2020,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1879,7 +2047,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podpreset.json b/v1.12.2-standalone-strict/podpreset.json index 501f271619..ca0218ed5f 100644 --- a/v1.12.2-standalone-strict/podpreset.json +++ b/v1.12.2-standalone-strict/podpreset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -410,7 +434,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -457,7 +484,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -487,7 +517,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -520,7 +553,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -544,7 +580,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -598,7 +637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -639,7 +681,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -679,12 +724,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -731,7 +782,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -745,7 +799,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -783,7 +840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -830,7 +890,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -857,7 +920,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -879,7 +945,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -899,7 +968,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -909,7 +981,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -946,7 +1021,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -975,7 +1053,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1012,7 +1093,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1031,12 +1115,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1086,7 +1176,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1096,7 +1189,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1149,7 +1245,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1158,7 +1257,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1207,7 +1309,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1242,11 +1347,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1293,7 +1404,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1332,7 +1446,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1353,7 +1470,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1393,7 +1513,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1410,7 +1533,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1441,7 +1567,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1461,7 +1590,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1503,7 +1635,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1532,7 +1667,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1572,7 +1710,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1592,7 +1733,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1612,7 +1756,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1645,7 +1792,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1709,7 +1859,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1762,7 +1915,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1779,7 +1935,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1814,7 +1973,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1836,7 +1998,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1849,7 +2014,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1873,7 +2041,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podpresetlist-settings-v1alpha1.json b/v1.12.2-standalone-strict/podpresetlist-settings-v1alpha1.json index 3f424ebc7d..06cb342b12 100644 --- a/v1.12.2-standalone-strict/podpresetlist-settings-v1alpha1.json +++ b/v1.12.2-standalone-strict/podpresetlist-settings-v1alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -438,7 +462,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -485,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -515,7 +545,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -548,7 +581,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -572,7 +608,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -626,7 +665,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -667,7 +709,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -707,12 +752,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -759,7 +810,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -773,7 +827,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -811,7 +868,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -858,7 +918,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -885,7 +948,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -907,7 +973,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -927,7 +996,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -937,7 +1009,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -974,7 +1049,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1003,7 +1081,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1040,7 +1121,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1059,12 +1143,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1114,7 +1204,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1124,7 +1217,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1177,7 +1273,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1186,7 +1285,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1235,7 +1337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1270,11 +1375,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1321,7 +1432,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1360,7 +1474,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1381,7 +1498,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1421,7 +1541,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1438,7 +1561,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1469,7 +1595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1489,7 +1618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1531,7 +1663,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1560,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1600,7 +1738,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1620,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1784,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1673,7 +1820,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1737,7 +1887,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1790,7 +1943,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1807,7 +1963,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1842,7 +2001,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1864,7 +2026,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1877,7 +2042,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1901,7 +2069,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podpresetlist.json b/v1.12.2-standalone-strict/podpresetlist.json index 1b3165ae11..34c30aaefc 100644 --- a/v1.12.2-standalone-strict/podpresetlist.json +++ b/v1.12.2-standalone-strict/podpresetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -476,7 +503,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -506,7 +536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -539,7 +572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -563,7 +599,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -617,7 +656,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -658,7 +700,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -698,12 +743,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -750,7 +801,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -764,7 +818,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -802,7 +859,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -849,7 +909,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -876,7 +939,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -898,7 +964,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -918,7 +987,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -928,7 +1000,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -965,7 +1040,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -994,7 +1072,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1031,7 +1112,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1050,12 +1134,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1105,7 +1195,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1115,7 +1208,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1168,7 +1264,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1177,7 +1276,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1226,7 +1328,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1261,11 +1366,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1312,7 +1423,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1351,7 +1465,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1372,7 +1489,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1412,7 +1532,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1429,7 +1552,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1460,7 +1586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1480,7 +1609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1522,7 +1654,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1551,7 +1686,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1591,7 +1729,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1611,7 +1752,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1631,7 +1775,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1664,7 +1811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1728,7 +1878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1781,7 +1934,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1798,7 +1954,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1833,7 +1992,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1855,7 +2017,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1868,7 +2033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1892,7 +2060,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podpresetspec-settings-v1alpha1.json b/v1.12.2-standalone-strict/podpresetspec-settings-v1alpha1.json index 79c9f7ab57..7439f4aa06 100644 --- a/v1.12.2-standalone-strict/podpresetspec-settings-v1alpha1.json +++ b/v1.12.2-standalone-strict/podpresetspec-settings-v1alpha1.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -93,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -123,7 +129,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -156,7 +165,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -180,7 +192,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -234,7 +249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -275,7 +293,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -315,12 +336,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -367,7 +394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -381,7 +411,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -419,7 +452,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -466,7 +502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -493,7 +532,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -515,7 +557,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -535,7 +580,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -545,7 +593,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -582,7 +633,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -611,7 +665,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -648,7 +705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -667,12 +727,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -722,7 +788,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -732,7 +801,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -785,7 +857,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -794,7 +869,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -843,7 +921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -878,11 +959,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -929,7 +1016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -968,7 +1058,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -989,7 +1082,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1029,7 +1125,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1046,7 +1145,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1077,7 +1179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1097,7 +1202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1139,7 +1247,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1168,7 +1279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1208,7 +1322,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1228,7 +1345,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1248,7 +1368,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1281,7 +1404,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1345,7 +1471,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1398,7 +1527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1415,7 +1547,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1450,7 +1585,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1472,7 +1610,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1485,7 +1626,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1509,7 +1653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podpresetspec.json b/v1.12.2-standalone-strict/podpresetspec.json index 79c9f7ab57..7439f4aa06 100644 --- a/v1.12.2-standalone-strict/podpresetspec.json +++ b/v1.12.2-standalone-strict/podpresetspec.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -93,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -123,7 +129,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -156,7 +165,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -180,7 +192,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -234,7 +249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -275,7 +293,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -315,12 +336,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -367,7 +394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -381,7 +411,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -419,7 +452,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -466,7 +502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -493,7 +532,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -515,7 +557,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -535,7 +580,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -545,7 +593,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -582,7 +633,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -611,7 +665,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -648,7 +705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -667,12 +727,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -722,7 +788,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -732,7 +801,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -785,7 +857,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -794,7 +869,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -843,7 +921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -878,11 +959,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -929,7 +1016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -968,7 +1058,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -989,7 +1082,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1029,7 +1125,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1046,7 +1145,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1077,7 +1179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1097,7 +1202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1139,7 +1247,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1168,7 +1279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1208,7 +1322,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1228,7 +1345,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1248,7 +1368,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1281,7 +1404,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1345,7 +1471,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1398,7 +1527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1415,7 +1547,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1450,7 +1585,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1472,7 +1610,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1485,7 +1626,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1509,7 +1653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podsecuritycontext-v1.json b/v1.12.2-standalone-strict/podsecuritycontext-v1.json index d8f2138941..ed5c6b393e 100644 --- a/v1.12.2-standalone-strict/podsecuritycontext-v1.json +++ b/v1.12.2-standalone-strict/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -61,7 +73,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/podsecuritycontext.json b/v1.12.2-standalone-strict/podsecuritycontext.json index d8f2138941..ed5c6b393e 100644 --- a/v1.12.2-standalone-strict/podsecuritycontext.json +++ b/v1.12.2-standalone-strict/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -61,7 +73,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/podsecuritypolicy-extensions-v1beta1.json b/v1.12.2-standalone-strict/podsecuritypolicy-extensions-v1beta1.json index 907a8f4cee..25f1e1463a 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicy-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/podsecuritypolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -432,7 +459,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -479,7 +509,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -536,15 +569,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -575,11 +617,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicy-policy-v1beta1.json b/v1.12.2-standalone-strict/podsecuritypolicy-policy-v1beta1.json index 2a742d18bd..82e71142a7 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicy-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/podsecuritypolicy-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -432,7 +459,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -479,7 +509,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -536,15 +569,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -575,11 +617,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicy.json b/v1.12.2-standalone-strict/podsecuritypolicy.json index 3bc08462c9..6a01d8abcd 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicy.json +++ b/v1.12.2-standalone-strict/podsecuritypolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -426,7 +453,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -473,7 +503,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -530,15 +563,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -569,11 +611,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json b/v1.12.2-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json index 5c67a67895..099954a64c 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -454,7 +481,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -501,7 +531,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -558,15 +591,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -597,11 +639,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicylist-policy-v1beta1.json b/v1.12.2-standalone-strict/podsecuritypolicylist-policy-v1beta1.json index 8a040c3415..30c19ecf24 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicylist-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/podsecuritypolicylist-policy-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -454,7 +481,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -501,7 +531,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -558,15 +591,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -597,11 +639,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicylist.json b/v1.12.2-standalone-strict/podsecuritypolicylist.json index 6f85bdd4f7..cc0415a4fd 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicylist.json +++ b/v1.12.2-standalone-strict/podsecuritypolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -392,7 +416,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -445,7 +472,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -492,7 +522,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -549,15 +582,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -588,11 +630,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.2-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json index 148118eeef..a82977e67d 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -62,7 +65,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -109,7 +115,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -166,15 +175,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -205,11 +223,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.2-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json index 0421ebcecf..2a3bc91c6f 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.2-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -62,7 +65,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -109,7 +115,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -166,15 +175,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -205,11 +223,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsecuritypolicyspec.json b/v1.12.2-standalone-strict/podsecuritypolicyspec.json index 0421ebcecf..2a3bc91c6f 100644 --- a/v1.12.2-standalone-strict/podsecuritypolicyspec.json +++ b/v1.12.2-standalone-strict/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -62,7 +65,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -109,7 +115,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -166,15 +175,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -205,11 +223,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta1.json index cf7fa0f597..d17d89c89d 100644 --- a/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta2.json index bb845fb981..1f5b0551d2 100644 --- a/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/podsmetricsource-autoscaling-v2beta2.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/podsmetricsource.json b/v1.12.2-standalone-strict/podsmetricsource.json index bb845fb981..1f5b0551d2 100644 --- a/v1.12.2-standalone-strict/podsmetricsource.json +++ b/v1.12.2-standalone-strict/podsmetricsource.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json index a047f6b0ca..a59ec34cd0 100644 --- a/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -70,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json index d131e449a7..7f21bab3b2 100644 --- a/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podsmetricstatus.json b/v1.12.2-standalone-strict/podsmetricstatus.json index d131e449a7..7f21bab3b2 100644 --- a/v1.12.2-standalone-strict/podsmetricstatus.json +++ b/v1.12.2-standalone-strict/podsmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/podspec-v1.json b/v1.12.2-standalone-strict/podspec-v1.json index 7f9397abb7..68638337f2 100644 --- a/v1.12.2-standalone-strict/podspec-v1.json +++ b/v1.12.2-standalone-strict/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -284,7 +287,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -381,7 +387,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +492,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -580,7 +592,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -620,7 +635,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -705,7 +723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -752,7 +773,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -782,7 +806,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -817,7 +844,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -841,7 +871,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -943,7 +976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -979,7 +1015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1065,7 +1104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1101,7 +1143,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1138,7 +1183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1195,7 +1243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1211,17 +1262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1246,7 +1306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1255,7 +1318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1291,7 +1357,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1338,7 +1407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1395,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,17 +1486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1446,7 +1530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1455,7 +1542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1466,7 +1556,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1476,14 +1569,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1493,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1506,7 +1608,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1542,7 +1647,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1553,20 +1661,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1608,11 +1728,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1630,7 +1756,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1689,7 +1818,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1819,15 +1951,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1941,7 +2082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1988,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2018,7 +2165,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2053,7 +2203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2077,7 +2230,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2179,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2215,7 +2374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2301,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2337,7 +2502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2374,7 +2542,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2431,7 +2602,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2447,17 +2621,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2482,7 +2665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2491,7 +2677,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2527,7 +2716,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2574,7 +2766,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2631,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2647,17 +2845,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2682,7 +2889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2901,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2702,7 +2915,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2712,14 +2928,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2729,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2742,7 +2967,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2778,7 +3006,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2789,20 +3020,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2844,11 +3087,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2866,7 +3115,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2925,7 +3177,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2962,7 +3217,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2972,7 +3230,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3028,21 +3289,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3086,7 +3359,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3134,7 +3410,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3145,7 +3424,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3180,7 +3462,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3221,12 +3506,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3273,7 +3564,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3287,7 +3581,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3325,7 +3622,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3372,7 +3672,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3399,7 +3702,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3421,7 +3727,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3441,7 +3750,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3451,7 +3763,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3488,7 +3803,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3517,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3554,7 +3875,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3573,12 +3897,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3628,7 +3958,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3971,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3700,7 +4039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3749,7 +4091,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3784,11 +4129,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3835,7 +4186,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3874,7 +4228,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3895,7 +4252,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3935,7 +4295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3952,7 +4315,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3983,7 +4349,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4003,7 +4372,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4045,7 +4417,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4074,7 +4449,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4114,7 +4492,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4134,7 +4515,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4154,7 +4538,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4187,7 +4574,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4251,7 +4641,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4304,7 +4697,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4717,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4356,7 +4755,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4378,7 +4780,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4391,7 +4796,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4415,7 +4823,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podspec.json b/v1.12.2-standalone-strict/podspec.json index 7f9397abb7..68638337f2 100644 --- a/v1.12.2-standalone-strict/podspec.json +++ b/v1.12.2-standalone-strict/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -284,7 +287,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -381,7 +387,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +492,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -580,7 +592,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -620,7 +635,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -705,7 +723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -752,7 +773,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -782,7 +806,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -817,7 +844,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -841,7 +871,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -943,7 +976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -979,7 +1015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1065,7 +1104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1101,7 +1143,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1138,7 +1183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1195,7 +1243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1211,17 +1262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1246,7 +1306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1255,7 +1318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1291,7 +1357,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1338,7 +1407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1395,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,17 +1486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1446,7 +1530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1455,7 +1542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1466,7 +1556,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1476,14 +1569,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1493,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1506,7 +1608,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1542,7 +1647,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1553,20 +1661,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1608,11 +1728,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1630,7 +1756,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1689,7 +1818,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1819,15 +1951,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1941,7 +2082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1988,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2018,7 +2165,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2053,7 +2203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2077,7 +2230,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2179,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2215,7 +2374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2301,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2337,7 +2502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2374,7 +2542,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2431,7 +2602,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2447,17 +2621,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2482,7 +2665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2491,7 +2677,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2527,7 +2716,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2574,7 +2766,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2631,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2647,17 +2845,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2682,7 +2889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2901,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2702,7 +2915,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2712,14 +2928,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2729,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2742,7 +2967,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2778,7 +3006,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2789,20 +3020,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2844,11 +3087,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2866,7 +3115,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2925,7 +3177,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2962,7 +3217,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2972,7 +3230,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3028,21 +3289,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3086,7 +3359,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3134,7 +3410,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3145,7 +3424,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3180,7 +3462,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3221,12 +3506,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3273,7 +3564,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3287,7 +3581,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3325,7 +3622,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3372,7 +3672,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3399,7 +3702,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3421,7 +3727,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3441,7 +3750,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3451,7 +3763,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3488,7 +3803,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3517,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3554,7 +3875,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3573,12 +3897,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3628,7 +3958,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3971,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3700,7 +4039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3749,7 +4091,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3784,11 +4129,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3835,7 +4186,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3874,7 +4228,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3895,7 +4252,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3935,7 +4295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3952,7 +4315,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3983,7 +4349,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4003,7 +4372,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4045,7 +4417,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4074,7 +4449,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4114,7 +4492,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4134,7 +4515,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4154,7 +4538,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4187,7 +4574,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4251,7 +4641,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4304,7 +4697,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4717,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4356,7 +4755,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4378,7 +4780,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4391,7 +4796,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4415,7 +4823,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podstatus-v1.json b/v1.12.2-standalone-strict/podstatus-v1.json index dd1bb5d316..a762d0ba23 100644 --- a/v1.12.2-standalone-strict/podstatus-v1.json +++ b/v1.12.2-standalone-strict/podstatus-v1.json @@ -148,7 +148,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -257,7 +260,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -395,7 +401,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -504,7 +513,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/podstatus.json b/v1.12.2-standalone-strict/podstatus.json index dd1bb5d316..a762d0ba23 100644 --- a/v1.12.2-standalone-strict/podstatus.json +++ b/v1.12.2-standalone-strict/podstatus.json @@ -148,7 +148,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -257,7 +260,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -395,7 +401,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -504,7 +513,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone-strict/podtemplate-v1.json b/v1.12.2-standalone-strict/podtemplate-v1.json index 733a05cad2..d318d114ca 100644 --- a/v1.12.2-standalone-strict/podtemplate-v1.json +++ b/v1.12.2-standalone-strict/podtemplate-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -401,7 +428,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -435,7 +465,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -478,7 +511,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -541,7 +577,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -627,7 +666,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -670,11 +712,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -726,7 +774,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1004,7 +1055,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,7 +1155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1203,7 +1260,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1300,7 +1360,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1340,7 +1403,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1422,7 +1488,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1469,7 +1538,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1499,7 +1571,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1534,7 +1609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1558,7 +1636,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1660,7 +1741,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1696,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1782,7 +1869,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1818,7 +1908,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1855,7 +1948,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1912,7 +2008,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1928,17 +2027,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1963,7 +2071,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1972,7 +2083,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2008,7 +2122,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2055,7 +2172,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2128,17 +2251,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2163,7 +2295,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2172,7 +2307,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2183,7 +2321,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2193,14 +2334,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2210,7 +2357,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2223,7 +2373,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2259,7 +2412,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2270,20 +2426,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2325,11 +2493,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2347,7 +2521,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2406,7 +2583,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2716,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2658,7 +2847,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2705,7 +2897,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2735,7 +2930,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2770,7 +2968,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2794,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2896,7 +3100,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2932,7 +3139,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3018,7 +3228,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3054,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3307,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3148,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3164,17 +3386,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3199,7 +3430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3208,7 +3442,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3244,7 +3481,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3291,7 +3531,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3348,7 +3591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3364,17 +3610,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3399,7 +3654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3408,7 +3666,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3419,7 +3680,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3429,14 +3693,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3446,7 +3716,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3459,7 +3732,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3495,7 +3771,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3506,20 +3785,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3561,11 +3852,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3583,7 +3880,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3642,7 +3942,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3679,7 +3982,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3689,7 +3995,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3745,21 +4054,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3803,7 +4124,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3851,7 +4175,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3862,7 +4189,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3897,7 +4227,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3938,12 +4271,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4329,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4004,7 +4346,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4042,7 +4387,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4089,7 +4437,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4116,7 +4467,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4492,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4158,7 +4515,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4528,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4205,7 +4568,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4600,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4271,7 +4640,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4290,12 +4662,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4345,7 +4723,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4355,7 +4736,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4408,7 +4792,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4417,7 +4804,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4466,7 +4856,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4501,11 +4894,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4552,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4591,7 +4993,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4612,7 +5017,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4652,7 +5060,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4669,7 +5080,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4700,7 +5114,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4720,7 +5137,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4762,7 +5182,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4791,7 +5214,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4831,7 +5257,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4851,7 +5280,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4871,7 +5303,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4904,7 +5339,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4968,7 +5406,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5021,7 +5462,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5038,7 +5482,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5073,7 +5520,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5095,7 +5545,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5108,7 +5561,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5132,7 +5588,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podtemplate.json b/v1.12.2-standalone-strict/podtemplate.json index 0e7de6fefa..387f0bb2c1 100644 --- a/v1.12.2-standalone-strict/podtemplate.json +++ b/v1.12.2-standalone-strict/podtemplate.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -395,7 +422,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -429,7 +459,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -469,7 +502,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -532,7 +568,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -618,7 +657,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -661,11 +703,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -717,7 +765,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -995,7 +1046,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1092,7 +1146,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1194,7 +1251,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1291,7 +1351,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1331,7 +1394,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1413,7 +1479,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1460,7 +1529,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1490,7 +1562,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1525,7 +1600,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1549,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1651,7 +1732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1687,7 +1771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1773,7 +1860,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1809,7 +1899,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1846,7 +1939,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1903,7 +1999,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1919,17 +2018,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1954,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1963,7 +2074,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1999,7 +2113,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2046,7 +2163,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2103,7 +2223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2119,17 +2242,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2154,7 +2286,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2163,7 +2298,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2174,7 +2312,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2184,14 +2325,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2201,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2214,7 +2364,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2250,7 +2403,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2261,20 +2417,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2316,11 +2484,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2338,7 +2512,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2397,7 +2574,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2527,15 +2707,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2649,7 +2838,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2696,7 +2888,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2726,7 +2921,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2761,7 +2959,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2785,7 +2986,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2887,7 +3091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2923,7 +3130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3009,7 +3219,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3258,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3082,7 +3298,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3139,7 +3358,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3155,17 +3377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3190,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3199,7 +3433,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3235,7 +3472,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3282,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3339,7 +3582,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3355,17 +3601,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3390,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3399,7 +3657,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3410,7 +3671,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3420,14 +3684,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3437,7 +3707,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3450,7 +3723,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3486,7 +3762,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3497,20 +3776,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3552,11 +3843,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3574,7 +3871,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3633,7 +3933,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3670,7 +3973,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3680,7 +3986,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3736,21 +4045,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3794,7 +4115,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3842,7 +4166,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3853,7 +4180,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3888,7 +4218,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3929,12 +4262,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3981,7 +4320,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3995,7 +4337,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4033,7 +4378,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4080,7 +4428,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4107,7 +4458,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4129,7 +4483,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4149,7 +4506,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4159,7 +4519,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4559,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4591,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4262,7 +4631,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4281,12 +4653,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4336,7 +4714,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4346,7 +4727,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4399,7 +4783,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4408,7 +4795,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4457,7 +4847,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4492,11 +4885,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4543,7 +4942,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4582,7 +4984,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4603,7 +5008,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,7 +5051,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4660,7 +5071,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4691,7 +5105,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5128,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4753,7 +5173,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4782,7 +5205,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4822,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4842,7 +5271,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4862,7 +5294,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4895,7 +5330,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4959,7 +5397,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5012,7 +5453,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5029,7 +5473,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5064,7 +5511,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5086,7 +5536,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5099,7 +5552,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5123,7 +5579,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podtemplatelist-v1.json b/v1.12.2-standalone-strict/podtemplatelist-v1.json index 5f9dd7061f..de044fd2b1 100644 --- a/v1.12.2-standalone-strict/podtemplatelist-v1.json +++ b/v1.12.2-standalone-strict/podtemplatelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -423,7 +450,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -457,7 +487,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -500,7 +533,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -563,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -649,7 +688,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -692,11 +734,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -748,7 +796,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1026,7 +1077,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1123,7 +1177,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1225,7 +1282,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1322,7 +1382,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1362,7 +1425,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1444,7 +1510,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1491,7 +1560,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1521,7 +1593,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1556,7 +1631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1580,7 +1658,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1682,7 +1763,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1718,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1804,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1840,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1877,7 +1970,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1934,7 +2030,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1950,17 +2049,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1985,7 +2093,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1994,7 +2105,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2030,7 +2144,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2077,7 +2194,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2150,17 +2273,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2185,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2194,7 +2329,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2205,7 +2343,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2215,14 +2356,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2232,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2245,7 +2395,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2281,7 +2434,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2292,20 +2448,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2347,11 +2515,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2369,7 +2543,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2428,7 +2605,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2558,15 +2738,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2680,7 +2869,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2727,7 +2919,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2757,7 +2952,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2792,7 +2990,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2816,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2918,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2954,7 +3161,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3040,7 +3250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3076,7 +3289,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3113,7 +3329,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3170,7 +3389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3186,17 +3408,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3221,7 +3452,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3230,7 +3464,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3266,7 +3503,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3313,7 +3553,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3370,7 +3613,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3386,17 +3632,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3421,7 +3676,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3430,7 +3688,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3441,7 +3702,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3451,14 +3715,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3468,7 +3738,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3481,7 +3754,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3517,7 +3793,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3528,20 +3807,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3583,11 +3874,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3605,7 +3902,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3664,7 +3964,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3701,7 +4004,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3711,7 +4017,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3767,21 +4076,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3825,7 +4146,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3873,7 +4197,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3884,7 +4211,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3919,7 +4249,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3960,12 +4293,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4012,7 +4351,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4026,7 +4368,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4064,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4111,7 +4459,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4138,7 +4489,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4537,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4190,7 +4550,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4227,7 +4590,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4256,7 +4622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4293,7 +4662,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4312,12 +4684,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4367,7 +4745,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4377,7 +4758,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4430,7 +4814,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4439,7 +4826,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4488,7 +4878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4523,11 +4916,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4574,7 +4973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4613,7 +5015,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4634,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4674,7 +5082,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4691,7 +5102,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4722,7 +5136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4742,7 +5159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4784,7 +5204,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4813,7 +5236,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4853,7 +5279,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4873,7 +5302,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4893,7 +5325,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4926,7 +5361,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4990,7 +5428,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5043,7 +5484,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5060,7 +5504,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5095,7 +5542,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5117,7 +5567,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5130,7 +5583,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5154,7 +5610,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podtemplatelist.json b/v1.12.2-standalone-strict/podtemplatelist.json index 8eac14faad..ed28a53a83 100644 --- a/v1.12.2-standalone-strict/podtemplatelist.json +++ b/v1.12.2-standalone-strict/podtemplatelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,7 +441,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -448,7 +478,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +521,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -551,7 +587,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -637,7 +676,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -680,11 +722,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -736,7 +784,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1014,7 +1065,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1111,7 +1165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1213,7 +1270,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1310,7 +1370,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1350,7 +1413,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1432,7 +1498,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1479,7 +1548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1509,7 +1581,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1544,7 +1619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1568,7 +1646,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1670,7 +1751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1706,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1792,7 +1879,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1828,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1865,7 +1958,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1922,7 +2018,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1938,17 +2037,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1973,7 +2081,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1982,7 +2093,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2018,7 +2132,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2065,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2122,7 +2242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2138,17 +2261,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2173,7 +2305,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2182,7 +2317,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2193,7 +2331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2233,7 +2383,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2269,7 +2422,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2280,20 +2436,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2335,11 +2503,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2357,7 +2531,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2416,7 +2593,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2546,15 +2726,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2668,7 +2857,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2715,7 +2907,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2745,7 +2940,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2780,7 +2978,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2804,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2906,7 +3110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2942,7 +3149,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3028,7 +3238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3064,7 +3277,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3101,7 +3317,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3158,7 +3377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3174,17 +3396,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3209,7 +3440,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3218,7 +3452,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3254,7 +3491,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3301,7 +3541,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3358,7 +3601,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3374,17 +3620,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3409,7 +3664,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3418,7 +3676,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3429,7 +3690,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3439,14 +3703,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3456,7 +3726,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3469,7 +3742,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3505,7 +3781,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3516,20 +3795,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3571,11 +3862,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3593,7 +3890,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3652,7 +3952,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3689,7 +3992,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3699,7 +4005,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3755,21 +4064,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3813,7 +4134,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3861,7 +4185,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3872,7 +4199,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3907,7 +4237,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3948,12 +4281,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4000,7 +4339,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4014,7 +4356,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4052,7 +4397,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4099,7 +4447,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4126,7 +4477,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4148,7 +4502,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4168,7 +4525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4178,7 +4538,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4215,7 +4578,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4610,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4281,7 +4650,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4300,12 +4672,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4355,7 +4733,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4365,7 +4746,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4418,7 +4802,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4427,7 +4814,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4476,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4511,11 +4904,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4562,7 +4961,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4601,7 +5003,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4622,7 +5027,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4662,7 +5070,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4679,7 +5090,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4710,7 +5124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4730,7 +5147,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4772,7 +5192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4801,7 +5224,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4841,7 +5267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4861,7 +5290,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4881,7 +5313,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4914,7 +5349,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4978,7 +5416,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5031,7 +5472,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5048,7 +5492,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5083,7 +5530,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5105,7 +5555,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5118,7 +5571,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5142,7 +5598,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podtemplatespec-v1.json b/v1.12.2-standalone-strict/podtemplatespec-v1.json index d0ce7ddbd1..a8f0498338 100644 --- a/v1.12.2-standalone-strict/podtemplatespec-v1.json +++ b/v1.12.2-standalone-strict/podtemplatespec-v1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -108,7 +117,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -171,7 +183,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -257,7 +272,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -300,11 +318,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -356,7 +380,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -634,7 +661,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -731,7 +761,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -833,7 +866,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -930,7 +966,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1009,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1052,7 +1094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1099,7 +1144,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1129,7 +1177,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1164,7 +1215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1188,7 +1242,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1290,7 +1347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1326,7 +1386,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1412,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1448,7 +1514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1485,7 +1554,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1542,7 +1614,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1558,17 +1633,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1593,7 +1677,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1602,7 +1689,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1638,7 +1728,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1685,7 +1778,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1742,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1758,17 +1857,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1793,7 +1901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1802,7 +1913,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1813,7 +1927,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1823,14 +1940,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1840,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1853,7 +1979,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1889,7 +2018,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1900,20 +2032,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1955,11 +2099,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1977,7 +2127,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2189,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2166,15 +2322,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2288,7 +2453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2335,7 +2503,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2365,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2400,7 +2574,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2424,7 +2601,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2526,7 +2706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2562,7 +2745,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2648,7 +2834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2684,7 +2873,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2721,7 +2913,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2778,7 +2973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2794,17 +2992,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2829,7 +3036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2838,7 +3048,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2874,7 +3087,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2921,7 +3137,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2978,7 +3197,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2994,17 +3216,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3029,7 +3260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3038,7 +3272,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3049,7 +3286,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3059,14 +3299,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3076,7 +3322,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3089,7 +3338,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3125,7 +3377,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3136,20 +3391,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3191,11 +3458,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3213,7 +3486,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3272,7 +3548,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3309,7 +3588,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3319,7 +3601,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3375,21 +3660,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3433,7 +3730,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3481,7 +3781,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3492,7 +3795,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3527,7 +3833,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3568,12 +3877,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3620,7 +3935,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3634,7 +3952,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3672,7 +3993,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3719,7 +4043,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3746,7 +4073,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3768,7 +4098,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3788,7 +4121,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3798,7 +4134,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3835,7 +4174,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3864,7 +4206,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3901,7 +4246,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3920,12 +4268,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3975,7 +4329,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3985,7 +4342,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4038,7 +4398,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4047,7 +4410,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4096,7 +4462,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4131,11 +4500,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4182,7 +4557,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4221,7 +4599,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4242,7 +4623,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4282,7 +4666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4299,7 +4686,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4330,7 +4720,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4350,7 +4743,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4392,7 +4788,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4421,7 +4820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4461,7 +4863,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4481,7 +4886,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4501,7 +4909,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4534,7 +4945,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4598,7 +5012,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4651,7 +5068,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4668,7 +5088,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4703,7 +5126,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4725,7 +5151,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4738,7 +5167,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4762,7 +5194,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/podtemplatespec.json b/v1.12.2-standalone-strict/podtemplatespec.json index 27746ff3ce..ee9127be81 100644 --- a/v1.12.2-standalone-strict/podtemplatespec.json +++ b/v1.12.2-standalone-strict/podtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -105,7 +114,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -168,7 +180,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -254,7 +269,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,11 +315,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -353,7 +377,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -631,7 +658,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -728,7 +758,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -830,7 +863,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -927,7 +963,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -967,7 +1006,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1049,7 +1091,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1096,7 +1141,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1126,7 +1174,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1161,7 +1212,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1185,7 +1239,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1287,7 +1344,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1323,7 +1383,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1409,7 +1472,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1445,7 +1511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1482,7 +1551,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1539,7 +1611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1555,17 +1630,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1590,7 +1674,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1599,7 +1686,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1635,7 +1725,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1682,7 +1775,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1739,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1755,17 +1854,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1790,7 +1898,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1799,7 +1910,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1810,7 +1924,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1820,14 +1937,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1837,7 +1960,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1850,7 +1976,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1886,7 +2015,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1897,20 +2029,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1952,11 +2096,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1974,7 +2124,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2033,7 +2186,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2163,15 +2319,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2285,7 +2450,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2332,7 +2500,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2362,7 +2533,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2397,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2421,7 +2598,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2523,7 +2703,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2559,7 +2742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2645,7 +2831,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2681,7 +2870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2718,7 +2910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2775,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2791,17 +2989,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2826,7 +3033,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2835,7 +3045,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2871,7 +3084,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2918,7 +3134,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2975,7 +3194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2991,17 +3213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3026,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3035,7 +3269,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3046,7 +3283,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3056,14 +3296,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3073,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3086,7 +3335,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3122,7 +3374,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3133,20 +3388,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3188,11 +3455,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3210,7 +3483,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3269,7 +3545,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3306,7 +3585,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3316,7 +3598,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3372,21 +3657,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3430,7 +3727,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3478,7 +3778,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3489,7 +3792,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3524,7 +3830,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3565,12 +3874,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3617,7 +3932,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3631,7 +3949,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3669,7 +3990,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3716,7 +4040,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3743,7 +4070,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3765,7 +4095,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3785,7 +4118,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3795,7 +4131,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3832,7 +4171,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3861,7 +4203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3898,7 +4243,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3917,12 +4265,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3972,7 +4326,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3982,7 +4339,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4035,7 +4395,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4044,7 +4407,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4093,7 +4459,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4128,11 +4497,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4179,7 +4554,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4218,7 +4596,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4239,7 +4620,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4279,7 +4663,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4296,7 +4683,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4327,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4347,7 +4740,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4389,7 +4785,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4418,7 +4817,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4458,7 +4860,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4478,7 +4883,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4498,7 +4906,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4531,7 +4942,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4595,7 +5009,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4648,7 +5065,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4665,7 +5085,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4700,7 +5123,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4722,7 +5148,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4735,7 +5164,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4759,7 +5191,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/portworxvolumesource-v1.json b/v1.12.2-standalone-strict/portworxvolumesource-v1.json index ffdcfa6aa5..17ff50e82c 100644 --- a/v1.12.2-standalone-strict/portworxvolumesource-v1.json +++ b/v1.12.2-standalone-strict/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2-standalone-strict/portworxvolumesource.json b/v1.12.2-standalone-strict/portworxvolumesource.json index ffdcfa6aa5..17ff50e82c 100644 --- a/v1.12.2-standalone-strict/portworxvolumesource.json +++ b/v1.12.2-standalone-strict/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2-standalone-strict/preferredschedulingterm-v1.json b/v1.12.2-standalone-strict/preferredschedulingterm-v1.json index 6a44683818..695792c799 100644 --- a/v1.12.2-standalone-strict/preferredschedulingterm-v1.json +++ b/v1.12.2-standalone-strict/preferredschedulingterm-v1.json @@ -89,7 +89,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/preferredschedulingterm.json b/v1.12.2-standalone-strict/preferredschedulingterm.json index 6a44683818..695792c799 100644 --- a/v1.12.2-standalone-strict/preferredschedulingterm.json +++ b/v1.12.2-standalone-strict/preferredschedulingterm.json @@ -89,7 +89,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/priorityclass-scheduling-v1alpha1.json b/v1.12.2-standalone-strict/priorityclass-scheduling-v1alpha1.json index 159ef85c3d..1202209182 100644 --- a/v1.12.2-standalone-strict/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.2-standalone-strict/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -142,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -291,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +411,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/priorityclass-scheduling-v1beta1.json b/v1.12.2-standalone-strict/priorityclass-scheduling-v1beta1.json index d7cda24ec3..8468bf3ff6 100644 --- a/v1.12.2-standalone-strict/priorityclass-scheduling-v1beta1.json +++ b/v1.12.2-standalone-strict/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -142,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -291,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +411,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/priorityclass.json b/v1.12.2-standalone-strict/priorityclass.json index 48abedaca1..b3410c65bb 100644 --- a/v1.12.2-standalone-strict/priorityclass.json +++ b/v1.12.2-standalone-strict/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -136,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -199,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -285,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -328,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +405,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1alpha1.json b/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1alpha1.json index 3d216acdbb..a87ae0ea7f 100644 --- a/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1alpha1.json +++ b/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1alpha1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -164,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -313,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1beta1.json b/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1beta1.json index 8a7351ba36..4a8e8f91a7 100644 --- a/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1beta1.json +++ b/v1.12.2-standalone-strict/priorityclasslist-scheduling-v1beta1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -164,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -313,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/priorityclasslist.json b/v1.12.2-standalone-strict/priorityclasslist.json index b5f90ecefa..04dbf4e1fe 100644 --- a/v1.12.2-standalone-strict/priorityclasslist.json +++ b/v1.12.2-standalone-strict/priorityclasslist.json @@ -39,7 +39,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -56,7 +59,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -81,7 +87,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -115,7 +124,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -155,7 +167,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -218,7 +233,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -304,7 +322,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -347,11 +368,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/probe-v1.json b/v1.12.2-standalone-strict/probe-v1.json index 896abf588a..ab51507978 100644 --- a/v1.12.2-standalone-strict/probe-v1.json +++ b/v1.12.2-standalone-strict/probe-v1.json @@ -22,7 +22,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -95,17 +101,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -130,7 +145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -139,7 +157,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/probe.json b/v1.12.2-standalone-strict/probe.json index 896abf588a..ab51507978 100644 --- a/v1.12.2-standalone-strict/probe.json +++ b/v1.12.2-standalone-strict/probe.json @@ -22,7 +22,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -95,17 +101,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -130,7 +145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -139,7 +157,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/projectedvolumesource-v1.json b/v1.12.2-standalone-strict/projectedvolumesource-v1.json index 6ccc132087..f8865a7cd1 100644 --- a/v1.12.2-standalone-strict/projectedvolumesource-v1.json +++ b/v1.12.2-standalone-strict/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -60,7 +66,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -102,7 +111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -131,7 +143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -171,7 +186,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -191,7 +209,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone-strict/projectedvolumesource.json b/v1.12.2-standalone-strict/projectedvolumesource.json index 6ccc132087..f8865a7cd1 100644 --- a/v1.12.2-standalone-strict/projectedvolumesource.json +++ b/v1.12.2-standalone-strict/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -60,7 +66,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -102,7 +111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -131,7 +143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -171,7 +186,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -191,7 +209,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone-strict/quantity-resource.json b/v1.12.2-standalone-strict/quantity-resource.json index 15fb8c684e..8047117a46 100644 --- a/v1.12.2-standalone-strict/quantity-resource.json +++ b/v1.12.2-standalone-strict/quantity-resource.json @@ -4,9 +4,10 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/quantity.json b/v1.12.2-standalone-strict/quantity.json index 15fb8c684e..8047117a46 100644 --- a/v1.12.2-standalone-strict/quantity.json +++ b/v1.12.2-standalone-strict/quantity.json @@ -4,9 +4,10 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/quobytevolumesource-v1.json b/v1.12.2-standalone-strict/quobytevolumesource-v1.json index bafa62eb93..c89b8309dd 100644 --- a/v1.12.2-standalone-strict/quobytevolumesource-v1.json +++ b/v1.12.2-standalone-strict/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2-standalone-strict/quobytevolumesource.json b/v1.12.2-standalone-strict/quobytevolumesource.json index bafa62eb93..c89b8309dd 100644 --- a/v1.12.2-standalone-strict/quobytevolumesource.json +++ b/v1.12.2-standalone-strict/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2-standalone-strict/rbdpersistentvolumesource-v1.json b/v1.12.2-standalone-strict/rbdpersistentvolumesource-v1.json index 384030c589..e545c45678 100644 --- a/v1.12.2-standalone-strict/rbdpersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/rbdpersistentvolumesource.json b/v1.12.2-standalone-strict/rbdpersistentvolumesource.json index 384030c589..e545c45678 100644 --- a/v1.12.2-standalone-strict/rbdpersistentvolumesource.json +++ b/v1.12.2-standalone-strict/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone-strict/rbdvolumesource-v1.json b/v1.12.2-standalone-strict/rbdvolumesource-v1.json index d8115f5faa..8e1ee9edbc 100644 --- a/v1.12.2-standalone-strict/rbdvolumesource-v1.json +++ b/v1.12.2-standalone-strict/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/rbdvolumesource.json b/v1.12.2-standalone-strict/rbdvolumesource.json index d8115f5faa..8e1ee9edbc 100644 --- a/v1.12.2-standalone-strict/rbdvolumesource.json +++ b/v1.12.2-standalone-strict/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicaset-apps-v1.json b/v1.12.2-standalone-strict/replicaset-apps-v1.json index 2d056d1aad..b5d0a4befa 100644 --- a/v1.12.2-standalone-strict/replicaset-apps-v1.json +++ b/v1.12.2-standalone-strict/replicaset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -550,7 +592,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -699,7 +747,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,11 +793,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -798,7 +855,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1076,7 +1136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1341,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1484,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1494,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1541,7 +1619,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1571,7 +1652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1606,7 +1690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1717,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1732,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1768,7 +1861,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1854,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,7 +1989,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1927,7 +2029,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1984,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2044,7 +2164,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2080,7 +2203,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2127,7 +2253,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2184,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2200,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2235,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2255,7 +2402,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,14 +2415,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2282,7 +2438,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2295,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2493,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2507,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2397,11 +2574,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2419,7 +2602,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2664,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2608,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2730,7 +2928,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2777,7 +2978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3011,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2842,7 +3049,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3076,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2968,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3004,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,7 +3348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3163,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3220,7 +3448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3236,17 +3467,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3271,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3280,7 +3523,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3316,7 +3562,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3363,7 +3612,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3420,7 +3672,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3436,17 +3691,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3471,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3491,7 +3761,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3501,14 +3774,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3518,7 +3797,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3531,7 +3813,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3567,7 +3852,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3578,20 +3866,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3633,11 +3933,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3655,7 +3961,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3714,7 +4023,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3751,7 +4063,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3761,7 +4076,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3817,21 +4135,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,7 +4205,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3923,7 +4256,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3934,7 +4270,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3969,7 +4308,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4010,12 +4352,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4062,7 +4410,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4076,7 +4427,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4114,7 +4468,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4161,7 +4518,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4188,7 +4548,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4210,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4230,7 +4596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4240,7 +4609,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4277,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4306,7 +4681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4343,7 +4721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4362,12 +4743,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4417,7 +4804,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4427,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4480,7 +4873,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4489,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4538,7 +4937,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,11 +4975,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4624,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4663,7 +5074,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4684,7 +5098,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4724,7 +5141,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4741,7 +5161,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4772,7 +5195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4834,7 +5263,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4863,7 +5295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4903,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5361,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5384,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4976,7 +5420,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5040,7 +5487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5093,7 +5543,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5145,7 +5601,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5167,7 +5626,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5180,7 +5642,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5204,7 +5669,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5293,7 +5761,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5347,17 +5818,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicaset-apps-v1beta2.json b/v1.12.2-standalone-strict/replicaset-apps-v1beta2.json index 22edf86049..78d53dfdd7 100644 --- a/v1.12.2-standalone-strict/replicaset-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/replicaset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -550,7 +592,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -699,7 +747,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,11 +793,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -798,7 +855,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1076,7 +1136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1341,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1484,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1494,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1541,7 +1619,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1571,7 +1652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1606,7 +1690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1717,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1732,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1768,7 +1861,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1854,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,7 +1989,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1927,7 +2029,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1984,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2044,7 +2164,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2080,7 +2203,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2127,7 +2253,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2184,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2200,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2235,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2255,7 +2402,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,14 +2415,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2282,7 +2438,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2295,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2493,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2507,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2397,11 +2574,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2419,7 +2602,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2664,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2608,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2730,7 +2928,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2777,7 +2978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3011,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2842,7 +3049,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3076,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2968,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3004,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,7 +3348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3163,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3220,7 +3448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3236,17 +3467,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3271,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3280,7 +3523,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3316,7 +3562,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3363,7 +3612,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3420,7 +3672,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3436,17 +3691,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3471,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3491,7 +3761,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3501,14 +3774,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3518,7 +3797,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3531,7 +3813,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3567,7 +3852,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3578,20 +3866,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3633,11 +3933,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3655,7 +3961,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3714,7 +4023,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3751,7 +4063,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3761,7 +4076,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3817,21 +4135,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,7 +4205,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3923,7 +4256,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3934,7 +4270,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3969,7 +4308,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4010,12 +4352,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4062,7 +4410,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4076,7 +4427,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4114,7 +4468,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4161,7 +4518,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4188,7 +4548,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4210,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4230,7 +4596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4240,7 +4609,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4277,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4306,7 +4681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4343,7 +4721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4362,12 +4743,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4417,7 +4804,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4427,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4480,7 +4873,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4489,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4538,7 +4937,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,11 +4975,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4624,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4663,7 +5074,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4684,7 +5098,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4724,7 +5141,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4741,7 +5161,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4772,7 +5195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4834,7 +5263,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4863,7 +5295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4903,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5361,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5384,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4976,7 +5420,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5040,7 +5487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5093,7 +5543,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5145,7 +5601,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5167,7 +5626,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5180,7 +5642,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5204,7 +5669,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5293,7 +5761,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5347,17 +5818,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicaset-extensions-v1beta1.json b/v1.12.2-standalone-strict/replicaset-extensions-v1beta1.json index 8b6819e792..ca493af5ad 100644 --- a/v1.12.2-standalone-strict/replicaset-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/replicaset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,12 +397,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -426,7 +456,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -445,7 +478,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +506,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -504,7 +543,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -547,7 +589,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -610,7 +655,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -795,7 +852,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1073,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1170,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1272,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1369,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1409,7 +1481,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1491,7 +1566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1538,7 +1616,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1568,7 +1649,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1603,7 +1687,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1627,7 +1714,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1729,7 +1819,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1851,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +1986,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1924,7 +2026,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1981,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1997,17 +2105,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2032,7 +2149,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2041,7 +2161,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2077,7 +2200,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2124,7 +2250,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2181,7 +2310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2197,17 +2329,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2232,7 +2373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2241,7 +2385,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2252,7 +2399,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2262,14 +2412,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,7 +2435,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2292,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2328,7 +2490,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2339,20 +2504,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2394,11 +2571,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2416,7 +2599,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2475,7 +2661,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2605,15 +2794,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2727,7 +2925,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2774,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2804,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2839,7 +3046,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2863,7 +3073,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2965,7 +3178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3001,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3087,7 +3306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3123,7 +3345,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3160,7 +3385,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3217,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3233,17 +3464,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3268,7 +3508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3277,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3313,7 +3559,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3360,7 +3609,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3417,7 +3669,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3433,17 +3688,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3468,7 +3732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3477,7 +3744,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3488,7 +3758,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3498,14 +3771,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3515,7 +3794,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3528,7 +3810,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3564,7 +3849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3575,20 +3863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3630,11 +3930,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3652,7 +3958,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3711,7 +4020,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3748,7 +4060,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3758,7 +4073,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3814,21 +4132,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3872,7 +4202,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3920,7 +4253,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3931,7 +4267,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3966,7 +4305,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4007,12 +4349,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4059,7 +4407,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4073,7 +4424,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4111,7 +4465,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4158,7 +4515,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4185,7 +4545,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4207,7 +4570,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4227,7 +4593,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4237,7 +4606,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4274,7 +4646,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4303,7 +4678,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4340,7 +4718,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4359,12 +4740,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4414,7 +4801,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4424,7 +4814,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4477,7 +4870,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4486,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4535,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4570,11 +4972,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4621,7 +5029,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4660,7 +5071,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4681,7 +5095,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4721,7 +5138,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4738,7 +5158,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4769,7 +5192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4789,7 +5215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4831,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4860,7 +5292,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4900,7 +5335,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4920,7 +5358,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4940,7 +5381,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4973,7 +5417,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5037,7 +5484,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5090,7 +5540,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5107,7 +5560,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5142,7 +5598,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5164,7 +5623,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5177,7 +5639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5201,7 +5666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5290,7 +5758,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5344,17 +5815,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicaset.json b/v1.12.2-standalone-strict/replicaset.json index 189169f6de..a420c8da64 100644 --- a/v1.12.2-standalone-strict/replicaset.json +++ b/v1.12.2-standalone-strict/replicaset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,12 +391,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +472,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +500,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +537,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -538,7 +580,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -687,7 +735,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -730,11 +781,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -786,7 +843,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1064,7 +1124,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1161,7 +1224,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1263,7 +1329,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1360,7 +1429,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1400,7 +1472,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1482,7 +1557,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1529,7 +1607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1559,7 +1640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1594,7 +1678,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1705,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1720,7 +1810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1756,7 +1849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1842,7 +1938,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1878,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1915,7 +2017,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1972,7 +2077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1988,17 +2096,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2023,7 +2140,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2032,7 +2152,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2068,7 +2191,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2115,7 +2241,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2172,7 +2301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2188,17 +2320,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2223,7 +2364,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2232,7 +2376,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2243,7 +2390,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2253,14 +2403,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,7 +2426,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2283,7 +2442,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2319,7 +2481,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2330,20 +2495,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2562,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2590,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2466,7 +2652,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2596,15 +2785,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2718,7 +2916,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2765,7 +2966,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2795,7 +2999,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2830,7 +3037,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2854,7 +3064,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2956,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2992,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3297,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3114,7 +3336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3151,7 +3376,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3208,7 +3436,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3224,17 +3455,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3259,7 +3499,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3268,7 +3511,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3304,7 +3550,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3351,7 +3600,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3408,7 +3660,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3424,17 +3679,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3459,7 +3723,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3468,7 +3735,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3479,7 +3749,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3489,14 +3762,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3506,7 +3785,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3519,7 +3801,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3555,7 +3840,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3566,20 +3854,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3621,11 +3921,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3643,7 +3949,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3702,7 +4011,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3739,7 +4051,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3749,7 +4064,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3805,21 +4123,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3863,7 +4193,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3911,7 +4244,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3922,7 +4258,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3957,7 +4296,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3998,12 +4340,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4050,7 +4398,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4064,7 +4415,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4102,7 +4456,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4149,7 +4506,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4176,7 +4536,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4198,7 +4561,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4218,7 +4584,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4597,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4265,7 +4637,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4294,7 +4669,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4331,7 +4709,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4350,12 +4731,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4405,7 +4792,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4415,7 +4805,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4468,7 +4861,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4477,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4526,7 +4925,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,11 +4963,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4612,7 +5020,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4651,7 +5062,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4672,7 +5086,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4712,7 +5129,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4729,7 +5149,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4760,7 +5183,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5206,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4822,7 +5251,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4851,7 +5283,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4891,7 +5326,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4911,7 +5349,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4931,7 +5372,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4964,7 +5408,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5028,7 +5475,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5081,7 +5531,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5098,7 +5551,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5133,7 +5589,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5155,7 +5614,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5168,7 +5630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5192,7 +5657,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5281,7 +5749,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5335,17 +5806,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicasetlist-apps-v1.json b/v1.12.2-standalone-strict/replicasetlist-apps-v1.json index d1b302062c..fd62a4b84d 100644 --- a/v1.12.2-standalone-strict/replicasetlist-apps-v1.json +++ b/v1.12.2-standalone-strict/replicasetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -451,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -495,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -529,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5315,7 +5783,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5369,17 +5840,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicasetlist-apps-v1beta2.json b/v1.12.2-standalone-strict/replicasetlist-apps-v1beta2.json index 2c06094756..f941c8a3df 100644 --- a/v1.12.2-standalone-strict/replicasetlist-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/replicasetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -451,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -495,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -529,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5315,7 +5783,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5369,17 +5840,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicasetlist-extensions-v1beta1.json b/v1.12.2-standalone-strict/replicasetlist-extensions-v1beta1.json index 76924e76c9..d817b95994 100644 --- a/v1.12.2-standalone-strict/replicasetlist-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/replicasetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,12 +419,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -448,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +500,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -492,7 +528,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -526,7 +565,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -569,7 +611,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -632,7 +677,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -718,7 +766,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -761,11 +812,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -817,7 +874,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1095,7 +1155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1192,7 +1255,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1294,7 +1360,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1391,7 +1460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1431,7 +1503,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1513,7 +1588,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1560,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1590,7 +1671,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1625,7 +1709,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1649,7 +1736,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1751,7 +1841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1787,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1873,7 +1969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1909,7 +2008,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1946,7 +2048,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2003,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2019,17 +2127,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2054,7 +2171,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2063,7 +2183,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2099,7 +2222,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2146,7 +2272,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2203,7 +2332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2219,17 +2351,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2254,7 +2395,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2263,7 +2407,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2274,7 +2421,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2284,14 +2434,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2301,7 +2457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2314,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2350,7 +2512,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2361,20 +2526,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2416,11 +2593,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2438,7 +2621,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2497,7 +2683,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2627,15 +2816,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2749,7 +2947,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2796,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2826,7 +3030,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2861,7 +3068,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2885,7 +3095,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2987,7 +3200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3239,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3109,7 +3328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3145,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3239,7 +3467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3255,17 +3486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3290,7 +3530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3299,7 +3542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3335,7 +3581,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3382,7 +3631,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3439,7 +3691,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3455,17 +3710,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3490,7 +3754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3499,7 +3766,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3510,7 +3780,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3520,14 +3793,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3537,7 +3816,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3550,7 +3832,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3586,7 +3871,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3597,20 +3885,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3652,11 +3952,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3674,7 +3980,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3733,7 +4042,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3770,7 +4082,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3780,7 +4095,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3836,21 +4154,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3894,7 +4224,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3942,7 +4275,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3953,7 +4289,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3988,7 +4327,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4029,12 +4371,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4081,7 +4429,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4095,7 +4446,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4133,7 +4487,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4180,7 +4537,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4207,7 +4567,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4229,7 +4592,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4249,7 +4615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4259,7 +4628,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4296,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4325,7 +4700,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4362,7 +4740,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4381,12 +4762,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4436,7 +4823,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4446,7 +4836,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4499,7 +4892,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4508,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4557,7 +4956,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4592,11 +4994,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4643,7 +5051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4682,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4703,7 +5117,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4743,7 +5160,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4760,7 +5180,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4791,7 +5214,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4811,7 +5237,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4853,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4882,7 +5314,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4922,7 +5357,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4942,7 +5380,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4962,7 +5403,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4995,7 +5439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5059,7 +5506,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5112,7 +5562,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5129,7 +5582,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5164,7 +5620,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5186,7 +5645,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5199,7 +5661,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5223,7 +5688,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5312,7 +5780,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5366,17 +5837,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicasetlist.json b/v1.12.2-standalone-strict/replicasetlist.json index 6e6bf725fe..44d43d6b14 100644 --- a/v1.12.2-standalone-strict/replicasetlist.json +++ b/v1.12.2-standalone-strict/replicasetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,12 +410,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -439,7 +469,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +491,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +519,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -517,7 +556,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -557,7 +599,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -620,7 +665,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -805,7 +862,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1083,7 +1143,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1180,7 +1243,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1282,7 +1348,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1379,7 +1448,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1419,7 +1491,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1501,7 +1576,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1548,7 +1626,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1578,7 +1659,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1613,7 +1697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1637,7 +1724,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1739,7 +1829,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1775,7 +1868,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1957,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1897,7 +1996,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2036,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1991,7 +2096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2007,17 +2115,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2042,7 +2159,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2051,7 +2171,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2087,7 +2210,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2134,7 +2260,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2191,7 +2320,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2339,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2383,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2251,7 +2395,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2262,7 +2409,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2272,14 +2422,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2289,7 +2445,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2302,7 +2461,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2338,7 +2500,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2349,20 +2514,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2404,11 +2581,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2426,7 +2609,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2485,7 +2671,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2615,15 +2804,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2737,7 +2935,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2784,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2814,7 +3018,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2849,7 +3056,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2873,7 +3083,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2975,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3227,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3097,7 +3316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3133,7 +3355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3395,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3227,7 +3455,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3243,17 +3474,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3278,7 +3518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3287,7 +3530,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3323,7 +3569,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3370,7 +3619,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3427,7 +3679,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3443,17 +3698,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3478,7 +3742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3487,7 +3754,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3498,7 +3768,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3508,14 +3781,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3525,7 +3804,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3538,7 +3820,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3574,7 +3859,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3585,20 +3873,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3640,11 +3940,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3662,7 +3968,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3721,7 +4030,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3758,7 +4070,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3768,7 +4083,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3824,21 +4142,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3882,7 +4212,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3930,7 +4263,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3941,7 +4277,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3976,7 +4315,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4017,12 +4359,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4069,7 +4417,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4083,7 +4434,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4121,7 +4475,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4168,7 +4525,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4195,7 +4555,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4217,7 +4580,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4237,7 +4603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4247,7 +4616,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4284,7 +4656,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4313,7 +4688,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4350,7 +4728,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4369,12 +4750,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4424,7 +4811,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4434,7 +4824,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4487,7 +4880,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4496,7 +4892,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4545,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4580,11 +4982,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4631,7 +5039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4670,7 +5081,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4691,7 +5105,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4731,7 +5148,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4748,7 +5168,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4779,7 +5202,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4799,7 +5225,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4841,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4910,7 +5345,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4930,7 +5368,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4950,7 +5391,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4983,7 +5427,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5047,7 +5494,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5100,7 +5550,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5570,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5152,7 +5608,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5174,7 +5633,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5187,7 +5649,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5211,7 +5676,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5300,7 +5768,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5354,17 +5825,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicasetspec-apps-v1.json b/v1.12.2-standalone-strict/replicasetspec-apps-v1.json index 7a598ffc8c..d4d68a6a12 100644 --- a/v1.12.2-standalone-strict/replicasetspec-apps-v1.json +++ b/v1.12.2-standalone-strict/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -243,7 +264,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +353,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +399,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +461,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -706,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,7 +842,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -905,7 +947,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1002,7 +1047,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1042,7 +1090,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1171,7 +1225,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1201,7 +1258,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1236,7 +1296,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1260,7 +1323,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1362,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1398,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1484,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1520,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1557,7 +1635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1630,17 +1714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1674,7 +1770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1710,7 +1809,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1757,7 +1859,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,17 +1938,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1865,7 +1982,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1994,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1885,7 +2008,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2021,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2044,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1925,7 +2060,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1961,7 +2099,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1972,20 +2113,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2027,11 +2180,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2049,7 +2208,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2108,7 +2270,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2238,15 +2403,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2407,7 +2584,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2437,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2472,7 +2655,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2496,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2598,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2634,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2720,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2756,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2793,7 +2994,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2850,7 +3054,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2866,17 +3073,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2901,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2910,7 +3129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2946,7 +3168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2993,7 +3218,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3066,17 +3297,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3101,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3353,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3121,7 +3367,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3131,14 +3380,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3148,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3161,7 +3419,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3197,7 +3458,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3208,20 +3472,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3263,11 +3539,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3285,7 +3567,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3344,7 +3629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3381,7 +3669,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3391,7 +3682,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3447,21 +3741,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3505,7 +3811,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3553,7 +3862,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3564,7 +3876,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3599,7 +3914,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3640,12 +3958,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3692,7 +4016,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3706,7 +4033,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3744,7 +4074,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3791,7 +4124,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3860,7 +4202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3870,7 +4215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3936,7 +4287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3973,7 +4327,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3992,12 +4349,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4047,7 +4410,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4057,7 +4423,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4479,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4119,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4543,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4203,11 +4581,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4254,7 +4638,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4293,7 +4680,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4314,7 +4704,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4354,7 +4747,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4371,7 +4767,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4402,7 +4801,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4422,7 +4824,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4464,7 +4869,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4493,7 +4901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4533,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4967,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,7 +4990,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4606,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4740,7 +5169,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4775,7 +5207,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4797,7 +5232,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4810,7 +5248,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4834,7 +5275,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicasetspec-apps-v1beta2.json b/v1.12.2-standalone-strict/replicasetspec-apps-v1beta2.json index 7a598ffc8c..d4d68a6a12 100644 --- a/v1.12.2-standalone-strict/replicasetspec-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -243,7 +264,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +353,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +399,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +461,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -706,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,7 +842,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -905,7 +947,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1002,7 +1047,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1042,7 +1090,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1171,7 +1225,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1201,7 +1258,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1236,7 +1296,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1260,7 +1323,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1362,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1398,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1484,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1520,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1557,7 +1635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1630,17 +1714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1674,7 +1770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1710,7 +1809,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1757,7 +1859,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,17 +1938,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1865,7 +1982,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1994,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1885,7 +2008,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2021,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2044,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1925,7 +2060,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1961,7 +2099,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1972,20 +2113,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2027,11 +2180,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2049,7 +2208,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2108,7 +2270,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2238,15 +2403,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2407,7 +2584,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2437,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2472,7 +2655,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2496,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2598,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2634,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2720,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2756,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2793,7 +2994,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2850,7 +3054,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2866,17 +3073,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2901,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2910,7 +3129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2946,7 +3168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2993,7 +3218,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3066,17 +3297,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3101,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3353,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3121,7 +3367,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3131,14 +3380,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3148,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3161,7 +3419,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3197,7 +3458,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3208,20 +3472,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3263,11 +3539,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3285,7 +3567,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3344,7 +3629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3381,7 +3669,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3391,7 +3682,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3447,21 +3741,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3505,7 +3811,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3553,7 +3862,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3564,7 +3876,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3599,7 +3914,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3640,12 +3958,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3692,7 +4016,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3706,7 +4033,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3744,7 +4074,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3791,7 +4124,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3860,7 +4202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3870,7 +4215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3936,7 +4287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3973,7 +4327,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3992,12 +4349,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4047,7 +4410,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4057,7 +4423,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4479,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4119,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4543,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4203,11 +4581,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4254,7 +4638,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4293,7 +4680,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4314,7 +4704,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4354,7 +4747,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4371,7 +4767,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4402,7 +4801,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4422,7 +4824,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4464,7 +4869,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4493,7 +4901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4533,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4967,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,7 +4990,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4606,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4740,7 +5169,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4775,7 +5207,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4797,7 +5232,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4810,7 +5248,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4834,7 +5275,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicasetspec-extensions-v1beta1.json b/v1.12.2-standalone-strict/replicasetspec-extensions-v1beta1.json index 64baf3a6a5..fcac2d71a6 100644 --- a/v1.12.2-standalone-strict/replicasetspec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -56,7 +62,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +84,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +112,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +149,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -326,7 +350,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -369,11 +396,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +458,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -703,7 +739,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -800,7 +839,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -902,7 +944,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -999,7 +1044,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1039,7 +1087,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1121,7 +1172,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1168,7 +1222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1198,7 +1255,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1233,7 +1293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1257,7 +1320,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1359,7 +1425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1395,7 +1464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1481,7 +1553,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1517,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1632,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1611,7 +1692,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1627,17 +1711,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1662,7 +1755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1671,7 +1767,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1707,7 +1806,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1754,7 +1856,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1811,7 +1916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1827,17 +1935,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1862,7 +1979,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1871,7 +1991,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1882,7 +2005,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1892,14 +2018,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,7 +2041,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1922,7 +2057,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1958,7 +2096,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1969,20 +2110,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2024,11 +2177,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2046,7 +2205,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2105,7 +2267,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2235,15 +2400,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2357,7 +2531,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2404,7 +2581,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2434,7 +2614,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2469,7 +2652,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2493,7 +2679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2595,7 +2784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2631,7 +2823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2717,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2753,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +2991,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2847,7 +3051,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2863,17 +3070,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2898,7 +3114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2907,7 +3126,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2943,7 +3165,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2990,7 +3215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3047,7 +3275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3063,17 +3294,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3098,7 +3338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3107,7 +3350,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3118,7 +3364,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3128,14 +3377,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3145,7 +3400,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3158,7 +3416,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3194,7 +3455,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3205,20 +3469,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3260,11 +3536,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3282,7 +3564,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3341,7 +3626,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3378,7 +3666,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3388,7 +3679,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3444,21 +3738,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3502,7 +3808,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3550,7 +3859,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3561,7 +3873,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3596,7 +3911,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3637,12 +3955,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3689,7 +4013,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3703,7 +4030,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3741,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3788,7 +4121,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3815,7 +4151,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3837,7 +4176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3857,7 +4199,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3867,7 +4212,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3904,7 +4252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3933,7 +4284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3970,7 +4324,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3989,12 +4346,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4044,7 +4407,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4054,7 +4420,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4107,7 +4476,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4116,7 +4488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4165,7 +4540,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4200,11 +4578,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4251,7 +4635,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4290,7 +4677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4311,7 +4701,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4351,7 +4744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4368,7 +4764,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4399,7 +4798,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4419,7 +4821,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4461,7 +4866,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4898,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4530,7 +4941,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4550,7 +4964,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4570,7 +4987,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4603,7 +5023,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4667,7 +5090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4720,7 +5146,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4737,7 +5166,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4772,7 +5204,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4794,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4807,7 +5245,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4831,7 +5272,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicasetspec.json b/v1.12.2-standalone-strict/replicasetspec.json index d1435ba6a9..8b93a04f91 100644 --- a/v1.12.2-standalone-strict/replicasetspec.json +++ b/v1.12.2-standalone-strict/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -56,7 +62,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +84,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +112,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +149,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +192,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -237,7 +258,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -323,7 +347,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -366,11 +393,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -422,7 +455,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -700,7 +736,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -797,7 +836,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -899,7 +941,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -996,7 +1041,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1036,7 +1084,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1118,7 +1169,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1165,7 +1219,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1195,7 +1252,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1230,7 +1290,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1254,7 +1317,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1356,7 +1422,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1392,7 +1461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1478,7 +1550,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1514,7 +1589,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1551,7 +1629,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1608,7 +1689,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1624,17 +1708,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1659,7 +1752,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1668,7 +1764,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1704,7 +1803,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1751,7 +1853,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1808,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1824,17 +1932,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1859,7 +1976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1868,7 +1988,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1879,7 +2002,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1889,14 +2015,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1906,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1919,7 +2054,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1955,7 +2093,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1966,20 +2107,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2021,11 +2174,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2043,7 +2202,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2102,7 +2264,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2232,15 +2397,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2354,7 +2528,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2401,7 +2578,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2431,7 +2611,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2466,7 +2649,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2490,7 +2676,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2592,7 +2781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2628,7 +2820,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2714,7 +2909,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2750,7 +2948,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2787,7 +2988,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2844,7 +3048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2860,17 +3067,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2895,7 +3111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2904,7 +3123,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2940,7 +3162,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2987,7 +3212,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3044,7 +3272,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3060,17 +3291,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3095,7 +3335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3104,7 +3347,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3115,7 +3361,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3125,14 +3374,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3142,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3155,7 +3413,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3191,7 +3452,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3202,20 +3466,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3257,11 +3533,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3279,7 +3561,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3338,7 +3623,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3375,7 +3663,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3385,7 +3676,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3441,21 +3735,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3499,7 +3805,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3547,7 +3856,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3558,7 +3870,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3593,7 +3908,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3634,12 +3952,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3686,7 +4010,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3700,7 +4027,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3738,7 +4068,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3785,7 +4118,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3812,7 +4148,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3834,7 +4173,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3854,7 +4196,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3864,7 +4209,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3901,7 +4249,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3930,7 +4281,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3967,7 +4321,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3986,12 +4343,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4041,7 +4404,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4051,7 +4417,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4104,7 +4473,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4113,7 +4485,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4162,7 +4537,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4197,11 +4575,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4248,7 +4632,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4287,7 +4674,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4308,7 +4698,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4348,7 +4741,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4365,7 +4761,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4396,7 +4795,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4416,7 +4818,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4458,7 +4863,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4487,7 +4895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4527,7 +4938,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4547,7 +4961,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4567,7 +4984,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4600,7 +5020,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4664,7 +5087,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4717,7 +5143,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4734,7 +5163,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4769,7 +5201,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4791,7 +5226,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4804,7 +5242,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4828,7 +5269,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicasetstatus-apps-v1.json b/v1.12.2-standalone-strict/replicasetstatus-apps-v1.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.2-standalone-strict/replicasetstatus-apps-v1.json +++ b/v1.12.2-standalone-strict/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/replicasetstatus-apps-v1beta2.json b/v1.12.2-standalone-strict/replicasetstatus-apps-v1beta2.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.2-standalone-strict/replicasetstatus-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/replicasetstatus-extensions-v1beta1.json b/v1.12.2-standalone-strict/replicasetstatus-extensions-v1beta1.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.2-standalone-strict/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/replicasetstatus.json b/v1.12.2-standalone-strict/replicasetstatus.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.2-standalone-strict/replicasetstatus.json +++ b/v1.12.2-standalone-strict/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/replicationcontroller-v1.json b/v1.12.2-standalone-strict/replicationcontroller-v1.json index 14cc52234f..8556d47d77 100644 --- a/v1.12.2-standalone-strict/replicationcontroller-v1.json +++ b/v1.12.2-standalone-strict/replicationcontroller-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,17 +397,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -399,7 +432,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -424,7 +460,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -458,7 +497,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -501,7 +543,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -564,7 +609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -650,7 +698,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -693,11 +744,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -749,7 +806,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1027,7 +1087,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1124,7 +1187,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1226,7 +1292,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1323,7 +1392,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1363,7 +1435,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1445,7 +1520,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1492,7 +1570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1522,7 +1603,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1557,7 +1641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1581,7 +1668,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1683,7 +1773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1719,7 +1812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1805,7 +1901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1841,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1878,7 +1980,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1935,7 +2040,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1951,17 +2059,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1986,7 +2103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1995,7 +2115,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2031,7 +2154,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2135,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,17 +2283,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2186,7 +2327,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2195,7 +2339,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2206,7 +2353,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2216,14 +2366,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2233,7 +2389,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2246,7 +2405,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2282,7 +2444,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2293,20 +2458,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2348,11 +2525,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2370,7 +2553,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2429,7 +2615,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2559,15 +2748,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2681,7 +2879,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2728,7 +2929,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2758,7 +2962,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2793,7 +3000,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2817,7 +3027,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2919,7 +3132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2955,7 +3171,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3041,7 +3260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3077,7 +3299,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,7 +3339,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3171,7 +3399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3187,17 +3418,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3222,7 +3462,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3231,7 +3474,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3267,7 +3513,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3314,7 +3563,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3371,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3387,17 +3642,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3422,7 +3686,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3698,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3442,7 +3712,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3452,14 +3725,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3469,7 +3748,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3482,7 +3764,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3518,7 +3803,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3529,20 +3817,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3584,11 +3884,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3606,7 +3912,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3665,7 +3974,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3702,7 +4014,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3712,7 +4027,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3768,21 +4086,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3826,7 +4156,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3874,7 +4207,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3885,7 +4221,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3920,7 +4259,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3961,12 +4303,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4013,7 +4361,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4027,7 +4378,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4065,7 +4419,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4112,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4139,7 +4499,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4161,7 +4524,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4181,7 +4547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4191,7 +4560,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4228,7 +4600,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4257,7 +4632,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4294,7 +4672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4313,12 +4694,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4368,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4378,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4431,7 +4824,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4440,7 +4836,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4489,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,11 +4926,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4575,7 +4983,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4614,7 +5025,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4635,7 +5049,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4675,7 +5092,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4692,7 +5112,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4723,7 +5146,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4743,7 +5169,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4785,7 +5214,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5246,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4854,7 +5289,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4874,7 +5312,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4894,7 +5335,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4927,7 +5371,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4991,7 +5438,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5044,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5061,7 +5514,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5096,7 +5552,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5118,7 +5577,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5131,7 +5593,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5155,7 +5620,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5244,7 +5712,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5298,17 +5769,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicationcontroller.json b/v1.12.2-standalone-strict/replicationcontroller.json index 91b14eb344..a91e4e1e23 100644 --- a/v1.12.2-standalone-strict/replicationcontroller.json +++ b/v1.12.2-standalone-strict/replicationcontroller.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,17 +391,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,7 +426,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -418,7 +454,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -452,7 +491,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -492,7 +534,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -555,7 +600,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -641,7 +689,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -684,11 +735,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -740,7 +797,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1018,7 +1078,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1115,7 +1178,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1217,7 +1283,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1314,7 +1383,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1426,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1436,7 +1511,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1483,7 +1561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1513,7 +1594,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1548,7 +1632,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1572,7 +1659,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1674,7 +1764,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1710,7 +1803,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1796,7 +1892,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1832,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1869,7 +1971,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1926,7 +2031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1942,17 +2050,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1977,7 +2094,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1986,7 +2106,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2022,7 +2145,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2126,7 +2255,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2142,17 +2274,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2177,7 +2318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2186,7 +2330,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2197,7 +2344,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,14 +2357,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2224,7 +2380,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2237,7 +2396,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2273,7 +2435,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2284,20 +2449,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2339,11 +2516,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2361,7 +2544,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2550,15 +2739,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2672,7 +2870,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2719,7 +2920,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2749,7 +2953,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2784,7 +2991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2808,7 +3018,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2910,7 +3123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2946,7 +3162,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3032,7 +3251,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3068,7 +3290,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3105,7 +3330,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3162,7 +3390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3178,17 +3409,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3213,7 +3453,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3222,7 +3465,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3258,7 +3504,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3305,7 +3554,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3362,7 +3614,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3378,17 +3633,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3413,7 +3677,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3689,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3433,7 +3703,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3443,14 +3716,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3460,7 +3739,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3473,7 +3755,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3509,7 +3794,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3520,20 +3808,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3575,11 +3875,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3597,7 +3903,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3656,7 +3965,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3693,7 +4005,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3703,7 +4018,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3759,21 +4077,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3817,7 +4147,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3865,7 +4198,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3876,7 +4212,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3911,7 +4250,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3952,12 +4294,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4004,7 +4352,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4018,7 +4369,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4056,7 +4410,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4103,7 +4460,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4130,7 +4490,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4152,7 +4515,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4172,7 +4538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4182,7 +4551,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4219,7 +4591,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4248,7 +4623,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4285,7 +4663,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4304,12 +4685,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4359,7 +4746,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4369,7 +4759,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4422,7 +4815,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4431,7 +4827,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4480,7 +4879,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4515,11 +4917,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4566,7 +4974,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4605,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4626,7 +5040,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4666,7 +5083,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4683,7 +5103,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4714,7 +5137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4734,7 +5160,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4776,7 +5205,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5237,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4845,7 +5280,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4865,7 +5303,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4885,7 +5326,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4918,7 +5362,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4982,7 +5429,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5035,7 +5485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5052,7 +5505,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5087,7 +5543,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5109,7 +5568,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5122,7 +5584,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5146,7 +5611,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5235,7 +5703,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5289,17 +5760,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicationcontrollerlist-v1.json b/v1.12.2-standalone-strict/replicationcontrollerlist-v1.json index a2c34c9d0c..31fcf98466 100644 --- a/v1.12.2-standalone-strict/replicationcontrollerlist-v1.json +++ b/v1.12.2-standalone-strict/replicationcontrollerlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,17 +419,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -421,7 +454,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -446,7 +482,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -480,7 +519,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -523,7 +565,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -586,7 +631,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -672,7 +720,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -715,11 +766,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -771,7 +828,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1049,7 +1109,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1146,7 +1209,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1248,7 +1314,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1414,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1457,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1467,7 +1542,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1514,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1544,7 +1625,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1579,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1603,7 +1690,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1705,7 +1795,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1741,7 +1834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1827,7 +1923,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1900,7 +2002,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1957,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1973,17 +2081,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2008,7 +2125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2017,7 +2137,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2053,7 +2176,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2100,7 +2226,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2157,7 +2286,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2173,17 +2305,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2208,7 +2349,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2217,7 +2361,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2228,7 +2375,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2238,14 +2388,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2255,7 +2411,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2268,7 +2427,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2304,7 +2466,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2315,20 +2480,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2370,11 +2547,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2392,7 +2575,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2451,7 +2637,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2770,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2703,7 +2901,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2750,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2780,7 +2984,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2815,7 +3022,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2839,7 +3049,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2941,7 +3154,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2977,7 +3193,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3063,7 +3282,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3099,7 +3321,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3136,7 +3361,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3193,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3209,17 +3440,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3244,7 +3484,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3253,7 +3496,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3289,7 +3535,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3336,7 +3585,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3393,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3409,17 +3664,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3444,7 +3708,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3720,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3464,7 +3734,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3474,14 +3747,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3491,7 +3770,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3504,7 +3786,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3540,7 +3825,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3551,20 +3839,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3606,11 +3906,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3628,7 +3934,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3687,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3724,7 +4036,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3734,7 +4049,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3790,21 +4108,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3848,7 +4178,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3896,7 +4229,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3907,7 +4243,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3942,7 +4281,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3983,12 +4325,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4035,7 +4383,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4049,7 +4400,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4087,7 +4441,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4134,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4161,7 +4521,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4183,7 +4546,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4203,7 +4569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4213,7 +4582,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4250,7 +4622,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4279,7 +4654,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4316,7 +4694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4335,12 +4716,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4390,7 +4777,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4400,7 +4790,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4453,7 +4846,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4462,7 +4858,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4511,7 +4910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4546,11 +4948,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4597,7 +5005,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4636,7 +5047,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4657,7 +5071,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4697,7 +5114,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4714,7 +5134,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4745,7 +5168,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4765,7 +5191,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4807,7 +5236,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4836,7 +5268,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4876,7 +5311,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4896,7 +5334,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4916,7 +5357,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4949,7 +5393,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5013,7 +5460,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5066,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5083,7 +5536,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5118,7 +5574,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5140,7 +5599,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5153,7 +5615,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5177,7 +5642,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5266,7 +5734,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5320,17 +5791,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicationcontrollerlist.json b/v1.12.2-standalone-strict/replicationcontrollerlist.json index f80d5d40e5..18021bb206 100644 --- a/v1.12.2-standalone-strict/replicationcontrollerlist.json +++ b/v1.12.2-standalone-strict/replicationcontrollerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,17 +410,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -412,7 +445,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -437,7 +473,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -471,7 +510,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -511,7 +553,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -574,7 +619,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -660,7 +708,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -703,11 +754,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -759,7 +816,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1037,7 +1097,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1134,7 +1197,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1236,7 +1302,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1333,7 +1402,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1445,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1455,7 +1530,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1502,7 +1580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1532,7 +1613,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1567,7 +1651,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1591,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1693,7 +1783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1729,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1815,7 +1911,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +1990,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1945,7 +2050,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1961,17 +2069,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1996,7 +2113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2005,7 +2125,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2041,7 +2164,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2088,7 +2214,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2145,7 +2274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2161,17 +2293,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2196,7 +2337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2205,7 +2349,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2216,7 +2363,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2226,14 +2376,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2243,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2256,7 +2415,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2292,7 +2454,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2303,20 +2468,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2358,11 +2535,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2380,7 +2563,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2439,7 +2625,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2569,15 +2758,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2691,7 +2889,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2738,7 +2939,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2768,7 +2972,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2803,7 +3010,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2827,7 +3037,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2929,7 +3142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2965,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3051,7 +3270,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3087,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3349,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3181,7 +3409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3197,17 +3428,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3232,7 +3472,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3241,7 +3484,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3277,7 +3523,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3324,7 +3573,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3381,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3397,17 +3652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3432,7 +3696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3441,7 +3708,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3452,7 +3722,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3462,14 +3735,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3479,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3492,7 +3774,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3528,7 +3813,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3539,20 +3827,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3594,11 +3894,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3616,7 +3922,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3675,7 +3984,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3712,7 +4024,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3722,7 +4037,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3778,21 +4096,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3836,7 +4166,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3884,7 +4217,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3895,7 +4231,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3930,7 +4269,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3971,12 +4313,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4023,7 +4371,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4037,7 +4388,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4075,7 +4429,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4122,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4149,7 +4509,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4171,7 +4534,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4191,7 +4557,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4201,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4238,7 +4610,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4267,7 +4642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4304,7 +4682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4323,12 +4704,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4378,7 +4765,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4388,7 +4778,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4441,7 +4834,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4450,7 +4846,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4499,7 +4898,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,11 +4936,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4585,7 +4993,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4624,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4645,7 +5059,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4685,7 +5102,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4702,7 +5122,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4733,7 +5156,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4753,7 +5179,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4795,7 +5224,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4824,7 +5256,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4864,7 +5299,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4884,7 +5322,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4904,7 +5345,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4937,7 +5381,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5001,7 +5448,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5054,7 +5504,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5071,7 +5524,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5106,7 +5562,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5128,7 +5587,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5141,7 +5603,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5165,7 +5630,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5254,7 +5722,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5308,17 +5779,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone-strict/replicationcontrollerspec-v1.json b/v1.12.2-standalone-strict/replicationcontrollerspec-v1.json index 4f1d218ecc..d1619530a8 100644 --- a/v1.12.2-standalone-strict/replicationcontrollerspec-v1.json +++ b/v1.12.2-standalone-strict/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +412,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -657,7 +693,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -754,7 +793,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -856,7 +898,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -953,7 +998,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -993,7 +1041,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1075,7 +1126,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1122,7 +1176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1152,7 +1209,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1187,7 +1247,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1211,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1313,7 +1379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1349,7 +1418,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1435,7 +1507,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1471,7 +1546,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1508,7 +1586,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1565,7 +1646,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1581,17 +1665,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1616,7 +1709,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1625,7 +1721,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1661,7 +1760,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1708,7 +1810,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1765,7 +1870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,17 +1889,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1816,7 +1933,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1825,7 +1945,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1836,7 +1959,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1846,14 +1972,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1863,7 +1995,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1876,7 +2011,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1912,7 +2050,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1923,20 +2064,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1978,11 +2131,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2000,7 +2159,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2059,7 +2221,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2189,15 +2354,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2311,7 +2485,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2358,7 +2535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2388,7 +2568,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2423,7 +2606,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2447,7 +2633,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2549,7 +2738,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2585,7 +2777,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2671,7 +2866,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2707,7 +2905,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2744,7 +2945,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2801,7 +3005,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2817,17 +3024,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2852,7 +3068,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2861,7 +3080,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2897,7 +3119,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2944,7 +3169,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3001,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,17 +3248,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3052,7 +3292,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3061,7 +3304,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3072,7 +3318,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3082,14 +3331,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3099,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3112,7 +3370,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3148,7 +3409,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3159,20 +3423,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3214,11 +3490,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3236,7 +3518,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3295,7 +3580,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3332,7 +3620,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3342,7 +3633,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3398,21 +3692,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3456,7 +3762,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3504,7 +3813,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3515,7 +3827,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3550,7 +3865,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3591,12 +3909,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3643,7 +3967,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3657,7 +3984,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3695,7 +4025,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3742,7 +4075,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3769,7 +4105,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3791,7 +4130,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3811,7 +4153,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3821,7 +4166,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3858,7 +4206,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3887,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3924,7 +4278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3943,12 +4300,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3998,7 +4361,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4008,7 +4374,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4061,7 +4430,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4070,7 +4442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4119,7 +4494,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4154,11 +4532,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4205,7 +4589,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4244,7 +4631,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4265,7 +4655,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4305,7 +4698,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4322,7 +4718,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4353,7 +4752,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4373,7 +4775,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4415,7 +4820,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4444,7 +4852,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4484,7 +4895,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4504,7 +4918,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,7 +4941,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4557,7 +4977,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4621,7 +5044,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4674,7 +5100,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4691,7 +5120,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4726,7 +5158,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4748,7 +5183,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5199,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4785,7 +5226,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicationcontrollerspec.json b/v1.12.2-standalone-strict/replicationcontrollerspec.json index ce36889256..a314b9a4d8 100644 --- a/v1.12.2-standalone-strict/replicationcontrollerspec.json +++ b/v1.12.2-standalone-strict/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +146,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +212,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +301,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +347,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +409,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -654,7 +690,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -751,7 +790,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +895,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -950,7 +995,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -990,7 +1038,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1072,7 +1123,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1119,7 +1173,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1149,7 +1206,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1184,7 +1244,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1208,7 +1271,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1310,7 +1376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1346,7 +1415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1505,7 +1583,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1562,7 +1643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1578,17 +1662,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1613,7 +1706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1622,7 +1718,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1658,7 +1757,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1705,7 +1807,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1762,7 +1867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,17 +1886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1813,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1822,7 +1942,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1833,7 +1956,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1843,14 +1969,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1860,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +2008,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1909,7 +2047,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1920,20 +2061,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1975,11 +2128,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1997,7 +2156,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2056,7 +2218,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2186,15 +2351,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2308,7 +2482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2355,7 +2532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2385,7 +2565,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2420,7 +2603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2444,7 +2630,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2546,7 +2735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2582,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2668,7 +2863,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2902,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2741,7 +2942,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2798,7 +3002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2814,17 +3021,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2849,7 +3065,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2858,7 +3077,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2894,7 +3116,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2941,7 +3166,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2998,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,17 +3245,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3049,7 +3289,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3058,7 +3301,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3069,7 +3315,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3079,14 +3328,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3096,7 +3351,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3367,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3145,7 +3406,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3156,20 +3420,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3211,11 +3487,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3233,7 +3515,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3292,7 +3577,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3329,7 +3617,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3339,7 +3630,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3395,21 +3689,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3453,7 +3759,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3501,7 +3810,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3512,7 +3824,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3547,7 +3862,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3588,12 +3906,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3640,7 +3964,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3654,7 +3981,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3692,7 +4022,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3739,7 +4072,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3766,7 +4102,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3788,7 +4127,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3808,7 +4150,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3818,7 +4163,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3855,7 +4203,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3884,7 +4235,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3921,7 +4275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3940,12 +4297,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3995,7 +4358,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4005,7 +4371,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4058,7 +4427,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4067,7 +4439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4116,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4151,11 +4529,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4202,7 +4586,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4241,7 +4628,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4262,7 +4652,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4302,7 +4695,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4319,7 +4715,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4350,7 +4749,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4370,7 +4772,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4412,7 +4817,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4441,7 +4849,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4481,7 +4892,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4501,7 +4915,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4521,7 +4938,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4554,7 +4974,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4618,7 +5041,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4671,7 +5097,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4688,7 +5117,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4723,7 +5155,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4745,7 +5180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4758,7 +5196,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4782,7 +5223,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/replicationcontrollerstatus-v1.json b/v1.12.2-standalone-strict/replicationcontrollerstatus-v1.json index 7501c252ae..691152dbdd 100644 --- a/v1.12.2-standalone-strict/replicationcontrollerstatus-v1.json +++ b/v1.12.2-standalone-strict/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/replicationcontrollerstatus.json b/v1.12.2-standalone-strict/replicationcontrollerstatus.json index 7501c252ae..691152dbdd 100644 --- a/v1.12.2-standalone-strict/replicationcontrollerstatus.json +++ b/v1.12.2-standalone-strict/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/resourcefieldselector-v1.json b/v1.12.2-standalone-strict/resourcefieldselector-v1.json index aeb5eaef9d..d17d2e497b 100644 --- a/v1.12.2-standalone-strict/resourcefieldselector-v1.json +++ b/v1.12.2-standalone-strict/resourcefieldselector-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/resourcefieldselector.json b/v1.12.2-standalone-strict/resourcefieldselector.json index aeb5eaef9d..d17d2e497b 100644 --- a/v1.12.2-standalone-strict/resourcefieldselector.json +++ b/v1.12.2-standalone-strict/resourcefieldselector.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json index 622bef5b4e..d28953e729 100644 --- a/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -25,7 +28,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json index 01b4c67870..ade2b4d870 100644 --- a/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcemetricsource.json b/v1.12.2-standalone-strict/resourcemetricsource.json index 01b4c67870..ade2b4d870 100644 --- a/v1.12.2-standalone-strict/resourcemetricsource.json +++ b/v1.12.2-standalone-strict/resourcemetricsource.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json index 68112c7177..8a2e663d3f 100644 --- a/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -19,7 +22,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json index 5d95b21ad3..82f0ef4fb5 100644 --- a/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcemetricstatus.json b/v1.12.2-standalone-strict/resourcemetricstatus.json index 5d95b21ad3..82f0ef4fb5 100644 --- a/v1.12.2-standalone-strict/resourcemetricstatus.json +++ b/v1.12.2-standalone-strict/resourcemetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequota-v1.json b/v1.12.2-standalone-strict/resourcequota-v1.json index e997edd1b1..e93542c169 100644 --- a/v1.12.2-standalone-strict/resourcequota-v1.json +++ b/v1.12.2-standalone-strict/resourcequota-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -383,7 +410,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -453,7 +483,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -463,14 +496,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -480,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequota.json b/v1.12.2-standalone-strict/resourcequota.json index dc30abe2ef..688fe09586 100644 --- a/v1.12.2-standalone-strict/resourcequota.json +++ b/v1.12.2-standalone-strict/resourcequota.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,7 +391,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -377,7 +404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -447,7 +477,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -457,14 +490,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -474,7 +513,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequotalist-v1.json b/v1.12.2-standalone-strict/resourcequotalist-v1.json index 614665c92a..5cc3b42968 100644 --- a/v1.12.2-standalone-strict/resourcequotalist-v1.json +++ b/v1.12.2-standalone-strict/resourcequotalist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +419,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -405,7 +432,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -475,7 +505,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -485,14 +518,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -502,7 +541,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequotalist.json b/v1.12.2-standalone-strict/resourcequotalist.json index d52aa62593..062797e0c8 100644 --- a/v1.12.2-standalone-strict/resourcequotalist.json +++ b/v1.12.2-standalone-strict/resourcequotalist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,7 +410,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -396,7 +423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -466,7 +496,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -476,14 +509,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -493,7 +532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequotaspec-v1.json b/v1.12.2-standalone-strict/resourcequotaspec-v1.json index 359bd1c82a..f7de485e32 100644 --- a/v1.12.2-standalone-strict/resourcequotaspec-v1.json +++ b/v1.12.2-standalone-strict/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequotaspec.json b/v1.12.2-standalone-strict/resourcequotaspec.json index 359bd1c82a..f7de485e32 100644 --- a/v1.12.2-standalone-strict/resourcequotaspec.json +++ b/v1.12.2-standalone-strict/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequotastatus-v1.json b/v1.12.2-standalone-strict/resourcequotastatus-v1.json index 79d4ff458b..871f5801ea 100644 --- a/v1.12.2-standalone-strict/resourcequotastatus-v1.json +++ b/v1.12.2-standalone-strict/resourcequotastatus-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcequotastatus.json b/v1.12.2-standalone-strict/resourcequotastatus.json index 79d4ff458b..871f5801ea 100644 --- a/v1.12.2-standalone-strict/resourcequotastatus.json +++ b/v1.12.2-standalone-strict/resourcequotastatus.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcerequirements-v1.json b/v1.12.2-standalone-strict/resourcerequirements-v1.json index 48d995636b..581c797976 100644 --- a/v1.12.2-standalone-strict/resourcerequirements-v1.json +++ b/v1.12.2-standalone-strict/resourcerequirements-v1.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/resourcerequirements.json b/v1.12.2-standalone-strict/resourcerequirements.json index 48d995636b..581c797976 100644 --- a/v1.12.2-standalone-strict/resourcerequirements.json +++ b/v1.12.2-standalone-strict/resourcerequirements.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/role-rbac-v1.json b/v1.12.2-standalone-strict/role-rbac-v1.json index 00eefd4cf3..d39b59526f 100644 --- a/v1.12.2-standalone-strict/role-rbac-v1.json +++ b/v1.12.2-standalone-strict/role-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/role-rbac-v1alpha1.json b/v1.12.2-standalone-strict/role-rbac-v1alpha1.json index 9563a44312..993f8e8861 100644 --- a/v1.12.2-standalone-strict/role-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/role-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/role-rbac-v1beta1.json b/v1.12.2-standalone-strict/role-rbac-v1beta1.json index e2ee9fb252..6109e4f99f 100644 --- a/v1.12.2-standalone-strict/role-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/role-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/role.json b/v1.12.2-standalone-strict/role.json index 5d8a59337c..9c614e2182 100644 --- a/v1.12.2-standalone-strict/role.json +++ b/v1.12.2-standalone-strict/role.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebinding-rbac-v1.json b/v1.12.2-standalone-strict/rolebinding-rbac-v1.json index 5fcd91f044..64d788c813 100644 --- a/v1.12.2-standalone-strict/rolebinding-rbac-v1.json +++ b/v1.12.2-standalone-strict/rolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebinding-rbac-v1alpha1.json b/v1.12.2-standalone-strict/rolebinding-rbac-v1alpha1.json index ac542bd4bd..73af321fe6 100644 --- a/v1.12.2-standalone-strict/rolebinding-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/rolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebinding-rbac-v1beta1.json b/v1.12.2-standalone-strict/rolebinding-rbac-v1beta1.json index e2b40fbcb2..289be82d3a 100644 --- a/v1.12.2-standalone-strict/rolebinding-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/rolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebinding.json b/v1.12.2-standalone-strict/rolebinding.json index cfe9269e2c..3845946e92 100644 --- a/v1.12.2-standalone-strict/rolebinding.json +++ b/v1.12.2-standalone-strict/rolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebindinglist-rbac-v1.json b/v1.12.2-standalone-strict/rolebindinglist-rbac-v1.json index 472bd62315..05e6f34275 100644 --- a/v1.12.2-standalone-strict/rolebindinglist-rbac-v1.json +++ b/v1.12.2-standalone-strict/rolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebindinglist-rbac-v1alpha1.json b/v1.12.2-standalone-strict/rolebindinglist-rbac-v1alpha1.json index a32e2e3d04..6394abd8a7 100644 --- a/v1.12.2-standalone-strict/rolebindinglist-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/rolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebindinglist-rbac-v1beta1.json b/v1.12.2-standalone-strict/rolebindinglist-rbac-v1beta1.json index bca033c178..824463c180 100644 --- a/v1.12.2-standalone-strict/rolebindinglist-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/rolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolebindinglist.json b/v1.12.2-standalone-strict/rolebindinglist.json index 905c6a2307..ca1906aacc 100644 --- a/v1.12.2-standalone-strict/rolebindinglist.json +++ b/v1.12.2-standalone-strict/rolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolelist-rbac-v1.json b/v1.12.2-standalone-strict/rolelist-rbac-v1.json index a469ff00da..65b828a9d1 100644 --- a/v1.12.2-standalone-strict/rolelist-rbac-v1.json +++ b/v1.12.2-standalone-strict/rolelist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolelist-rbac-v1alpha1.json b/v1.12.2-standalone-strict/rolelist-rbac-v1alpha1.json index 1c506d8bc5..182f8d52b1 100644 --- a/v1.12.2-standalone-strict/rolelist-rbac-v1alpha1.json +++ b/v1.12.2-standalone-strict/rolelist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolelist-rbac-v1beta1.json b/v1.12.2-standalone-strict/rolelist-rbac-v1beta1.json index 641296f9e4..b8df523cec 100644 --- a/v1.12.2-standalone-strict/rolelist-rbac-v1beta1.json +++ b/v1.12.2-standalone-strict/rolelist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rolelist.json b/v1.12.2-standalone-strict/rolelist.json index d02aad802c..e8769a9cc2 100644 --- a/v1.12.2-standalone-strict/rolelist.json +++ b/v1.12.2-standalone-strict/rolelist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/rollbackconfig-apps-v1beta1.json b/v1.12.2-standalone-strict/rollbackconfig-apps-v1beta1.json index c3edb57aba..7cb5011e42 100644 --- a/v1.12.2-standalone-strict/rollbackconfig-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/rollbackconfig-extensions-v1beta1.json b/v1.12.2-standalone-strict/rollbackconfig-extensions-v1beta1.json index c3edb57aba..7cb5011e42 100644 --- a/v1.12.2-standalone-strict/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/rollbackconfig.json b/v1.12.2-standalone-strict/rollbackconfig.json index c3edb57aba..7cb5011e42 100644 --- a/v1.12.2-standalone-strict/rollbackconfig.json +++ b/v1.12.2-standalone-strict/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1.json b/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1.json +++ b/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json b/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json b/v1.12.2-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.2-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedaemonset.json b/v1.12.2-standalone-strict/rollingupdatedaemonset.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.2-standalone-strict/rollingupdatedaemonset.json +++ b/v1.12.2-standalone-strict/rollingupdatedaemonset.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1.json b/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1.json +++ b/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta1.json b/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta1.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta2.json b/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta2.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/rollingupdatedeployment-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json b/v1.12.2-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.2-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatedeployment.json b/v1.12.2-standalone-strict/rollingupdatedeployment.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.2-standalone-strict/rollingupdatedeployment.json +++ b/v1.12.2-standalone-strict/rollingupdatedeployment.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json index e42001a318..375fba7758 100644 --- a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json index c51c0336df..f83cb74c9d 100644 --- a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json index e42001a318..375fba7758 100644 --- a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy.json b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy.json index e42001a318..375fba7758 100644 --- a/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy.json +++ b/v1.12.2-standalone-strict/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scale-apps-v1beta1.json b/v1.12.2-standalone-strict/scale-apps-v1beta1.json index d94e7951a9..48ff1be710 100644 --- a/v1.12.2-standalone-strict/scale-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/scale-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -392,7 +419,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scale-apps-v1beta2.json b/v1.12.2-standalone-strict/scale-apps-v1beta2.json index 108e47f3d2..35b6e32ae7 100644 --- a/v1.12.2-standalone-strict/scale-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/scale-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -392,7 +419,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scale-autoscaling-v1.json b/v1.12.2-standalone-strict/scale-autoscaling-v1.json index b5af2e5bfe..2cf3087388 100644 --- a/v1.12.2-standalone-strict/scale-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/scale-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scale-extensions-v1beta1.json b/v1.12.2-standalone-strict/scale-extensions-v1beta1.json index 8ba581d591..4e4afe1194 100644 --- a/v1.12.2-standalone-strict/scale-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/scale-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -392,7 +419,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scale.json b/v1.12.2-standalone-strict/scale.json index 5bbf50a48e..cb60c85e6d 100644 --- a/v1.12.2-standalone-strict/scale.json +++ b/v1.12.2-standalone-strict/scale.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,7 +391,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -386,7 +413,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scaleiopersistentvolumesource-v1.json b/v1.12.2-standalone-strict/scaleiopersistentvolumesource-v1.json index 0093de1381..17ac9a07d1 100644 --- a/v1.12.2-standalone-strict/scaleiopersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -53,7 +56,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone-strict/scaleiopersistentvolumesource.json b/v1.12.2-standalone-strict/scaleiopersistentvolumesource.json index 0093de1381..17ac9a07d1 100644 --- a/v1.12.2-standalone-strict/scaleiopersistentvolumesource.json +++ b/v1.12.2-standalone-strict/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -53,7 +56,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone-strict/scaleiovolumesource-v1.json b/v1.12.2-standalone-strict/scaleiovolumesource-v1.json index 13d3091d36..a67d9353ed 100644 --- a/v1.12.2-standalone-strict/scaleiovolumesource-v1.json +++ b/v1.12.2-standalone-strict/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -46,7 +49,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone-strict/scaleiovolumesource.json b/v1.12.2-standalone-strict/scaleiovolumesource.json index 13d3091d36..a67d9353ed 100644 --- a/v1.12.2-standalone-strict/scaleiovolumesource.json +++ b/v1.12.2-standalone-strict/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -46,7 +49,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone-strict/scalespec-apps-v1beta1.json b/v1.12.2-standalone-strict/scalespec-apps-v1beta1.json index 8ee6ad7b27..7ead4fa68a 100644 --- a/v1.12.2-standalone-strict/scalespec-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scalespec-apps-v1beta2.json b/v1.12.2-standalone-strict/scalespec-apps-v1beta2.json index 8ee6ad7b27..7ead4fa68a 100644 --- a/v1.12.2-standalone-strict/scalespec-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scalespec-autoscaling-v1.json b/v1.12.2-standalone-strict/scalespec-autoscaling-v1.json index 3b9529ed18..c4ee12cbbc 100644 --- a/v1.12.2-standalone-strict/scalespec-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scalespec-extensions-v1beta1.json b/v1.12.2-standalone-strict/scalespec-extensions-v1beta1.json index 4906bdab93..59d9f2de98 100644 --- a/v1.12.2-standalone-strict/scalespec-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scalespec.json b/v1.12.2-standalone-strict/scalespec.json index 4906bdab93..59d9f2de98 100644 --- a/v1.12.2-standalone-strict/scalespec.json +++ b/v1.12.2-standalone-strict/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/scalestatus-apps-v1beta1.json b/v1.12.2-standalone-strict/scalestatus-apps-v1beta1.json index 27f01f8d90..8232606851 100644 --- a/v1.12.2-standalone-strict/scalestatus-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scalestatus-apps-v1beta2.json b/v1.12.2-standalone-strict/scalestatus-apps-v1beta2.json index 27f01f8d90..8232606851 100644 --- a/v1.12.2-standalone-strict/scalestatus-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scalestatus-autoscaling-v1.json b/v1.12.2-standalone-strict/scalestatus-autoscaling-v1.json index 4fd6b807f0..62684dc395 100644 --- a/v1.12.2-standalone-strict/scalestatus-autoscaling-v1.json +++ b/v1.12.2-standalone-strict/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-standalone-strict/scalestatus-extensions-v1beta1.json b/v1.12.2-standalone-strict/scalestatus-extensions-v1beta1.json index 20c322e208..44538353d3 100644 --- a/v1.12.2-standalone-strict/scalestatus-extensions-v1beta1.json +++ b/v1.12.2-standalone-strict/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/scalestatus.json b/v1.12.2-standalone-strict/scalestatus.json index 20c322e208..44538353d3 100644 --- a/v1.12.2-standalone-strict/scalestatus.json +++ b/v1.12.2-standalone-strict/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/secret-v1.json b/v1.12.2-standalone-strict/secret-v1.json index ea7cc00c9d..dc30839141 100644 --- a/v1.12.2-standalone-strict/secret-v1.json +++ b/v1.12.2-standalone-strict/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +151,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +306,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +352,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +408,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/secret.json b/v1.12.2-standalone-strict/secret.json index 90c65cc9ca..690abe75cf 100644 --- a/v1.12.2-standalone-strict/secret.json +++ b/v1.12.2-standalone-strict/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -34,7 +37,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +65,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -93,7 +102,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -133,7 +145,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -196,7 +211,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -282,7 +300,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -325,11 +346,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -375,7 +402,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/secretenvsource-v1.json b/v1.12.2-standalone-strict/secretenvsource-v1.json index 61f1134ec9..558d93e426 100644 --- a/v1.12.2-standalone-strict/secretenvsource-v1.json +++ b/v1.12.2-standalone-strict/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/secretenvsource.json b/v1.12.2-standalone-strict/secretenvsource.json index 61f1134ec9..558d93e426 100644 --- a/v1.12.2-standalone-strict/secretenvsource.json +++ b/v1.12.2-standalone-strict/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/secretkeyselector-v1.json b/v1.12.2-standalone-strict/secretkeyselector-v1.json index 13654a1328..c39185dd71 100644 --- a/v1.12.2-standalone-strict/secretkeyselector-v1.json +++ b/v1.12.2-standalone-strict/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/secretkeyselector.json b/v1.12.2-standalone-strict/secretkeyselector.json index 13654a1328..c39185dd71 100644 --- a/v1.12.2-standalone-strict/secretkeyselector.json +++ b/v1.12.2-standalone-strict/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/secretlist-v1.json b/v1.12.2-standalone-strict/secretlist-v1.json index 7c1dae6219..b9b6c71d88 100644 --- a/v1.12.2-standalone-strict/secretlist-v1.json +++ b/v1.12.2-standalone-strict/secretlist-v1.json @@ -35,7 +35,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +62,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -84,7 +90,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -118,7 +127,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -161,7 +173,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -224,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -310,7 +328,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -353,11 +374,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -403,7 +430,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/secretlist.json b/v1.12.2-standalone-strict/secretlist.json index 8978ac2b8d..564773e7f1 100644 --- a/v1.12.2-standalone-strict/secretlist.json +++ b/v1.12.2-standalone-strict/secretlist.json @@ -29,7 +29,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -53,7 +56,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +84,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -112,7 +121,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +164,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -215,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -301,7 +319,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -344,11 +365,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -394,7 +421,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/secretprojection-v1.json b/v1.12.2-standalone-strict/secretprojection-v1.json index bcbf4adbce..e9c7ee84a0 100644 --- a/v1.12.2-standalone-strict/secretprojection-v1.json +++ b/v1.12.2-standalone-strict/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/secretprojection.json b/v1.12.2-standalone-strict/secretprojection.json index bcbf4adbce..e9c7ee84a0 100644 --- a/v1.12.2-standalone-strict/secretprojection.json +++ b/v1.12.2-standalone-strict/secretprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.2-standalone-strict/secretvolumesource-v1.json b/v1.12.2-standalone-strict/secretvolumesource-v1.json index dc26138ae2..2ac714fa55 100644 --- a/v1.12.2-standalone-strict/secretvolumesource-v1.json +++ b/v1.12.2-standalone-strict/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -38,7 +44,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2-standalone-strict/secretvolumesource.json b/v1.12.2-standalone-strict/secretvolumesource.json index dc26138ae2..2ac714fa55 100644 --- a/v1.12.2-standalone-strict/secretvolumesource.json +++ b/v1.12.2-standalone-strict/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -38,7 +44,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2-standalone-strict/securitycontext-v1.json b/v1.12.2-standalone-strict/securitycontext-v1.json index 52209f4901..9d220fed76 100644 --- a/v1.12.2-standalone-strict/securitycontext-v1.json +++ b/v1.12.2-standalone-strict/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -39,7 +42,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -50,20 +56,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2-standalone-strict/securitycontext.json b/v1.12.2-standalone-strict/securitycontext.json index 52209f4901..9d220fed76 100644 --- a/v1.12.2-standalone-strict/securitycontext.json +++ b/v1.12.2-standalone-strict/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -39,7 +42,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -50,20 +56,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1.json b/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1.json index 9edd40f026..45d692ec35 100644 --- a/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1.json +++ b/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -464,7 +488,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json b/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json index b4af5c1f92..d6f0a8b380 100644 --- a/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -464,7 +488,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/selfsubjectaccessreview.json b/v1.12.2-standalone-strict/selfsubjectaccessreview.json index b67ebcc04c..372d0954a1 100644 --- a/v1.12.2-standalone-strict/selfsubjectaccessreview.json +++ b/v1.12.2-standalone-strict/selfsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1.json b/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1.json index a55c9162c8..ac0d07f0b9 100644 --- a/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1.json +++ b/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json b/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json index 85d49ce102..318cfc4fe1 100644 --- a/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/selfsubjectrulesreview.json b/v1.12.2-standalone-strict/selfsubjectrulesreview.json index 509104ed05..9c7f0faac6 100644 --- a/v1.12.2-standalone-strict/selfsubjectrulesreview.json +++ b/v1.12.2-standalone-strict/selfsubjectrulesreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/service-v1.json b/v1.12.2-standalone-strict/service-v1.json index caa4cb673b..f1eec57ded 100644 --- a/v1.12.2-standalone-strict/service-v1.json +++ b/v1.12.2-standalone-strict/service-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -407,7 +431,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -451,7 +478,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -475,7 +505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -487,11 +520,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -514,7 +553,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/service.json b/v1.12.2-standalone-strict/service.json index 02a0781ecc..566df173fe 100644 --- a/v1.12.2-standalone-strict/service.json +++ b/v1.12.2-standalone-strict/service.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -445,7 +472,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -469,7 +499,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -481,11 +514,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -508,7 +547,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/serviceaccount-v1.json b/v1.12.2-standalone-strict/serviceaccount-v1.json index 221d760628..a074dcbb4a 100644 --- a/v1.12.2-standalone-strict/serviceaccount-v1.json +++ b/v1.12.2-standalone-strict/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -50,7 +53,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +81,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -109,7 +118,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +164,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -215,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -301,7 +319,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -344,11 +365,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/serviceaccount.json b/v1.12.2-standalone-strict/serviceaccount.json index 32b2fecebe..ff86c75c26 100644 --- a/v1.12.2-standalone-strict/serviceaccount.json +++ b/v1.12.2-standalone-strict/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -47,7 +50,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +78,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +115,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -146,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -209,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -295,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -338,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/serviceaccountlist-v1.json b/v1.12.2-standalone-strict/serviceaccountlist-v1.json index 9aa9053c92..d315e45faf 100644 --- a/v1.12.2-standalone-strict/serviceaccountlist-v1.json +++ b/v1.12.2-standalone-strict/serviceaccountlist-v1.json @@ -35,7 +35,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -72,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -97,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -131,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +186,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -237,7 +252,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -323,7 +341,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -366,11 +387,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/serviceaccountlist.json b/v1.12.2-standalone-strict/serviceaccountlist.json index b53b5bffe7..cc22a8dd5b 100644 --- a/v1.12.2-standalone-strict/serviceaccountlist.json +++ b/v1.12.2-standalone-strict/serviceaccountlist.json @@ -29,7 +29,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -66,7 +69,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -91,7 +97,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -125,7 +134,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +177,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -228,7 +243,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -314,7 +332,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -357,11 +378,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone-strict/serviceaccounttokenprojection-v1.json b/v1.12.2-standalone-strict/serviceaccounttokenprojection-v1.json index 964b9bbdc0..f39078e6f3 100644 --- a/v1.12.2-standalone-strict/serviceaccounttokenprojection-v1.json +++ b/v1.12.2-standalone-strict/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone-strict/serviceaccounttokenprojection.json b/v1.12.2-standalone-strict/serviceaccounttokenprojection.json index 964b9bbdc0..f39078e6f3 100644 --- a/v1.12.2-standalone-strict/serviceaccounttokenprojection.json +++ b/v1.12.2-standalone-strict/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone-strict/servicelist-v1.json b/v1.12.2-standalone-strict/servicelist-v1.json index 246be99f06..da3700a1e1 100644 --- a/v1.12.2-standalone-strict/servicelist-v1.json +++ b/v1.12.2-standalone-strict/servicelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +453,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -473,7 +500,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -497,7 +527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -509,11 +542,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -536,7 +575,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/servicelist.json b/v1.12.2-standalone-strict/servicelist.json index 10fbe20ce9..a5156b71ef 100644 --- a/v1.12.2-standalone-strict/servicelist.json +++ b/v1.12.2-standalone-strict/servicelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -420,7 +444,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -464,7 +491,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -488,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -500,11 +533,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -527,7 +566,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/serviceport-v1.json b/v1.12.2-standalone-strict/serviceport-v1.json index 9ede0ced46..11d5f97ba1 100644 --- a/v1.12.2-standalone-strict/serviceport-v1.json +++ b/v1.12.2-standalone-strict/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/serviceport.json b/v1.12.2-standalone-strict/serviceport.json index 9ede0ced46..11d5f97ba1 100644 --- a/v1.12.2-standalone-strict/serviceport.json +++ b/v1.12.2-standalone-strict/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/servicespec-v1.json b/v1.12.2-standalone-strict/servicespec-v1.json index b6d450bc98..94fd8439d7 100644 --- a/v1.12.2-standalone-strict/servicespec-v1.json +++ b/v1.12.2-standalone-strict/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -117,11 +126,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -144,7 +159,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/servicespec.json b/v1.12.2-standalone-strict/servicespec.json index b6d450bc98..94fd8439d7 100644 --- a/v1.12.2-standalone-strict/servicespec.json +++ b/v1.12.2-standalone-strict/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -117,11 +126,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -144,7 +159,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/sessionaffinityconfig-v1.json b/v1.12.2-standalone-strict/sessionaffinityconfig-v1.json index e307c3e9a8..68e0fbbcb8 100644 --- a/v1.12.2-standalone-strict/sessionaffinityconfig-v1.json +++ b/v1.12.2-standalone-strict/sessionaffinityconfig-v1.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/sessionaffinityconfig.json b/v1.12.2-standalone-strict/sessionaffinityconfig.json index e307c3e9a8..68e0fbbcb8 100644 --- a/v1.12.2-standalone-strict/sessionaffinityconfig.json +++ b/v1.12.2-standalone-strict/sessionaffinityconfig.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulset-apps-v1.json b/v1.12.2-standalone-strict/statefulset-apps-v1.json index 6a4e8e9f41..d9534068ff 100644 --- a/v1.12.2-standalone-strict/statefulset-apps-v1.json +++ b/v1.12.2-standalone-strict/statefulset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,12 +409,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -438,7 +468,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +605,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +760,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +806,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +868,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1149,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1354,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1454,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1497,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1582,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1632,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1703,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1730,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2042,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2102,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2121,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2165,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2177,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2216,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2266,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2345,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2401,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2415,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2428,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2467,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2506,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2520,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2587,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2615,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2677,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2810,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2941,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +2991,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3024,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3062,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3089,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3233,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3401,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,7 +3461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3249,17 +3480,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3536,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3575,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3625,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3685,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3704,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3760,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3774,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3787,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3826,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3865,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3879,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3946,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3974,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4036,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4076,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4089,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4148,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4218,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4269,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4283,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4321,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4365,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4423,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4440,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4481,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4531,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4561,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4622,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4662,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4734,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4756,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4817,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4830,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4886,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4898,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4950,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +4988,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5045,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5087,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5111,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5154,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5174,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5231,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5374,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5397,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5433,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5500,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5556,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5576,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5614,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5639,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5682,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5303,7 +5771,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5353,7 +5824,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5378,7 +5852,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5412,7 +5889,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5455,7 +5935,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5518,7 +6001,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5604,7 +6090,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5647,11 +6136,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5741,7 +6236,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5751,14 +6249,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5768,7 +6272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5821,7 +6328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5874,7 +6384,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5884,7 +6397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5976,7 +6492,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6030,7 +6549,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6042,12 +6564,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6064,7 +6592,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulset-apps-v1beta1.json b/v1.12.2-standalone-strict/statefulset-apps-v1beta1.json index 8dce46f41a..6cbabf3f17 100644 --- a/v1.12.2-standalone-strict/statefulset-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/statefulset-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,12 +408,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -437,7 +467,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -562,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -625,7 +670,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -711,7 +759,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -754,11 +805,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -810,7 +867,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1088,7 +1148,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1185,7 +1248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1287,7 +1353,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1384,7 +1453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1424,7 +1496,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1506,7 +1581,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1553,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1583,7 +1664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1702,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1642,7 +1729,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1744,7 +1834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1780,7 +1873,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1902,7 +2001,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1939,7 +2041,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1996,7 +2101,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2012,17 +2120,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2047,7 +2164,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2056,7 +2176,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2092,7 +2215,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2139,7 +2265,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2196,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2212,17 +2344,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2247,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2256,7 +2400,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2267,7 +2414,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2277,14 +2427,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2294,7 +2450,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2307,7 +2466,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2343,7 +2505,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2354,20 +2519,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2409,11 +2586,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2431,7 +2614,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2490,7 +2676,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2620,15 +2809,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2742,7 +2940,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2789,7 +2990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2819,7 +3023,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2854,7 +3061,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2878,7 +3088,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2980,7 +3193,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3016,7 +3232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3102,7 +3321,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3138,7 +3360,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3175,7 +3400,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3232,7 +3460,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3248,17 +3479,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3283,7 +3523,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3292,7 +3535,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3328,7 +3574,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3375,7 +3624,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3432,7 +3684,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3448,17 +3703,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3483,7 +3747,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3492,7 +3759,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3503,7 +3773,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3513,14 +3786,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3530,7 +3809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3543,7 +3825,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3579,7 +3864,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3590,20 +3878,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3645,11 +3945,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3667,7 +3973,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3726,7 +4035,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3763,7 +4075,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3773,7 +4088,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3829,21 +4147,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3887,7 +4217,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3935,7 +4268,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3946,7 +4282,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3981,7 +4320,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4022,12 +4364,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4074,7 +4422,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4088,7 +4439,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4126,7 +4480,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4173,7 +4530,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4200,7 +4560,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4222,7 +4585,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4242,7 +4608,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4252,7 +4621,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4289,7 +4661,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4318,7 +4693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4355,7 +4733,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4374,12 +4755,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4429,7 +4816,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4439,7 +4829,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4492,7 +4885,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4501,7 +4897,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4550,7 +4949,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4585,11 +4987,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4636,7 +5044,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4675,7 +5086,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4696,7 +5110,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4736,7 +5153,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4753,7 +5173,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4784,7 +5207,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4804,7 +5230,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4846,7 +5275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4875,7 +5307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4915,7 +5350,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4935,7 +5373,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4955,7 +5396,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4988,7 +5432,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5052,7 +5499,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5105,7 +5555,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5122,7 +5575,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5157,7 +5613,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5179,7 +5638,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5192,7 +5654,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5216,7 +5681,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5302,7 +5770,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5352,7 +5823,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5377,7 +5851,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5411,7 +5888,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5454,7 +5934,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5517,7 +6000,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5603,7 +6089,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5646,11 +6135,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5740,7 +6235,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5750,14 +6248,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5767,7 +6271,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5820,7 +6327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5873,7 +6383,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5883,7 +6396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5975,7 +6491,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6029,7 +6548,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6041,12 +6563,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6063,7 +6591,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulset-apps-v1beta2.json b/v1.12.2-standalone-strict/statefulset-apps-v1beta2.json index 03badd474d..dd7c859330 100644 --- a/v1.12.2-standalone-strict/statefulset-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/statefulset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,12 +409,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -438,7 +468,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +605,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +760,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +806,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +868,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1149,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1354,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1454,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1497,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1582,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1632,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1703,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1730,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2042,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2102,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2121,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2165,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2177,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2216,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2266,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2345,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2401,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2415,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2428,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2467,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2506,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2520,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2587,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2615,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2677,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2810,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2941,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +2991,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3024,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3062,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3089,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3233,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3401,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,7 +3461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3249,17 +3480,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3536,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3575,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3625,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3685,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3704,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3760,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3774,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3787,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3826,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3865,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3879,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3946,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3974,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4036,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4076,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4089,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4148,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4218,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4269,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4283,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4321,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4365,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4423,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4440,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4481,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4531,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4561,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4622,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4662,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4734,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4756,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4817,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4830,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4886,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4898,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4950,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +4988,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5045,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5087,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5111,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5154,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5174,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5231,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5374,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5397,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5433,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5500,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5556,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5576,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5614,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5639,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5682,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5303,7 +5771,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5353,7 +5824,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5378,7 +5852,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5412,7 +5889,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5455,7 +5935,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5518,7 +6001,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5604,7 +6090,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5647,11 +6136,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5741,7 +6236,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5751,14 +6249,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5768,7 +6272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5821,7 +6328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5874,7 +6384,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5884,7 +6397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5976,7 +6492,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6030,7 +6549,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6042,12 +6564,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6064,7 +6592,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulset.json b/v1.12.2-standalone-strict/statefulset.json index fd19ea73c0..bc06f75bad 100644 --- a/v1.12.2-standalone-strict/statefulset.json +++ b/v1.12.2-standalone-strict/statefulset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,12 +403,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -432,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -455,7 +488,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -480,7 +516,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -514,7 +553,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -554,7 +596,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -617,7 +662,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -703,7 +751,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -746,11 +797,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1080,7 +1140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1177,7 +1240,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1279,7 +1345,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1376,7 +1445,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1416,7 +1488,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1498,7 +1573,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1545,7 +1623,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1575,7 +1656,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1610,7 +1694,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1634,7 +1721,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1736,7 +1826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1772,7 +1865,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1858,7 +1954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1894,7 +1993,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1931,7 +2033,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1988,7 +2093,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2004,17 +2112,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2039,7 +2156,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2048,7 +2168,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2084,7 +2207,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2131,7 +2257,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2188,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,17 +2336,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2239,7 +2380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2248,7 +2392,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2259,7 +2406,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2269,14 +2419,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2286,7 +2442,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2299,7 +2458,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2335,7 +2497,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2346,20 +2511,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2401,11 +2578,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2423,7 +2606,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2482,7 +2668,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2612,15 +2801,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2734,7 +2932,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2781,7 +2982,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2811,7 +3015,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2846,7 +3053,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2870,7 +3080,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2972,7 +3185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3008,7 +3224,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3094,7 +3313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3130,7 +3352,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3167,7 +3392,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3224,7 +3452,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3240,17 +3471,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3275,7 +3515,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3284,7 +3527,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3320,7 +3566,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3367,7 +3616,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3424,7 +3676,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3440,17 +3695,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3475,7 +3739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3484,7 +3751,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3495,7 +3765,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3505,14 +3778,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3522,7 +3801,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3535,7 +3817,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3571,7 +3856,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3582,20 +3870,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3637,11 +3937,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3659,7 +3965,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3718,7 +4027,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3755,7 +4067,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3765,7 +4080,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3821,21 +4139,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3879,7 +4209,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3927,7 +4260,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3938,7 +4274,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3973,7 +4312,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4014,12 +4356,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4066,7 +4414,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4080,7 +4431,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4118,7 +4472,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4165,7 +4522,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4192,7 +4552,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4214,7 +4577,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4600,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4244,7 +4613,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4281,7 +4653,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4310,7 +4685,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4347,7 +4725,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4366,12 +4747,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4421,7 +4808,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4431,7 +4821,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4484,7 +4877,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4493,7 +4889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4542,7 +4941,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4577,11 +4979,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4628,7 +5036,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4667,7 +5078,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4688,7 +5102,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4728,7 +5145,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4745,7 +5165,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4776,7 +5199,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4796,7 +5222,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4838,7 +5267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4867,7 +5299,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4907,7 +5342,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4927,7 +5365,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4947,7 +5388,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4980,7 +5424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5044,7 +5491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5097,7 +5547,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5114,7 +5567,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5149,7 +5605,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5171,7 +5630,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5184,7 +5646,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5208,7 +5673,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5294,7 +5762,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5341,7 +5812,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5366,7 +5840,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5400,7 +5877,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5440,7 +5920,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5503,7 +5986,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5589,7 +6075,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5632,11 +6121,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5726,7 +6221,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5736,14 +6234,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5753,7 +6257,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5806,7 +6313,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5859,7 +6369,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5869,7 +6382,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5961,7 +6477,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6015,7 +6534,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6027,12 +6549,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6049,7 +6577,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetlist-apps-v1.json b/v1.12.2-standalone-strict/statefulsetlist-apps-v1.json index e1bb6b172a..ebc11a3bb9 100644 --- a/v1.12.2-standalone-strict/statefulsetlist-apps-v1.json +++ b/v1.12.2-standalone-strict/statefulsetlist-apps-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,12 +430,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -459,7 +489,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +515,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -507,7 +543,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -541,7 +580,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -584,7 +626,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -647,7 +692,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -733,7 +781,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,11 +827,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -832,7 +889,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1110,7 +1170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1207,7 +1270,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1309,7 +1375,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1446,7 +1518,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1528,7 +1603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1575,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1605,7 +1686,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1724,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1664,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1766,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1802,7 +1895,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1924,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1961,7 +2063,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2018,7 +2123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2034,17 +2142,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2069,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2078,7 +2198,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2114,7 +2237,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2161,7 +2287,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2218,7 +2347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2234,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2269,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2278,7 +2422,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2289,7 +2436,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2299,14 +2449,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2316,7 +2472,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2329,7 +2488,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2365,7 +2527,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2376,20 +2541,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2431,11 +2608,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2453,7 +2636,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2512,7 +2698,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2642,15 +2831,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2764,7 +2962,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2811,7 +3012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2841,7 +3045,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2876,7 +3083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2900,7 +3110,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3002,7 +3215,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3038,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3160,7 +3382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3197,7 +3422,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3254,7 +3482,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3270,17 +3501,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3305,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3314,7 +3557,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3350,7 +3596,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3397,7 +3646,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3454,7 +3706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3470,17 +3725,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3505,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3514,7 +3781,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3525,7 +3795,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3535,14 +3808,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3552,7 +3831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3565,7 +3847,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3601,7 +3886,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3612,20 +3900,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3667,11 +3967,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3689,7 +3995,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3748,7 +4057,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3785,7 +4097,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3795,7 +4110,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3851,21 +4169,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,7 +4239,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3957,7 +4290,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3968,7 +4304,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4003,7 +4342,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4044,12 +4386,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4096,7 +4444,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4110,7 +4461,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4148,7 +4502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4195,7 +4552,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4222,7 +4582,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4244,7 +4607,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4264,7 +4630,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4274,7 +4643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4311,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4340,7 +4715,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4377,7 +4755,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4396,12 +4777,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4451,7 +4838,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4461,7 +4851,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4514,7 +4907,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4523,7 +4919,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4572,7 +4971,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4607,11 +5009,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4658,7 +5066,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4697,7 +5108,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4718,7 +5132,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4758,7 +5175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4775,7 +5195,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4806,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5252,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4868,7 +5297,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4897,7 +5329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4937,7 +5372,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4957,7 +5395,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4977,7 +5418,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5010,7 +5454,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5074,7 +5521,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5127,7 +5577,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5144,7 +5597,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5179,7 +5635,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5201,7 +5660,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5214,7 +5676,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5238,7 +5703,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5324,7 +5792,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5374,7 +5845,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5399,7 +5873,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5433,7 +5910,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5476,7 +5956,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5539,7 +6022,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5625,7 +6111,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5668,11 +6157,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5762,7 +6257,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5772,14 +6270,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5789,7 +6293,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5842,7 +6349,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5895,7 +6405,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5905,7 +6418,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5997,7 +6513,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6051,7 +6570,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6063,12 +6585,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6085,7 +6613,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta1.json b/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta1.json index 7053b9fe2d..49e282485f 100644 --- a/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -405,12 +429,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -458,7 +488,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -481,7 +514,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -506,7 +542,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -540,7 +579,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -583,7 +625,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -646,7 +691,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -732,7 +780,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -775,11 +826,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -831,7 +888,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1109,7 +1169,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1206,7 +1269,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1308,7 +1374,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1405,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1445,7 +1517,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1527,7 +1602,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1574,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1604,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1639,7 +1723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1663,7 +1750,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1765,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1801,7 +1894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1887,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1923,7 +2022,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1960,7 +2062,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2017,7 +2122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2033,17 +2141,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2068,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2077,7 +2197,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2113,7 +2236,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2160,7 +2286,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2217,7 +2346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2233,17 +2365,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2268,7 +2409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2277,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2288,7 +2435,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2298,14 +2448,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2315,7 +2471,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2328,7 +2487,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2364,7 +2526,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2375,20 +2540,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2430,11 +2607,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2452,7 +2635,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2511,7 +2697,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2641,15 +2830,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2763,7 +2961,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2810,7 +3011,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2840,7 +3044,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2875,7 +3082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2899,7 +3109,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3001,7 +3214,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3037,7 +3253,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3123,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3159,7 +3381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3196,7 +3421,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3253,7 +3481,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3269,17 +3500,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3304,7 +3544,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3313,7 +3556,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3349,7 +3595,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3396,7 +3645,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3453,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3469,17 +3724,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3504,7 +3768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3513,7 +3780,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3524,7 +3794,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3534,14 +3807,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3551,7 +3830,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3564,7 +3846,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3600,7 +3885,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3611,20 +3899,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3666,11 +3966,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3688,7 +3994,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3747,7 +4056,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3784,7 +4096,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3794,7 +4109,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3850,21 +4168,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3908,7 +4238,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3956,7 +4289,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3967,7 +4303,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4002,7 +4341,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4043,12 +4385,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4095,7 +4443,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4109,7 +4460,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4147,7 +4501,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4194,7 +4551,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4221,7 +4581,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4243,7 +4606,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4263,7 +4629,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4273,7 +4642,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4310,7 +4682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4339,7 +4714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4376,7 +4754,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4395,12 +4776,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4450,7 +4837,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4460,7 +4850,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4513,7 +4906,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4522,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4571,7 +4970,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4606,11 +5008,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4657,7 +5065,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4696,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4717,7 +5131,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4757,7 +5174,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4774,7 +5194,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4805,7 +5228,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4825,7 +5251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4867,7 +5296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4896,7 +5328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4936,7 +5371,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4956,7 +5394,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4976,7 +5417,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5009,7 +5453,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5073,7 +5520,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5126,7 +5576,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5143,7 +5596,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5178,7 +5634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5200,7 +5659,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5213,7 +5675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5237,7 +5702,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5323,7 +5791,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5373,7 +5844,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5398,7 +5872,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5432,7 +5909,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5475,7 +5955,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5538,7 +6021,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5624,7 +6110,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5667,11 +6156,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5761,7 +6256,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5771,14 +6269,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5788,7 +6292,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5841,7 +6348,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5894,7 +6404,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5904,7 +6417,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5996,7 +6512,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6050,7 +6569,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6062,12 +6584,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6084,7 +6612,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta2.json b/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta2.json index b589666491..53795440c3 100644 --- a/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/statefulsetlist-apps-v1beta2.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,12 +430,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -459,7 +489,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +515,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -507,7 +543,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -541,7 +580,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -584,7 +626,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -647,7 +692,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -733,7 +781,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,11 +827,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -832,7 +889,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1110,7 +1170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1207,7 +1270,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1309,7 +1375,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1446,7 +1518,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1528,7 +1603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1575,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1605,7 +1686,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1724,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1664,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1766,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1802,7 +1895,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1924,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1961,7 +2063,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2018,7 +2123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2034,17 +2142,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2069,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2078,7 +2198,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2114,7 +2237,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2161,7 +2287,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2218,7 +2347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2234,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2269,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2278,7 +2422,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2289,7 +2436,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2299,14 +2449,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2316,7 +2472,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2329,7 +2488,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2365,7 +2527,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2376,20 +2541,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2431,11 +2608,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2453,7 +2636,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2512,7 +2698,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2642,15 +2831,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2764,7 +2962,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2811,7 +3012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2841,7 +3045,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2876,7 +3083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2900,7 +3110,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3002,7 +3215,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3038,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3160,7 +3382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3197,7 +3422,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3254,7 +3482,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3270,17 +3501,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3305,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3314,7 +3557,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3350,7 +3596,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3397,7 +3646,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3454,7 +3706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3470,17 +3725,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3505,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3514,7 +3781,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3525,7 +3795,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3535,14 +3808,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3552,7 +3831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3565,7 +3847,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3601,7 +3886,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3612,20 +3900,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3667,11 +3967,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3689,7 +3995,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3748,7 +4057,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3785,7 +4097,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3795,7 +4110,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3851,21 +4169,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,7 +4239,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3957,7 +4290,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3968,7 +4304,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4003,7 +4342,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4044,12 +4386,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4096,7 +4444,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4110,7 +4461,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4148,7 +4502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4195,7 +4552,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4222,7 +4582,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4244,7 +4607,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4264,7 +4630,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4274,7 +4643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4311,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4340,7 +4715,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4377,7 +4755,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4396,12 +4777,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4451,7 +4838,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4461,7 +4851,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4514,7 +4907,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4523,7 +4919,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4572,7 +4971,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4607,11 +5009,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4658,7 +5066,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4697,7 +5108,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4718,7 +5132,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4758,7 +5175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4775,7 +5195,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4806,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5252,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4868,7 +5297,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4897,7 +5329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4937,7 +5372,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4957,7 +5395,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4977,7 +5418,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5010,7 +5454,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5074,7 +5521,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5127,7 +5577,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5144,7 +5597,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5179,7 +5635,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5201,7 +5660,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5214,7 +5676,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5238,7 +5703,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5324,7 +5792,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5374,7 +5845,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5399,7 +5873,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5433,7 +5910,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5476,7 +5956,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5539,7 +6022,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5625,7 +6111,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5668,11 +6157,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5762,7 +6257,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5772,14 +6270,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5789,7 +6293,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5842,7 +6349,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5895,7 +6405,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5905,7 +6418,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5997,7 +6513,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6051,7 +6570,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6063,12 +6585,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6085,7 +6613,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetlist.json b/v1.12.2-standalone-strict/statefulsetlist.json index 7cebc96d82..59df6facac 100644 --- a/v1.12.2-standalone-strict/statefulsetlist.json +++ b/v1.12.2-standalone-strict/statefulsetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -289,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -332,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -397,12 +421,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -450,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +506,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -498,7 +534,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -532,7 +571,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5312,7 +5780,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5359,7 +5830,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5384,7 +5858,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5418,7 +5895,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5458,7 +5938,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5521,7 +6004,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5607,7 +6093,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5650,11 +6139,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5744,7 +6239,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5754,14 +6252,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5771,7 +6275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5824,7 +6331,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5877,7 +6387,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5887,7 +6400,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5979,7 +6495,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6033,7 +6552,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6045,12 +6567,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6067,7 +6595,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetspec-apps-v1.json b/v1.12.2-standalone-strict/statefulsetspec-apps-v1.json index 2036c08c04..d990cdb7a8 100644 --- a/v1.12.2-standalone-strict/statefulsetspec-apps-v1.json +++ b/v1.12.2-standalone-strict/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -68,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -119,7 +131,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -153,7 +168,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +214,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -259,7 +280,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -345,7 +369,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -388,11 +415,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -444,7 +477,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -722,7 +758,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -819,7 +858,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -921,7 +963,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1018,7 +1063,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1058,7 +1106,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1140,7 +1191,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1187,7 +1241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1217,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1252,7 +1312,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1276,7 +1339,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1378,7 +1444,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1414,7 +1483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1536,7 +1611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1573,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1630,7 +1711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1646,17 +1730,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1681,7 +1774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1690,7 +1786,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1726,7 +1825,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1773,7 +1875,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1830,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1846,17 +1954,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1881,7 +1998,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1890,7 +2010,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1901,7 +2024,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1911,14 +2037,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1928,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1941,7 +2076,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1977,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1988,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2043,11 +2196,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2065,7 +2224,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2124,7 +2286,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2254,15 +2419,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2376,7 +2550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2423,7 +2600,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2453,7 +2633,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2488,7 +2671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2512,7 +2698,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2614,7 +2803,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2650,7 +2842,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2736,7 +2931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2772,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3010,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2866,7 +3070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2882,17 +3089,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2917,7 +3133,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2926,7 +3145,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2962,7 +3184,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3009,7 +3234,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3066,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3082,17 +3313,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3117,7 +3357,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3126,7 +3369,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3137,7 +3383,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3147,14 +3396,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3164,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3177,7 +3435,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3213,7 +3474,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3224,20 +3488,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3279,11 +3555,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3301,7 +3583,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3360,7 +3645,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3397,7 +3685,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3407,7 +3698,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3463,21 +3757,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3521,7 +3827,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3569,7 +3878,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3580,7 +3892,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3615,7 +3930,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3656,12 +3974,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3708,7 +4032,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3722,7 +4049,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3760,7 +4090,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3807,7 +4140,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3834,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3856,7 +4195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3876,7 +4218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3886,7 +4231,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3923,7 +4271,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3952,7 +4303,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3989,7 +4343,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4008,12 +4365,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4063,7 +4426,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4073,7 +4439,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4126,7 +4495,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4135,7 +4507,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4184,7 +4559,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4219,11 +4597,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4270,7 +4654,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4309,7 +4696,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4330,7 +4720,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4370,7 +4763,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4387,7 +4783,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4418,7 +4817,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4438,7 +4840,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4480,7 +4885,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4509,7 +4917,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4549,7 +4960,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4569,7 +4983,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4589,7 +5006,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4622,7 +5042,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4686,7 +5109,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4739,7 +5165,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4756,7 +5185,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4791,7 +5223,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4813,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5264,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4850,7 +5291,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4936,7 +5380,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4986,7 +5433,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5011,7 +5461,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5045,7 +5498,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5088,7 +5544,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5151,7 +5610,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5237,7 +5699,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5280,11 +5745,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5374,7 +5845,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5384,14 +5858,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5401,7 +5881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5454,7 +5937,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5507,7 +5993,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5517,7 +6006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta1.json b/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta1.json index 0ce2bc7438..43e7d3b0a8 100644 --- a/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -93,7 +102,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -118,7 +130,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -152,7 +167,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -195,7 +213,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +279,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -344,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -387,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -443,7 +476,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -721,7 +757,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -818,7 +857,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -920,7 +962,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1017,7 +1062,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1057,7 +1105,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1139,7 +1190,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1186,7 +1240,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1216,7 +1273,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1251,7 +1311,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1275,7 +1338,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1377,7 +1443,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1413,7 +1482,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1535,7 +1610,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1572,7 +1650,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1629,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1645,17 +1729,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1680,7 +1773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1689,7 +1785,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1725,7 +1824,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1772,7 +1874,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1829,7 +1934,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1845,17 +1953,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1880,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1889,7 +2009,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1900,7 +2023,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1910,14 +2036,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1927,7 +2059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1940,7 +2075,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1976,7 +2114,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1987,20 +2128,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2042,11 +2195,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2064,7 +2223,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2123,7 +2285,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2253,15 +2418,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2375,7 +2549,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2422,7 +2599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2452,7 +2632,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2487,7 +2670,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2511,7 +2697,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2613,7 +2802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2649,7 +2841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2735,7 +2930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2771,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3009,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2865,7 +3069,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2881,17 +3088,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2916,7 +3132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2925,7 +3144,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2961,7 +3183,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3008,7 +3233,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3065,7 +3293,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,17 +3312,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3116,7 +3356,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3125,7 +3368,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3136,7 +3382,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3146,14 +3395,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3163,7 +3418,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3176,7 +3434,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3212,7 +3473,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3223,20 +3487,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3278,11 +3554,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3300,7 +3582,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3359,7 +3644,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3396,7 +3684,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3406,7 +3697,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3462,21 +3756,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3520,7 +3826,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3568,7 +3877,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3579,7 +3891,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3614,7 +3929,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3655,12 +3973,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3707,7 +4031,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3721,7 +4048,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3759,7 +4089,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3806,7 +4139,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3833,7 +4169,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3855,7 +4194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3875,7 +4217,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3885,7 +4230,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3922,7 +4270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3951,7 +4302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3988,7 +4342,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4007,12 +4364,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4062,7 +4425,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4072,7 +4438,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4125,7 +4494,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4134,7 +4506,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4183,7 +4558,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4218,11 +4596,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4269,7 +4653,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4308,7 +4695,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4329,7 +4719,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4369,7 +4762,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4386,7 +4782,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4417,7 +4816,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4437,7 +4839,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4479,7 +4884,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4508,7 +4916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4548,7 +4959,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4568,7 +4982,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4588,7 +5005,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4621,7 +5041,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4685,7 +5108,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4738,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5184,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4790,7 +5222,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4812,7 +5247,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4825,7 +5263,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4849,7 +5290,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5379,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4985,7 +5432,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5010,7 +5460,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5044,7 +5497,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5087,7 +5543,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5150,7 +5609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5236,7 +5698,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5279,11 +5744,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5373,7 +5844,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5383,14 +5857,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5400,7 +5880,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5453,7 +5936,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5506,7 +5992,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5516,7 +6005,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta2.json b/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta2.json index 2036c08c04..d990cdb7a8 100644 --- a/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -68,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -119,7 +131,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -153,7 +168,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +214,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -259,7 +280,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -345,7 +369,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -388,11 +415,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -444,7 +477,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -722,7 +758,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -819,7 +858,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -921,7 +963,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1018,7 +1063,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1058,7 +1106,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1140,7 +1191,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1187,7 +1241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1217,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1252,7 +1312,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1276,7 +1339,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1378,7 +1444,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1414,7 +1483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1536,7 +1611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1573,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1630,7 +1711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1646,17 +1730,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1681,7 +1774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1690,7 +1786,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1726,7 +1825,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1773,7 +1875,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1830,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1846,17 +1954,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1881,7 +1998,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1890,7 +2010,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1901,7 +2024,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1911,14 +2037,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1928,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1941,7 +2076,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1977,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1988,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2043,11 +2196,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2065,7 +2224,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2124,7 +2286,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2254,15 +2419,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2376,7 +2550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2423,7 +2600,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2453,7 +2633,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2488,7 +2671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2512,7 +2698,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2614,7 +2803,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2650,7 +2842,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2736,7 +2931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2772,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3010,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2866,7 +3070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2882,17 +3089,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2917,7 +3133,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2926,7 +3145,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2962,7 +3184,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3009,7 +3234,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3066,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3082,17 +3313,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3117,7 +3357,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3126,7 +3369,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3137,7 +3383,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3147,14 +3396,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3164,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3177,7 +3435,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3213,7 +3474,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3224,20 +3488,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3279,11 +3555,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3301,7 +3583,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3360,7 +3645,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3397,7 +3685,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3407,7 +3698,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3463,21 +3757,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3521,7 +3827,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3569,7 +3878,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3580,7 +3892,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3615,7 +3930,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3656,12 +3974,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3708,7 +4032,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3722,7 +4049,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3760,7 +4090,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3807,7 +4140,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3834,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3856,7 +4195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3876,7 +4218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3886,7 +4231,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3923,7 +4271,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3952,7 +4303,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3989,7 +4343,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4008,12 +4365,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4063,7 +4426,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4073,7 +4439,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4126,7 +4495,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4135,7 +4507,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4184,7 +4559,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4219,11 +4597,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4270,7 +4654,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4309,7 +4696,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4330,7 +4720,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4370,7 +4763,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4387,7 +4783,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4418,7 +4817,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4438,7 +4840,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4480,7 +4885,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4509,7 +4917,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4549,7 +4960,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4569,7 +4983,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4589,7 +5006,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4622,7 +5042,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4686,7 +5109,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4739,7 +5165,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4756,7 +5185,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4791,7 +5223,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4813,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5264,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4850,7 +5291,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4936,7 +5380,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4986,7 +5433,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5011,7 +5461,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5045,7 +5498,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5088,7 +5544,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5151,7 +5610,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5237,7 +5699,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5280,11 +5745,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5374,7 +5845,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5384,14 +5858,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5401,7 +5881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5454,7 +5937,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5507,7 +5993,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5517,7 +6006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/statefulsetspec.json b/v1.12.2-standalone-strict/statefulsetspec.json index 4f99c93aa4..d3bbb558de 100644 --- a/v1.12.2-standalone-strict/statefulsetspec.json +++ b/v1.12.2-standalone-strict/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -68,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -119,7 +131,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -153,7 +168,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -256,7 +277,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -342,7 +366,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,11 +412,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -441,7 +474,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -719,7 +755,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -816,7 +855,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -918,7 +960,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1015,7 +1060,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1055,7 +1103,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1137,7 +1188,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1184,7 +1238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1214,7 +1271,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1249,7 +1309,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1273,7 +1336,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1375,7 +1441,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,7 +1480,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1497,7 +1569,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1533,7 +1608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1570,7 +1648,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1627,7 +1708,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1643,17 +1727,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1678,7 +1771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1687,7 +1783,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1723,7 +1822,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1770,7 +1872,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1827,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1843,17 +1951,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1878,7 +1995,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1887,7 +2007,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1898,7 +2021,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1908,14 +2034,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1925,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1938,7 +2073,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1974,7 +2112,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1985,20 +2126,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2040,11 +2193,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2062,7 +2221,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2121,7 +2283,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2251,15 +2416,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2373,7 +2547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2420,7 +2597,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2450,7 +2630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2485,7 +2668,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2509,7 +2695,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2611,7 +2800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2647,7 +2839,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2733,7 +2928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2769,7 +2967,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2806,7 +3007,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2863,7 +3067,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2879,17 +3086,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2914,7 +3130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2923,7 +3142,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2959,7 +3181,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3006,7 +3231,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3063,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3079,17 +3310,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3114,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3123,7 +3366,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3134,7 +3380,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3144,14 +3393,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3161,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3174,7 +3432,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3210,7 +3471,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3221,20 +3485,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3276,11 +3552,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3298,7 +3580,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3357,7 +3642,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3394,7 +3682,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3404,7 +3695,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3460,21 +3754,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3518,7 +3824,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3566,7 +3875,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3577,7 +3889,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3612,7 +3927,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3653,12 +3971,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3705,7 +4029,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3719,7 +4046,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3757,7 +4087,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3804,7 +4137,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3831,7 +4167,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3853,7 +4192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3873,7 +4215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3883,7 +4228,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3920,7 +4268,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3949,7 +4300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3986,7 +4340,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4005,12 +4362,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4060,7 +4423,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4070,7 +4436,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4123,7 +4492,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4132,7 +4504,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4181,7 +4556,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4216,11 +4594,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4267,7 +4651,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4306,7 +4693,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4327,7 +4717,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4367,7 +4760,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4384,7 +4780,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4415,7 +4814,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4435,7 +4837,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4477,7 +4882,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4506,7 +4914,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4546,7 +4957,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4566,7 +4980,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,7 +5003,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4619,7 +5039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4683,7 +5106,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4736,7 +5162,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4753,7 +5182,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4788,7 +5220,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4810,7 +5245,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4823,7 +5261,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4847,7 +5288,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4933,7 +5377,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4980,7 +5427,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5005,7 +5455,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5039,7 +5492,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5079,7 +5535,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5142,7 +5601,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5228,7 +5690,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5271,11 +5736,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5365,7 +5836,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5375,14 +5849,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5392,7 +5872,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5445,7 +5928,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5498,7 +5984,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5508,7 +5997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/statefulsetstatus-apps-v1.json b/v1.12.2-standalone-strict/statefulsetstatus-apps-v1.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.2-standalone-strict/statefulsetstatus-apps-v1.json +++ b/v1.12.2-standalone-strict/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta1.json b/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta1.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta2.json b/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta2.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetstatus.json b/v1.12.2-standalone-strict/statefulsetstatus.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.2-standalone-strict/statefulsetstatus.json +++ b/v1.12.2-standalone-strict/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1.json b/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1.json index dc801c4ada..2020e201e9 100644 --- a/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1.json +++ b/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json b/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json index de6389cad4..ae8bbdd2af 100644 --- a/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json +++ b/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json b/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json index dc801c4ada..2020e201e9 100644 --- a/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.2-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/statefulsetupdatestrategy.json b/v1.12.2-standalone-strict/statefulsetupdatestrategy.json index dc801c4ada..2020e201e9 100644 --- a/v1.12.2-standalone-strict/statefulsetupdatestrategy.json +++ b/v1.12.2-standalone-strict/statefulsetupdatestrategy.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/status-meta-v1.json b/v1.12.2-standalone-strict/status-meta-v1.json index 0cc9e017c6..cb3b59667f 100644 --- a/v1.12.2-standalone-strict/status-meta-v1.json +++ b/v1.12.2-standalone-strict/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -76,7 +79,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone-strict/status.json b/v1.12.2-standalone-strict/status.json index 39a5681d08..00bc5c383d 100644 --- a/v1.12.2-standalone-strict/status.json +++ b/v1.12.2-standalone-strict/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -73,7 +76,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone-strict/statusdetails-meta-v1.json b/v1.12.2-standalone-strict/statusdetails-meta-v1.json index 01501cbbf8..0fca372ef6 100644 --- a/v1.12.2-standalone-strict/statusdetails-meta-v1.json +++ b/v1.12.2-standalone-strict/statusdetails-meta-v1.json @@ -58,7 +58,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone-strict/statusdetails.json b/v1.12.2-standalone-strict/statusdetails.json index 01501cbbf8..0fca372ef6 100644 --- a/v1.12.2-standalone-strict/statusdetails.json +++ b/v1.12.2-standalone-strict/statusdetails.json @@ -58,7 +58,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone-strict/storageclass-storage-v1.json b/v1.12.2-standalone-strict/storageclass-storage-v1.json index 5deece509c..6a2bde1927 100644 --- a/v1.12.2-standalone-strict/storageclass-storage-v1.json +++ b/v1.12.2-standalone-strict/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -77,7 +80,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +108,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +145,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -179,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -242,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -328,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -371,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +461,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/storageclass-storage-v1beta1.json b/v1.12.2-standalone-strict/storageclass-storage-v1beta1.json index 03e756a63b..e4c114b3d7 100644 --- a/v1.12.2-standalone-strict/storageclass-storage-v1beta1.json +++ b/v1.12.2-standalone-strict/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -77,7 +80,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +108,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +145,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -179,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -242,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -328,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -371,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +461,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/storageclass.json b/v1.12.2-standalone-strict/storageclass.json index fe5ecf1a8e..0cc4caecea 100644 --- a/v1.12.2-standalone-strict/storageclass.json +++ b/v1.12.2-standalone-strict/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -74,7 +77,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -99,7 +105,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -133,7 +142,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -173,7 +185,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -236,7 +251,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -322,7 +340,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,11 +386,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +455,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/storageclasslist-storage-v1.json b/v1.12.2-standalone-strict/storageclasslist-storage-v1.json index e0d9dce58d..79b56557bb 100644 --- a/v1.12.2-standalone-strict/storageclasslist-storage-v1.json +++ b/v1.12.2-standalone-strict/storageclasslist-storage-v1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -99,7 +102,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +130,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -158,7 +167,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -201,7 +213,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -264,7 +279,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -350,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -456,7 +483,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/storageclasslist-storage-v1beta1.json b/v1.12.2-standalone-strict/storageclasslist-storage-v1beta1.json index 9139cd9753..72d05863e5 100644 --- a/v1.12.2-standalone-strict/storageclasslist-storage-v1beta1.json +++ b/v1.12.2-standalone-strict/storageclasslist-storage-v1beta1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -99,7 +102,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +130,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -158,7 +167,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -201,7 +213,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -264,7 +279,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -350,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -456,7 +483,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/storageclasslist.json b/v1.12.2-standalone-strict/storageclasslist.json index 78db20cd70..5d8766b627 100644 --- a/v1.12.2-standalone-strict/storageclasslist.json +++ b/v1.12.2-standalone-strict/storageclasslist.json @@ -25,7 +25,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -93,7 +96,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -118,7 +124,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -152,7 +161,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -192,7 +204,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +270,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -341,7 +359,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -384,11 +405,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +474,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/storageospersistentvolumesource-v1.json b/v1.12.2-standalone-strict/storageospersistentvolumesource-v1.json index 656ccac936..0e92a4d3cf 100644 --- a/v1.12.2-standalone-strict/storageospersistentvolumesource-v1.json +++ b/v1.12.2-standalone-strict/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/storageospersistentvolumesource.json b/v1.12.2-standalone-strict/storageospersistentvolumesource.json index 656ccac936..0e92a4d3cf 100644 --- a/v1.12.2-standalone-strict/storageospersistentvolumesource.json +++ b/v1.12.2-standalone-strict/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone-strict/storageosvolumesource-v1.json b/v1.12.2-standalone-strict/storageosvolumesource-v1.json index 722d15a7d7..40cdfa7269 100644 --- a/v1.12.2-standalone-strict/storageosvolumesource-v1.json +++ b/v1.12.2-standalone-strict/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/storageosvolumesource.json b/v1.12.2-standalone-strict/storageosvolumesource.json index 722d15a7d7..40cdfa7269 100644 --- a/v1.12.2-standalone-strict/storageosvolumesource.json +++ b/v1.12.2-standalone-strict/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1.json b/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1.json index cb8f0cbe20..64c9555359 100644 --- a/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1.json +++ b/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1beta1.json b/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1beta1.json index 15695e27b5..d995b92d53 100644 --- a/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/subjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/subjectaccessreview.json b/v1.12.2-standalone-strict/subjectaccessreview.json index 44cd8f9103..42fbca20d0 100644 --- a/v1.12.2-standalone-strict/subjectaccessreview.json +++ b/v1.12.2-standalone-strict/subjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -501,7 +528,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1.json b/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1.json index 1beaa8f0f4..ee6ad9fde0 100644 --- a/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json index ebf20e4b4b..040d1b84d3 100644 --- a/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/subjectaccessreviewspec.json b/v1.12.2-standalone-strict/subjectaccessreviewspec.json index ebf20e4b4b..040d1b84d3 100644 --- a/v1.12.2-standalone-strict/subjectaccessreviewspec.json +++ b/v1.12.2-standalone-strict/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1.json b/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1.json index 6de49e34ea..0113ac872b 100644 --- a/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json index 6de49e34ea..0113ac872b 100644 --- a/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/subjectaccessreviewstatus.json b/v1.12.2-standalone-strict/subjectaccessreviewstatus.json index 6de49e34ea..0113ac872b 100644 --- a/v1.12.2-standalone-strict/subjectaccessreviewstatus.json +++ b/v1.12.2-standalone-strict/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1.json b/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1.json index 83aa63e06c..9516b1d29c 100644 --- a/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json index 83aa63e06c..9516b1d29c 100644 --- a/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.2-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-standalone-strict/subjectrulesreviewstatus.json b/v1.12.2-standalone-strict/subjectrulesreviewstatus.json index 83aa63e06c..9516b1d29c 100644 --- a/v1.12.2-standalone-strict/subjectrulesreviewstatus.json +++ b/v1.12.2-standalone-strict/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-standalone-strict/tcpsocketaction-v1.json b/v1.12.2-standalone-strict/tcpsocketaction-v1.json index 9e1369d065..fb85c22dae 100644 --- a/v1.12.2-standalone-strict/tcpsocketaction-v1.json +++ b/v1.12.2-standalone-strict/tcpsocketaction-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/tcpsocketaction.json b/v1.12.2-standalone-strict/tcpsocketaction.json index 9e1369d065..fb85c22dae 100644 --- a/v1.12.2-standalone-strict/tcpsocketaction.json +++ b/v1.12.2-standalone-strict/tcpsocketaction.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone-strict/time-meta-v1.json b/v1.12.2-standalone-strict/time-meta-v1.json index 192d3f7edc..042d13b5a2 100644 --- a/v1.12.2-standalone-strict/time-meta-v1.json +++ b/v1.12.2-standalone-strict/time-meta-v1.json @@ -2,5 +2,6 @@ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/time.json b/v1.12.2-standalone-strict/time.json index 192d3f7edc..042d13b5a2 100644 --- a/v1.12.2-standalone-strict/time.json +++ b/v1.12.2-standalone-strict/time.json @@ -2,5 +2,6 @@ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.2-standalone-strict/tokenreview-authentication-v1.json b/v1.12.2-standalone-strict/tokenreview-authentication-v1.json index 586bad8a23..ef4cc2364a 100644 --- a/v1.12.2-standalone-strict/tokenreview-authentication-v1.json +++ b/v1.12.2-standalone-strict/tokenreview-authentication-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -403,7 +430,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/tokenreview-authentication-v1beta1.json b/v1.12.2-standalone-strict/tokenreview-authentication-v1beta1.json index 15b32cd97a..d444829a91 100644 --- a/v1.12.2-standalone-strict/tokenreview-authentication-v1beta1.json +++ b/v1.12.2-standalone-strict/tokenreview-authentication-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -403,7 +430,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/tokenreview.json b/v1.12.2-standalone-strict/tokenreview.json index 9676098a9c..4e00f97200 100644 --- a/v1.12.2-standalone-strict/tokenreview.json +++ b/v1.12.2-standalone-strict/tokenreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -383,7 +407,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -397,7 +424,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1.json b/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1.json index 8cf5ea6bc9..bbcd1aa48b 100644 --- a/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1.json +++ b/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1beta1.json b/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1beta1.json index 8cf5ea6bc9..bbcd1aa48b 100644 --- a/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.2-standalone-strict/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/tokenreviewstatus.json b/v1.12.2-standalone-strict/tokenreviewstatus.json index 8cf5ea6bc9..bbcd1aa48b 100644 --- a/v1.12.2-standalone-strict/tokenreviewstatus.json +++ b/v1.12.2-standalone-strict/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/toleration-v1.json b/v1.12.2-standalone-strict/toleration-v1.json index 41159a253e..0abe7f8a28 100644 --- a/v1.12.2-standalone-strict/toleration-v1.json +++ b/v1.12.2-standalone-strict/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2-standalone-strict/toleration.json b/v1.12.2-standalone-strict/toleration.json index 41159a253e..0abe7f8a28 100644 --- a/v1.12.2-standalone-strict/toleration.json +++ b/v1.12.2-standalone-strict/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2-standalone-strict/userinfo-authentication-v1.json b/v1.12.2-standalone-strict/userinfo-authentication-v1.json index 0f14dfe233..2c41a852c7 100644 --- a/v1.12.2-standalone-strict/userinfo-authentication-v1.json +++ b/v1.12.2-standalone-strict/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/userinfo-authentication-v1beta1.json b/v1.12.2-standalone-strict/userinfo-authentication-v1beta1.json index 0f14dfe233..2c41a852c7 100644 --- a/v1.12.2-standalone-strict/userinfo-authentication-v1beta1.json +++ b/v1.12.2-standalone-strict/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/userinfo.json b/v1.12.2-standalone-strict/userinfo.json index 0f14dfe233..2c41a852c7 100644 --- a/v1.12.2-standalone-strict/userinfo.json +++ b/v1.12.2-standalone-strict/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.2-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json index e41c3a43ab..6e30ce4516 100644 --- a/v1.12.2-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -483,7 +507,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/validatingwebhookconfiguration.json b/v1.12.2-standalone-strict/validatingwebhookconfiguration.json index 624f12560a..6c3c1608de 100644 --- a/v1.12.2-standalone-strict/validatingwebhookconfiguration.json +++ b/v1.12.2-standalone-strict/validatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -477,7 +501,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.2-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json index 94273e148b..a2ac5dc803 100644 --- a/v1.12.2-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -505,7 +529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/validatingwebhookconfigurationlist.json b/v1.12.2-standalone-strict/validatingwebhookconfigurationlist.json index 0b459bf19a..e1cdf2a5dd 100644 --- a/v1.12.2-standalone-strict/validatingwebhookconfigurationlist.json +++ b/v1.12.2-standalone-strict/validatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -496,7 +520,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volume-v1.json b/v1.12.2-standalone-strict/volume-v1.json index 0221e352fb..f0a047715e 100644 --- a/v1.12.2-standalone-strict/volume-v1.json +++ b/v1.12.2-standalone-strict/volume-v1.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -71,7 +77,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +94,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -123,7 +135,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -170,7 +185,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -197,7 +215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -219,7 +240,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -239,7 +263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -249,7 +276,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -286,7 +316,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -315,7 +348,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -352,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -371,12 +410,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -426,7 +471,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -436,7 +484,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -489,7 +540,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -498,7 +552,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -547,7 +604,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -582,11 +642,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -633,7 +699,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -675,7 +744,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -696,7 +768,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -736,7 +811,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -753,7 +831,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -784,7 +865,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -804,7 +888,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -846,7 +933,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -875,7 +965,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -915,7 +1008,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -935,7 +1031,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -955,7 +1054,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -988,7 +1090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1052,7 +1157,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1105,7 +1213,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1122,7 +1233,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1157,7 +1271,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1179,7 +1296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1192,7 +1312,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1216,7 +1339,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/volume.json b/v1.12.2-standalone-strict/volume.json index 0221e352fb..f0a047715e 100644 --- a/v1.12.2-standalone-strict/volume.json +++ b/v1.12.2-standalone-strict/volume.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -71,7 +77,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +94,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -123,7 +135,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -170,7 +185,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -197,7 +215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -219,7 +240,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -239,7 +263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -249,7 +276,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -286,7 +316,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -315,7 +348,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -352,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -371,12 +410,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -426,7 +471,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -436,7 +484,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -489,7 +540,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -498,7 +552,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -547,7 +604,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -582,11 +642,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -633,7 +699,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -675,7 +744,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -696,7 +768,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -736,7 +811,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -753,7 +831,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -784,7 +865,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -804,7 +888,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -846,7 +933,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -875,7 +965,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -915,7 +1008,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -935,7 +1031,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -955,7 +1054,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -988,7 +1090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1052,7 +1157,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1105,7 +1213,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1122,7 +1233,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1157,7 +1271,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1179,7 +1296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1192,7 +1312,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1216,7 +1339,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone-strict/volumeattachment-storage-v1alpha1.json b/v1.12.2-standalone-strict/volumeattachment-storage-v1alpha1.json index 65868df499..94c1591392 100644 --- a/v1.12.2-standalone-strict/volumeattachment-storage-v1alpha1.json +++ b/v1.12.2-standalone-strict/volumeattachment-storage-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -436,7 +460,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachment-storage-v1beta1.json b/v1.12.2-standalone-strict/volumeattachment-storage-v1beta1.json index d6477fd79f..e71f490c06 100644 --- a/v1.12.2-standalone-strict/volumeattachment-storage-v1beta1.json +++ b/v1.12.2-standalone-strict/volumeattachment-storage-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -436,7 +460,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachment.json b/v1.12.2-standalone-strict/volumeattachment.json index 7c098df324..fe457340d3 100644 --- a/v1.12.2-standalone-strict/volumeattachment.json +++ b/v1.12.2-standalone-strict/volumeattachment.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -430,7 +454,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1alpha1.json b/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1alpha1.json index da0ad4575e..8429f9affe 100644 --- a/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1alpha1.json +++ b/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1beta1.json b/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1beta1.json index db4cd5bac6..9ff04124a7 100644 --- a/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1beta1.json +++ b/v1.12.2-standalone-strict/volumeattachmentlist-storage-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachmentlist.json b/v1.12.2-standalone-strict/volumeattachmentlist.json index c5f0a7c812..a595b062a6 100644 --- a/v1.12.2-standalone-strict/volumeattachmentlist.json +++ b/v1.12.2-standalone-strict/volumeattachmentlist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -449,7 +473,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json index 4ffdf684da..5a58125ed5 100644 --- a/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json @@ -27,11 +27,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1beta1.json b/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1beta1.json index 4ffdf684da..5a58125ed5 100644 --- a/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.2-standalone-strict/volumeattachmentstatus-storage-v1beta1.json @@ -27,11 +27,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumeattachmentstatus.json b/v1.12.2-standalone-strict/volumeattachmentstatus.json index 4ffdf684da..5a58125ed5 100644 --- a/v1.12.2-standalone-strict/volumeattachmentstatus.json +++ b/v1.12.2-standalone-strict/volumeattachmentstatus.json @@ -27,11 +27,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/volumemount-v1.json b/v1.12.2-standalone-strict/volumemount-v1.json index b39036a1d2..6e824a1f19 100644 --- a/v1.12.2-standalone-strict/volumemount-v1.json +++ b/v1.12.2-standalone-strict/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone-strict/volumemount.json b/v1.12.2-standalone-strict/volumemount.json index b39036a1d2..6e824a1f19 100644 --- a/v1.12.2-standalone-strict/volumemount.json +++ b/v1.12.2-standalone-strict/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone-strict/volumeprojection-v1.json b/v1.12.2-standalone-strict/volumeprojection-v1.json index 20128e9acb..2f3d16cab5 100644 --- a/v1.12.2-standalone-strict/volumeprojection-v1.json +++ b/v1.12.2-standalone-strict/volumeprojection-v1.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -43,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +91,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -154,7 +166,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -174,7 +189,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -194,7 +212,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone-strict/volumeprojection.json b/v1.12.2-standalone-strict/volumeprojection.json index 20128e9acb..2f3d16cab5 100644 --- a/v1.12.2-standalone-strict/volumeprojection.json +++ b/v1.12.2-standalone-strict/volumeprojection.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -43,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +91,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -154,7 +166,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -174,7 +189,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -194,7 +212,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone-strict/webhook-admissionregistration-v1beta1.json b/v1.12.2-standalone-strict/webhook-admissionregistration-v1beta1.json index b7a72d393f..e63dd2e01a 100644 --- a/v1.12.2-standalone-strict/webhook-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone-strict/webhook-admissionregistration-v1beta1.json @@ -110,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/webhook.json b/v1.12.2-standalone-strict/webhook.json index b7a72d393f..e63dd2e01a 100644 --- a/v1.12.2-standalone-strict/webhook.json +++ b/v1.12.2-standalone-strict/webhook.json @@ -110,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone-strict/weightedpodaffinityterm-v1.json b/v1.12.2-standalone-strict/weightedpodaffinityterm-v1.json index 1347f1985a..1e373979a8 100644 --- a/v1.12.2-standalone-strict/weightedpodaffinityterm-v1.json +++ b/v1.12.2-standalone-strict/weightedpodaffinityterm-v1.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone-strict/weightedpodaffinityterm.json b/v1.12.2-standalone-strict/weightedpodaffinityterm.json index 1347f1985a..1e373979a8 100644 --- a/v1.12.2-standalone-strict/weightedpodaffinityterm.json +++ b/v1.12.2-standalone-strict/weightedpodaffinityterm.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/_definitions.json b/v1.12.2-standalone/_definitions.json index a2ff3fbbf0..3109497043 100644 --- a/v1.12.2-standalone/_definitions.json +++ b/v1.12.2-standalone/_definitions.json @@ -15572,7 +15572,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.2-standalone/affinity-v1.json b/v1.12.2-standalone/affinity-v1.json index c043e03ea2..c4075ca3bf 100644 --- a/v1.12.2-standalone/affinity-v1.json +++ b/v1.12.2-standalone/affinity-v1.json @@ -263,7 +263,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,7 +359,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +556,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/affinity.json b/v1.12.2-standalone/affinity.json index c043e03ea2..c4075ca3bf 100644 --- a/v1.12.2-standalone/affinity.json +++ b/v1.12.2-standalone/affinity.json @@ -263,7 +263,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,7 +359,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +556,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/aggregationrule-rbac-v1.json b/v1.12.2-standalone/aggregationrule-rbac-v1.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.2-standalone/aggregationrule-rbac-v1.json +++ b/v1.12.2-standalone/aggregationrule-rbac-v1.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/aggregationrule-rbac-v1alpha1.json b/v1.12.2-standalone/aggregationrule-rbac-v1alpha1.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.2-standalone/aggregationrule-rbac-v1alpha1.json +++ b/v1.12.2-standalone/aggregationrule-rbac-v1alpha1.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/aggregationrule-rbac-v1beta1.json b/v1.12.2-standalone/aggregationrule-rbac-v1beta1.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.2-standalone/aggregationrule-rbac-v1beta1.json +++ b/v1.12.2-standalone/aggregationrule-rbac-v1beta1.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/aggregationrule.json b/v1.12.2-standalone/aggregationrule.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.2-standalone/aggregationrule.json +++ b/v1.12.2-standalone/aggregationrule.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/allowedhostpath-extensions-v1beta1.json b/v1.12.2-standalone/allowedhostpath-extensions-v1beta1.json index e3a663f0bb..492a7eb2fe 100644 --- a/v1.12.2-standalone/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.2-standalone/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/allowedhostpath-policy-v1beta1.json b/v1.12.2-standalone/allowedhostpath-policy-v1beta1.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.2-standalone/allowedhostpath-policy-v1beta1.json +++ b/v1.12.2-standalone/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/allowedhostpath.json b/v1.12.2-standalone/allowedhostpath.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.2-standalone/allowedhostpath.json +++ b/v1.12.2-standalone/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/apiresource-meta-v1.json b/v1.12.2-standalone/apiresource-meta-v1.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.2-standalone/apiresource-meta-v1.json +++ b/v1.12.2-standalone/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2-standalone/apiresource.json b/v1.12.2-standalone/apiresource.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.2-standalone/apiresource.json +++ b/v1.12.2-standalone/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2-standalone/apiservice-apiregistration-v1.json b/v1.12.2-standalone/apiservice-apiregistration-v1.json index 7998e6f4e1..a2b0fae0f2 100644 --- a/v1.12.2-standalone/apiservice-apiregistration-v1.json +++ b/v1.12.2-standalone/apiservice-apiregistration-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone/apiservice-apiregistration-v1beta1.json b/v1.12.2-standalone/apiservice-apiregistration-v1beta1.json index d7be9b27f4..742830201f 100644 --- a/v1.12.2-standalone/apiservice-apiregistration-v1beta1.json +++ b/v1.12.2-standalone/apiservice-apiregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone/apiservice.json b/v1.12.2-standalone/apiservice.json index 6a0f0e9e63..339c748931 100644 --- a/v1.12.2-standalone/apiservice.json +++ b/v1.12.2-standalone/apiservice.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone/apiservicelist-apiregistration-v1.json b/v1.12.2-standalone/apiservicelist-apiregistration-v1.json index 1d297fa8dc..e69709e131 100644 --- a/v1.12.2-standalone/apiservicelist-apiregistration-v1.json +++ b/v1.12.2-standalone/apiservicelist-apiregistration-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -411,7 +435,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone/apiservicelist-apiregistration-v1beta1.json b/v1.12.2-standalone/apiservicelist-apiregistration-v1beta1.json index 84131a17d9..b6a307c1af 100644 --- a/v1.12.2-standalone/apiservicelist-apiregistration-v1beta1.json +++ b/v1.12.2-standalone/apiservicelist-apiregistration-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -411,7 +435,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone/apiservicelist.json b/v1.12.2-standalone/apiservicelist.json index 8be58b66d9..d8c78adff2 100644 --- a/v1.12.2-standalone/apiservicelist.json +++ b/v1.12.2-standalone/apiservicelist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -201,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -283,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -326,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -402,7 +426,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.2-standalone/apiservicespec-apiregistration-v1.json b/v1.12.2-standalone/apiservicespec-apiregistration-v1.json index f41ce768a7..b63bd6f314 100644 --- a/v1.12.2-standalone/apiservicespec-apiregistration-v1.json +++ b/v1.12.2-standalone/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -58,7 +64,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/apiservicespec-apiregistration-v1beta1.json b/v1.12.2-standalone/apiservicespec-apiregistration-v1beta1.json index f41ce768a7..b63bd6f314 100644 --- a/v1.12.2-standalone/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.2-standalone/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -58,7 +64,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/apiservicespec.json b/v1.12.2-standalone/apiservicespec.json index f41ce768a7..b63bd6f314 100644 --- a/v1.12.2-standalone/apiservicespec.json +++ b/v1.12.2-standalone/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -58,7 +64,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/awselasticblockstorevolumesource-v1.json b/v1.12.2-standalone/awselasticblockstorevolumesource-v1.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.2-standalone/awselasticblockstorevolumesource-v1.json +++ b/v1.12.2-standalone/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2-standalone/awselasticblockstorevolumesource.json b/v1.12.2-standalone/awselasticblockstorevolumesource.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.2-standalone/awselasticblockstorevolumesource.json +++ b/v1.12.2-standalone/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2-standalone/azurediskvolumesource-v1.json b/v1.12.2-standalone/azurediskvolumesource-v1.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.2-standalone/azurediskvolumesource-v1.json +++ b/v1.12.2-standalone/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/azurediskvolumesource.json b/v1.12.2-standalone/azurediskvolumesource.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.2-standalone/azurediskvolumesource.json +++ b/v1.12.2-standalone/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/azurefilepersistentvolumesource-v1.json b/v1.12.2-standalone/azurefilepersistentvolumesource-v1.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.2-standalone/azurefilepersistentvolumesource-v1.json +++ b/v1.12.2-standalone/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone/azurefilepersistentvolumesource.json b/v1.12.2-standalone/azurefilepersistentvolumesource.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.2-standalone/azurefilepersistentvolumesource.json +++ b/v1.12.2-standalone/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone/azurefilevolumesource-v1.json b/v1.12.2-standalone/azurefilevolumesource-v1.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.2-standalone/azurefilevolumesource-v1.json +++ b/v1.12.2-standalone/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone/azurefilevolumesource.json b/v1.12.2-standalone/azurefilevolumesource.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.2-standalone/azurefilevolumesource.json +++ b/v1.12.2-standalone/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2-standalone/binding-v1.json b/v1.12.2-standalone/binding-v1.json index 6a83fcdb04..997f03a4cf 100644 --- a/v1.12.2-standalone/binding-v1.json +++ b/v1.12.2-standalone/binding-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/binding.json b/v1.12.2-standalone/binding.json index 638eef7e4e..8f1f777716 100644 --- a/v1.12.2-standalone/binding.json +++ b/v1.12.2-standalone/binding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/cephfspersistentvolumesource-v1.json b/v1.12.2-standalone/cephfspersistentvolumesource-v1.json index a0be27450b..d8f214757e 100644 --- a/v1.12.2-standalone/cephfspersistentvolumesource-v1.json +++ b/v1.12.2-standalone/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone/cephfspersistentvolumesource.json b/v1.12.2-standalone/cephfspersistentvolumesource.json index a0be27450b..d8f214757e 100644 --- a/v1.12.2-standalone/cephfspersistentvolumesource.json +++ b/v1.12.2-standalone/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone/cephfsvolumesource-v1.json b/v1.12.2-standalone/cephfsvolumesource-v1.json index 1dcf9eff5e..f93e33083c 100644 --- a/v1.12.2-standalone/cephfsvolumesource-v1.json +++ b/v1.12.2-standalone/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone/cephfsvolumesource.json b/v1.12.2-standalone/cephfsvolumesource.json index 1dcf9eff5e..f93e33083c 100644 --- a/v1.12.2-standalone/cephfsvolumesource.json +++ b/v1.12.2-standalone/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2-standalone/certificatesigningrequest-certificates-v1beta1.json b/v1.12.2-standalone/certificatesigningrequest-certificates-v1beta1.json index 7fef6c5c72..81295324db 100644 --- a/v1.12.2-standalone/certificatesigningrequest-certificates-v1beta1.json +++ b/v1.12.2-standalone/certificatesigningrequest-certificates-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/certificatesigningrequest.json b/v1.12.2-standalone/certificatesigningrequest.json index 34be42068e..494903e2fa 100644 --- a/v1.12.2-standalone/certificatesigningrequest.json +++ b/v1.12.2-standalone/certificatesigningrequest.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/certificatesigningrequestlist-certificates-v1beta1.json b/v1.12.2-standalone/certificatesigningrequestlist-certificates-v1beta1.json index 72a5bc7d6b..78074c76f0 100644 --- a/v1.12.2-standalone/certificatesigningrequestlist-certificates-v1beta1.json +++ b/v1.12.2-standalone/certificatesigningrequestlist-certificates-v1beta1.json @@ -46,7 +46,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -71,7 +74,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -105,7 +111,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -147,7 +156,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -209,7 +221,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -291,7 +306,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,11 +352,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -388,7 +412,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/certificatesigningrequestlist.json b/v1.12.2-standalone/certificatesigningrequestlist.json index e125371e25..8e6c06e263 100644 --- a/v1.12.2-standalone/certificatesigningrequestlist.json +++ b/v1.12.2-standalone/certificatesigningrequestlist.json @@ -40,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -138,7 +147,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -200,7 +212,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -282,7 +297,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -325,11 +343,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +403,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.2-standalone/certificatesigningrequestspec-certificates-v1beta1.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.2-standalone/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.2-standalone/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/certificatesigningrequestspec.json b/v1.12.2-standalone/certificatesigningrequestspec.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.2-standalone/certificatesigningrequestspec.json +++ b/v1.12.2-standalone/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/cinderpersistentvolumesource-v1.json b/v1.12.2-standalone/cinderpersistentvolumesource-v1.json index 3e4ca7abb0..89ff99c9db 100644 --- a/v1.12.2-standalone/cinderpersistentvolumesource-v1.json +++ b/v1.12.2-standalone/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/cinderpersistentvolumesource.json b/v1.12.2-standalone/cinderpersistentvolumesource.json index 3e4ca7abb0..89ff99c9db 100644 --- a/v1.12.2-standalone/cinderpersistentvolumesource.json +++ b/v1.12.2-standalone/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/cindervolumesource-v1.json b/v1.12.2-standalone/cindervolumesource-v1.json index 2b9408995a..391274fa86 100644 --- a/v1.12.2-standalone/cindervolumesource-v1.json +++ b/v1.12.2-standalone/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/cindervolumesource.json b/v1.12.2-standalone/cindervolumesource.json index 2b9408995a..391274fa86 100644 --- a/v1.12.2-standalone/cindervolumesource.json +++ b/v1.12.2-standalone/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/clientipconfig-v1.json b/v1.12.2-standalone/clientipconfig-v1.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.2-standalone/clientipconfig-v1.json +++ b/v1.12.2-standalone/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/clientipconfig.json b/v1.12.2-standalone/clientipconfig.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.2-standalone/clientipconfig.json +++ b/v1.12.2-standalone/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/clusterrole-rbac-v1.json b/v1.12.2-standalone/clusterrole-rbac-v1.json index df0b1c152c..a3758f7a84 100644 --- a/v1.12.2-standalone/clusterrole-rbac-v1.json +++ b/v1.12.2-standalone/clusterrole-rbac-v1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrole-rbac-v1alpha1.json b/v1.12.2-standalone/clusterrole-rbac-v1alpha1.json index 727ae4a3e4..131cfc97a7 100644 --- a/v1.12.2-standalone/clusterrole-rbac-v1alpha1.json +++ b/v1.12.2-standalone/clusterrole-rbac-v1alpha1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrole-rbac-v1beta1.json b/v1.12.2-standalone/clusterrole-rbac-v1beta1.json index bd1876df6a..ae098db6f8 100644 --- a/v1.12.2-standalone/clusterrole-rbac-v1beta1.json +++ b/v1.12.2-standalone/clusterrole-rbac-v1beta1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrole.json b/v1.12.2-standalone/clusterrole.json index 4de83b0997..8c20fda2a1 100644 --- a/v1.12.2-standalone/clusterrole.json +++ b/v1.12.2-standalone/clusterrole.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +95,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +123,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +160,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -190,7 +202,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -252,7 +267,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -334,7 +352,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -377,11 +398,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebinding-rbac-v1.json b/v1.12.2-standalone/clusterrolebinding-rbac-v1.json index 746a0ed573..1d9d5ddd20 100644 --- a/v1.12.2-standalone/clusterrolebinding-rbac-v1.json +++ b/v1.12.2-standalone/clusterrolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebinding-rbac-v1alpha1.json b/v1.12.2-standalone/clusterrolebinding-rbac-v1alpha1.json index 4a1ae9ed57..d861fe0b13 100644 --- a/v1.12.2-standalone/clusterrolebinding-rbac-v1alpha1.json +++ b/v1.12.2-standalone/clusterrolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebinding-rbac-v1beta1.json b/v1.12.2-standalone/clusterrolebinding-rbac-v1beta1.json index 8db1094e35..99e0be5784 100644 --- a/v1.12.2-standalone/clusterrolebinding-rbac-v1beta1.json +++ b/v1.12.2-standalone/clusterrolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebinding.json b/v1.12.2-standalone/clusterrolebinding.json index 9844f673d2..e91003afe2 100644 --- a/v1.12.2-standalone/clusterrolebinding.json +++ b/v1.12.2-standalone/clusterrolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebindinglist-rbac-v1.json b/v1.12.2-standalone/clusterrolebindinglist-rbac-v1.json index c3e28592c6..9b571839ed 100644 --- a/v1.12.2-standalone/clusterrolebindinglist-rbac-v1.json +++ b/v1.12.2-standalone/clusterrolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebindinglist-rbac-v1alpha1.json b/v1.12.2-standalone/clusterrolebindinglist-rbac-v1alpha1.json index 5a6a73e17d..ff3328b2d8 100644 --- a/v1.12.2-standalone/clusterrolebindinglist-rbac-v1alpha1.json +++ b/v1.12.2-standalone/clusterrolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebindinglist-rbac-v1beta1.json b/v1.12.2-standalone/clusterrolebindinglist-rbac-v1beta1.json index a7f22fab12..4c17c2b7e2 100644 --- a/v1.12.2-standalone/clusterrolebindinglist-rbac-v1beta1.json +++ b/v1.12.2-standalone/clusterrolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolebindinglist.json b/v1.12.2-standalone/clusterrolebindinglist.json index 09ddb8cc0a..e7a2a85156 100644 --- a/v1.12.2-standalone/clusterrolebindinglist.json +++ b/v1.12.2-standalone/clusterrolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolelist-rbac-v1.json b/v1.12.2-standalone/clusterrolelist-rbac-v1.json index 5fb7f888ee..96e7f6f006 100644 --- a/v1.12.2-standalone/clusterrolelist-rbac-v1.json +++ b/v1.12.2-standalone/clusterrolelist-rbac-v1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -142,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -176,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -218,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -280,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolelist-rbac-v1alpha1.json b/v1.12.2-standalone/clusterrolelist-rbac-v1alpha1.json index d7c30e85ed..f575756a99 100644 --- a/v1.12.2-standalone/clusterrolelist-rbac-v1alpha1.json +++ b/v1.12.2-standalone/clusterrolelist-rbac-v1alpha1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -142,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -176,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -218,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -280,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolelist-rbac-v1beta1.json b/v1.12.2-standalone/clusterrolelist-rbac-v1beta1.json index bf6a16a839..f029527897 100644 --- a/v1.12.2-standalone/clusterrolelist-rbac-v1beta1.json +++ b/v1.12.2-standalone/clusterrolelist-rbac-v1beta1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -142,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -176,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -218,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -280,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/clusterrolelist.json b/v1.12.2-standalone/clusterrolelist.json index de08b2ba17..f29874c6f6 100644 --- a/v1.12.2-standalone/clusterrolelist.json +++ b/v1.12.2-standalone/clusterrolelist.json @@ -76,7 +76,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -111,7 +114,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -136,7 +142,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -170,7 +179,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -209,7 +221,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -271,7 +286,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -353,7 +371,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -396,11 +417,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/componentstatus-v1.json b/v1.12.2-standalone/componentstatus-v1.json index 7841a9c425..26e64ca270 100644 --- a/v1.12.2-standalone/componentstatus-v1.json +++ b/v1.12.2-standalone/componentstatus-v1.json @@ -66,7 +66,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -91,7 +94,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -125,7 +131,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -229,7 +241,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -311,7 +326,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -354,11 +372,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/componentstatus.json b/v1.12.2-standalone/componentstatus.json index 579cb80da7..29872a458f 100644 --- a/v1.12.2-standalone/componentstatus.json +++ b/v1.12.2-standalone/componentstatus.json @@ -63,7 +63,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +91,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -122,7 +128,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -161,7 +170,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -223,7 +235,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -305,7 +320,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -348,11 +366,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/componentstatuslist-v1.json b/v1.12.2-standalone/componentstatuslist-v1.json index e4514c881b..67a398032e 100644 --- a/v1.12.2-standalone/componentstatuslist-v1.json +++ b/v1.12.2-standalone/componentstatuslist-v1.json @@ -88,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -113,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -147,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -189,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -251,7 +263,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -333,7 +348,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -376,11 +394,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/componentstatuslist.json b/v1.12.2-standalone/componentstatuslist.json index 899a6619de..c20d9047d3 100644 --- a/v1.12.2-standalone/componentstatuslist.json +++ b/v1.12.2-standalone/componentstatuslist.json @@ -82,7 +82,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +110,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -141,7 +147,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +189,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -242,7 +254,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -324,7 +339,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -367,11 +385,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/configmap-v1.json b/v1.12.2-standalone/configmap-v1.json index 1f2e9415b7..efe1743f12 100644 --- a/v1.12.2-standalone/configmap-v1.json +++ b/v1.12.2-standalone/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -47,7 +53,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +81,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +118,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +163,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/configmap.json b/v1.12.2-standalone/configmap.json index 7e0b0fc52d..dc6069d472 100644 --- a/v1.12.2-standalone/configmap.json +++ b/v1.12.2-standalone/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -44,7 +50,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +78,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -103,7 +115,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -142,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -286,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -329,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/configmapenvsource-v1.json b/v1.12.2-standalone/configmapenvsource-v1.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.2-standalone/configmapenvsource-v1.json +++ b/v1.12.2-standalone/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmapenvsource.json b/v1.12.2-standalone/configmapenvsource.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.2-standalone/configmapenvsource.json +++ b/v1.12.2-standalone/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmapkeyselector-v1.json b/v1.12.2-standalone/configmapkeyselector-v1.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.2-standalone/configmapkeyselector-v1.json +++ b/v1.12.2-standalone/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmapkeyselector.json b/v1.12.2-standalone/configmapkeyselector.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.2-standalone/configmapkeyselector.json +++ b/v1.12.2-standalone/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmaplist-v1.json b/v1.12.2-standalone/configmaplist-v1.json index e842474200..fe3a34ac56 100644 --- a/v1.12.2-standalone/configmaplist-v1.json +++ b/v1.12.2-standalone/configmaplist-v1.json @@ -35,7 +35,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -46,7 +49,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -128,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -170,7 +185,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -232,7 +250,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -314,7 +335,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -357,11 +381,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/configmaplist.json b/v1.12.2-standalone/configmaplist.json index cb5c712e5c..40617769ae 100644 --- a/v1.12.2-standalone/configmaplist.json +++ b/v1.12.2-standalone/configmaplist.json @@ -29,7 +29,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -40,7 +43,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -63,7 +69,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +97,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -122,7 +134,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -161,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -223,7 +241,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -305,7 +326,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -348,11 +372,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/configmapprojection-v1.json b/v1.12.2-standalone/configmapprojection-v1.json index 86571c0ec2..54452500d2 100644 --- a/v1.12.2-standalone/configmapprojection-v1.json +++ b/v1.12.2-standalone/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmapprojection.json b/v1.12.2-standalone/configmapprojection.json index 86571c0ec2..54452500d2 100644 --- a/v1.12.2-standalone/configmapprojection.json +++ b/v1.12.2-standalone/configmapprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmapvolumesource-v1.json b/v1.12.2-standalone/configmapvolumesource-v1.json index 4edf07126b..819fb059c7 100644 --- a/v1.12.2-standalone/configmapvolumesource-v1.json +++ b/v1.12.2-standalone/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -44,7 +50,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/configmapvolumesource.json b/v1.12.2-standalone/configmapvolumesource.json index 4edf07126b..819fb059c7 100644 --- a/v1.12.2-standalone/configmapvolumesource.json +++ b/v1.12.2-standalone/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -44,7 +50,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/container-v1.json b/v1.12.2-standalone/container-v1.json index e2962b113b..8e28e5d650 100644 --- a/v1.12.2-standalone/container-v1.json +++ b/v1.12.2-standalone/container-v1.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -120,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -149,7 +155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -181,7 +190,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -204,7 +216,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -302,7 +317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -337,7 +355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -419,7 +440,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +478,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -487,7 +514,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -543,7 +573,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -558,17 +591,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -593,7 +635,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -601,7 +646,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -639,7 +687,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -684,7 +735,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -740,7 +794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -755,17 +812,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -790,7 +856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -798,7 +867,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -808,7 +880,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -818,14 +893,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -835,7 +916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -847,7 +931,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -882,7 +969,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -893,20 +983,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -946,11 +1048,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -968,7 +1076,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1026,7 +1137,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone/container.json b/v1.12.2-standalone/container.json index e2962b113b..8e28e5d650 100644 --- a/v1.12.2-standalone/container.json +++ b/v1.12.2-standalone/container.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -120,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -149,7 +155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -181,7 +190,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -204,7 +216,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -302,7 +317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -337,7 +355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -419,7 +440,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +478,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -487,7 +514,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -543,7 +573,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -558,17 +591,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -593,7 +635,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -601,7 +646,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -639,7 +687,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -684,7 +735,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -740,7 +794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -755,17 +812,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -790,7 +856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -798,7 +867,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -808,7 +880,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -818,14 +893,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -835,7 +916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -847,7 +931,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -882,7 +969,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -893,20 +983,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -946,11 +1048,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -968,7 +1076,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1026,7 +1137,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone/containerimage-v1.json b/v1.12.2-standalone/containerimage-v1.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.2-standalone/containerimage-v1.json +++ b/v1.12.2-standalone/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/containerimage.json b/v1.12.2-standalone/containerimage.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.2-standalone/containerimage.json +++ b/v1.12.2-standalone/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/containerport-v1.json b/v1.12.2-standalone/containerport-v1.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.2-standalone/containerport-v1.json +++ b/v1.12.2-standalone/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2-standalone/containerport.json b/v1.12.2-standalone/containerport.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.2-standalone/containerport.json +++ b/v1.12.2-standalone/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2-standalone/containerstate-v1.json b/v1.12.2-standalone/containerstate-v1.json index 6596e76d4c..5df02c60da 100644 --- a/v1.12.2-standalone/containerstate-v1.json +++ b/v1.12.2-standalone/containerstate-v1.json @@ -56,7 +56,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/containerstate.json b/v1.12.2-standalone/containerstate.json index 6596e76d4c..5df02c60da 100644 --- a/v1.12.2-standalone/containerstate.json +++ b/v1.12.2-standalone/containerstate.json @@ -56,7 +56,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/containerstateterminated-v1.json b/v1.12.2-standalone/containerstateterminated-v1.json index 51b429409a..4c06a908f5 100644 --- a/v1.12.2-standalone/containerstateterminated-v1.json +++ b/v1.12.2-standalone/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/containerstateterminated.json b/v1.12.2-standalone/containerstateterminated.json index 51b429409a..4c06a908f5 100644 --- a/v1.12.2-standalone/containerstateterminated.json +++ b/v1.12.2-standalone/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/containerstatus-v1.json b/v1.12.2-standalone/containerstatus-v1.json index e78270b994..e488be5934 100644 --- a/v1.12.2-standalone/containerstatus-v1.json +++ b/v1.12.2-standalone/containerstatus-v1.json @@ -87,7 +87,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -130,11 +133,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -195,7 +204,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/containerstatus.json b/v1.12.2-standalone/containerstatus.json index e78270b994..e488be5934 100644 --- a/v1.12.2-standalone/containerstatus.json +++ b/v1.12.2-standalone/containerstatus.json @@ -87,7 +87,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -130,11 +133,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -195,7 +204,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/controllerrevision-apps-v1.json b/v1.12.2-standalone/controllerrevision-apps-v1.json index 340f0220fd..fe93b1e277 100644 --- a/v1.12.2-standalone/controllerrevision-apps-v1.json +++ b/v1.12.2-standalone/controllerrevision-apps-v1.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/controllerrevision-apps-v1beta1.json b/v1.12.2-standalone/controllerrevision-apps-v1beta1.json index 6fce01d059..4a3b16bd21 100644 --- a/v1.12.2-standalone/controllerrevision-apps-v1beta1.json +++ b/v1.12.2-standalone/controllerrevision-apps-v1beta1.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/controllerrevision-apps-v1beta2.json b/v1.12.2-standalone/controllerrevision-apps-v1beta2.json index 12e7d56191..b3b223ae30 100644 --- a/v1.12.2-standalone/controllerrevision-apps-v1beta2.json +++ b/v1.12.2-standalone/controllerrevision-apps-v1beta2.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/controllerrevision.json b/v1.12.2-standalone/controllerrevision.json index f9d87cb382..fb5f6944f9 100644 --- a/v1.12.2-standalone/controllerrevision.json +++ b/v1.12.2-standalone/controllerrevision.json @@ -39,7 +39,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -64,7 +67,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -98,7 +104,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -137,7 +146,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -199,7 +211,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -281,7 +296,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -324,11 +342,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -372,7 +396,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/controllerrevisionlist-apps-v1.json b/v1.12.2-standalone/controllerrevisionlist-apps-v1.json index 580b8975f3..966be223b7 100644 --- a/v1.12.2-standalone/controllerrevisionlist-apps-v1.json +++ b/v1.12.2-standalone/controllerrevisionlist-apps-v1.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +174,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -309,7 +324,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -352,11 +370,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/controllerrevisionlist-apps-v1beta1.json b/v1.12.2-standalone/controllerrevisionlist-apps-v1beta1.json index 1f8455bad0..b9b4e0d4a5 100644 --- a/v1.12.2-standalone/controllerrevisionlist-apps-v1beta1.json +++ b/v1.12.2-standalone/controllerrevisionlist-apps-v1beta1.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +174,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -309,7 +324,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -352,11 +370,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/controllerrevisionlist-apps-v1beta2.json b/v1.12.2-standalone/controllerrevisionlist-apps-v1beta2.json index 2c1b29e176..7a204bfa7f 100644 --- a/v1.12.2-standalone/controllerrevisionlist-apps-v1beta2.json +++ b/v1.12.2-standalone/controllerrevisionlist-apps-v1beta2.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +174,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -309,7 +324,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -352,11 +370,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/controllerrevisionlist.json b/v1.12.2-standalone/controllerrevisionlist.json index e086b25e1b..8d34060ff1 100644 --- a/v1.12.2-standalone/controllerrevisionlist.json +++ b/v1.12.2-standalone/controllerrevisionlist.json @@ -58,7 +58,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -83,7 +86,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -117,7 +123,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -156,7 +165,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -218,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -300,7 +315,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -343,11 +361,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/cronjob-batch-v1beta1.json b/v1.12.2-standalone/cronjob-batch-v1beta1.json index 8ec42ac340..2ce7d940b8 100644 --- a/v1.12.2-standalone/cronjob-batch-v1beta1.json +++ b/v1.12.2-standalone/cronjob-batch-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -387,7 +414,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -412,7 +442,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -446,7 +479,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -550,7 +589,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -632,7 +674,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -675,11 +720,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -729,26 +780,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -795,7 +861,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -813,7 +882,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -838,7 +910,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -872,7 +947,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -914,7 +992,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -976,7 +1057,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1058,7 +1142,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,11 +1188,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1155,7 +1248,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1423,7 +1519,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1516,7 +1615,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1614,7 +1716,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1707,7 +1812,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1743,7 +1851,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1825,7 +1936,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1870,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1899,7 +2016,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1931,7 +2051,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1954,7 +2077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2052,7 +2178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2087,7 +2216,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2169,7 +2301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,7 +2339,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2375,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2293,7 +2434,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2308,17 +2452,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2343,7 +2496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2351,7 +2507,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2386,7 +2545,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2431,7 +2593,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2487,7 +2652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2502,17 +2670,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2537,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2545,7 +2725,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2555,7 +2738,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2565,14 +2751,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2582,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2594,7 +2789,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2629,7 +2827,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2640,20 +2841,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2693,11 +2906,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2715,7 +2934,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2773,7 +2995,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2898,15 +3123,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3019,7 +3253,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3064,7 +3301,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3093,9 +3333,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3125,7 +3368,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3148,7 +3394,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3246,7 +3495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3281,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3363,7 +3618,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3398,7 +3656,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3692,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3487,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3502,17 +3769,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3537,7 +3813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3545,7 +3824,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3580,7 +3862,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3625,7 +3910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3681,7 +3969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3696,17 +3987,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3731,7 +4031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3739,7 +4042,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3749,7 +4055,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3759,14 +4068,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3776,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3788,7 +4106,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3823,7 +4144,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3834,20 +4158,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3887,11 +4223,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3909,7 +4251,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3967,7 +4312,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4002,7 +4350,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4012,7 +4363,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4067,21 +4421,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4124,7 +4490,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4170,7 +4539,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4181,7 +4553,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4216,7 +4591,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4256,12 +4634,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4307,7 +4691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4320,7 +4707,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4357,7 +4747,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4402,7 +4795,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4427,7 +4823,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4449,7 +4848,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4468,7 +4870,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4477,7 +4882,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4513,7 +4921,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4542,7 +4953,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4576,7 +4990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4594,12 +5011,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4648,7 +5071,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4658,7 +5084,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4708,7 +5137,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4717,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4764,7 +5199,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4797,11 +5235,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4848,7 +5292,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5332,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4905,7 +5355,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4943,7 +5396,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4959,7 +5415,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4990,7 +5449,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5009,7 +5471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5049,7 +5514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5078,7 +5546,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5115,7 +5586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5134,7 +5608,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5153,7 +5630,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5183,7 +5663,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5246,7 +5729,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5783,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5313,7 +5802,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5347,7 +5839,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5369,7 +5864,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5381,7 +5879,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5404,7 +5905,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5478,7 +5982,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5491,17 +5998,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.2-standalone/cronjob-batch-v2alpha1.json b/v1.12.2-standalone/cronjob-batch-v2alpha1.json index 56c2692f41..cba53958a4 100644 --- a/v1.12.2-standalone/cronjob-batch-v2alpha1.json +++ b/v1.12.2-standalone/cronjob-batch-v2alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -387,7 +414,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -412,7 +442,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -446,7 +479,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -550,7 +589,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -632,7 +674,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -675,11 +720,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -729,26 +780,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -795,7 +861,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -813,7 +882,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -838,7 +910,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -872,7 +947,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -914,7 +992,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -976,7 +1057,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1058,7 +1142,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,11 +1188,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1155,7 +1248,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1423,7 +1519,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1516,7 +1615,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1614,7 +1716,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1707,7 +1812,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1743,7 +1851,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1825,7 +1936,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1870,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1899,7 +2016,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1931,7 +2051,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1954,7 +2077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2052,7 +2178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2087,7 +2216,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2169,7 +2301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,7 +2339,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2375,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2293,7 +2434,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2308,17 +2452,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2343,7 +2496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2351,7 +2507,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2386,7 +2545,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2431,7 +2593,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2487,7 +2652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2502,17 +2670,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2537,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2545,7 +2725,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2555,7 +2738,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2565,14 +2751,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2582,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2594,7 +2789,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2629,7 +2827,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2640,20 +2841,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2693,11 +2906,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2715,7 +2934,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2773,7 +2995,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2898,15 +3123,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3019,7 +3253,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3064,7 +3301,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3093,9 +3333,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3125,7 +3368,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3148,7 +3394,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3246,7 +3495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3281,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3363,7 +3618,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3398,7 +3656,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3692,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3487,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3502,17 +3769,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3537,7 +3813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3545,7 +3824,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3580,7 +3862,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3625,7 +3910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3681,7 +3969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3696,17 +3987,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3731,7 +4031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3739,7 +4042,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3749,7 +4055,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3759,14 +4068,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3776,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3788,7 +4106,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3823,7 +4144,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3834,20 +4158,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3887,11 +4223,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3909,7 +4251,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3967,7 +4312,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4002,7 +4350,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4012,7 +4363,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4067,21 +4421,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4124,7 +4490,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4170,7 +4539,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4181,7 +4553,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4216,7 +4591,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4256,12 +4634,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4307,7 +4691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4320,7 +4707,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4357,7 +4747,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4402,7 +4795,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4427,7 +4823,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4449,7 +4848,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4468,7 +4870,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4477,7 +4882,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4513,7 +4921,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4542,7 +4953,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4576,7 +4990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4594,12 +5011,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4648,7 +5071,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4658,7 +5084,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4708,7 +5137,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4717,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4764,7 +5199,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4797,11 +5235,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4848,7 +5292,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5332,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4905,7 +5355,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4943,7 +5396,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4959,7 +5415,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4990,7 +5449,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5009,7 +5471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5049,7 +5514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5078,7 +5546,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5115,7 +5586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5134,7 +5608,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5153,7 +5630,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5183,7 +5663,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5246,7 +5729,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5783,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5313,7 +5802,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5347,7 +5839,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5369,7 +5864,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5381,7 +5879,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5404,7 +5905,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5478,7 +5982,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5491,17 +5998,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.2-standalone/cronjob.json b/v1.12.2-standalone/cronjob.json index b62d79fa5a..8d2f3914d4 100644 --- a/v1.12.2-standalone/cronjob.json +++ b/v1.12.2-standalone/cronjob.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -381,7 +408,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,7 +436,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -440,7 +473,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -479,7 +515,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -541,7 +580,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -623,7 +665,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -666,11 +711,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -720,26 +771,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -786,7 +852,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +873,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -829,7 +901,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -863,7 +938,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -902,7 +980,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -964,7 +1045,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1046,7 +1130,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1089,11 +1176,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1143,7 +1236,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1411,7 +1507,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1504,7 +1603,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1602,7 +1704,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1695,7 +1800,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1731,7 +1839,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1813,7 +1924,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1858,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1887,7 +2004,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1919,7 +2039,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1942,7 +2065,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2040,7 +2166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2075,7 +2204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2157,7 +2289,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2192,7 +2327,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2225,7 +2363,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2281,7 +2422,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2296,17 +2440,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2331,7 +2484,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2339,7 +2495,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2374,7 +2533,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2419,7 +2581,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2475,7 +2640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2490,17 +2658,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2525,7 +2702,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2533,7 +2713,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2543,7 +2726,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2553,14 +2739,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2570,7 +2762,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2582,7 +2777,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2617,7 +2815,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2628,20 +2829,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2681,11 +2894,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2703,7 +2922,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2761,7 +2983,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2886,15 +3111,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3007,7 +3241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3052,7 +3289,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3081,9 +3321,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3113,7 +3356,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3136,7 +3382,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3234,7 +3483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3269,7 +3521,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3351,7 +3606,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3386,7 +3644,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3419,7 +3680,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3475,7 +3739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3490,17 +3757,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3525,7 +3801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3533,7 +3812,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3568,7 +3850,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3613,7 +3898,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3669,7 +3957,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3684,17 +3975,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3719,7 +4019,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3727,7 +4030,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3737,7 +4043,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3747,14 +4056,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3764,7 +4079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3776,7 +4094,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3811,7 +4132,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3822,20 +4146,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,11 +4211,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3897,7 +4239,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3955,7 +4300,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3990,7 +4338,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4000,7 +4351,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4055,21 +4409,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4112,7 +4478,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4158,7 +4527,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4169,7 +4541,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4204,7 +4579,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4244,12 +4622,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4295,7 +4679,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4308,7 +4695,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4345,7 +4735,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4390,7 +4783,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4415,7 +4811,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4437,7 +4836,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4456,7 +4858,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4465,7 +4870,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4501,7 +4909,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4530,7 +4941,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4564,7 +4978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4582,12 +4999,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4636,7 +5059,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4646,7 +5072,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4696,7 +5125,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4705,7 +5137,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4752,7 +5187,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4785,11 +5223,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4836,7 +5280,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4873,7 +5320,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4893,7 +5343,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4931,7 +5384,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4947,7 +5403,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4978,7 +5437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4997,7 +5459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5037,7 +5502,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5066,7 +5534,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5103,7 +5574,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5122,7 +5596,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5141,7 +5618,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5171,7 +5651,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5234,7 +5717,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5285,7 +5771,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5301,7 +5790,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5335,7 +5827,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5357,7 +5852,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5369,7 +5867,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5392,7 +5893,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5466,7 +5970,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5479,17 +5986,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.2-standalone/cronjoblist-batch-v1beta1.json b/v1.12.2-standalone/cronjoblist-batch-v1beta1.json index df308b426b..eaf9a67d3d 100644 --- a/v1.12.2-standalone/cronjoblist-batch-v1beta1.json +++ b/v1.12.2-standalone/cronjoblist-batch-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -409,7 +436,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +464,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -468,7 +501,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -510,7 +546,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -572,7 +611,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -654,7 +696,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -697,11 +742,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -751,26 +802,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -817,7 +883,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -835,7 +904,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -860,7 +932,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -894,7 +969,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -936,7 +1014,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -998,7 +1079,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1080,7 +1164,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1123,11 +1210,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1177,7 +1270,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1445,7 +1541,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1538,7 +1637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1636,7 +1738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1729,7 +1834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1765,7 +1873,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1847,7 +1958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1892,7 +2006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1921,7 +2038,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1953,7 +2073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1976,7 +2099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2074,7 +2200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2109,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2191,7 +2323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2226,7 +2361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2397,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2315,7 +2456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2330,17 +2474,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2365,7 +2518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2373,7 +2529,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2408,7 +2567,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2453,7 +2615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2509,7 +2674,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2524,17 +2692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2559,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2567,7 +2747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2577,7 +2760,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2587,14 +2773,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2604,7 +2796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2616,7 +2811,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2651,7 +2849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2662,20 +2863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2715,11 +2928,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2737,7 +2956,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2795,7 +3017,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2920,15 +3145,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3041,7 +3275,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3086,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3115,9 +3355,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3147,7 +3390,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3170,7 +3416,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3268,7 +3517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3303,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3385,7 +3640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3420,7 +3678,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3714,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3509,7 +3773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3524,17 +3791,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3559,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3567,7 +3846,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3602,7 +3884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3647,7 +3932,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3703,7 +3991,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3718,17 +4009,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3753,7 +4053,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3761,7 +4064,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3771,7 +4077,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3781,14 +4090,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3798,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3810,7 +4128,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3845,7 +4166,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3856,20 +4180,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,11 +4245,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3931,7 +4273,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3989,7 +4334,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4024,7 +4372,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4034,7 +4385,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4089,21 +4443,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4146,7 +4512,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4192,7 +4561,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4203,7 +4575,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4238,7 +4613,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4278,12 +4656,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4329,7 +4713,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4342,7 +4729,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4379,7 +4769,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4424,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4449,7 +4845,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4471,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4892,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4499,7 +4904,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4535,7 +4943,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4598,7 +5012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4616,12 +5033,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4670,7 +5093,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4680,7 +5106,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4730,7 +5159,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4739,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4786,7 +5221,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4819,11 +5257,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4870,7 +5314,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4907,7 +5354,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4927,7 +5377,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4965,7 +5418,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4981,7 +5437,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5012,7 +5471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5031,7 +5493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5071,7 +5536,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5100,7 +5568,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5137,7 +5608,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5156,7 +5630,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5175,7 +5652,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5205,7 +5685,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5268,7 +5751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5319,7 +5805,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5335,7 +5824,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5369,7 +5861,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5391,7 +5886,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5403,7 +5901,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5426,7 +5927,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5500,7 +6004,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5513,17 +6020,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.2-standalone/cronjoblist-batch-v2alpha1.json b/v1.12.2-standalone/cronjoblist-batch-v2alpha1.json index 13007bfb6b..3d8560ec21 100644 --- a/v1.12.2-standalone/cronjoblist-batch-v2alpha1.json +++ b/v1.12.2-standalone/cronjoblist-batch-v2alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -409,7 +436,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +464,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -468,7 +501,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -510,7 +546,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -572,7 +611,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -654,7 +696,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -697,11 +742,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -751,26 +802,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -817,7 +883,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -835,7 +904,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -860,7 +932,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -894,7 +969,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -936,7 +1014,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -998,7 +1079,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1080,7 +1164,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1123,11 +1210,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1177,7 +1270,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1445,7 +1541,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1538,7 +1637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1636,7 +1738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1729,7 +1834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1765,7 +1873,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1847,7 +1958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1892,7 +2006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1921,7 +2038,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1953,7 +2073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1976,7 +2099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2074,7 +2200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2109,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2191,7 +2323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2226,7 +2361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2397,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2315,7 +2456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2330,17 +2474,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2365,7 +2518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2373,7 +2529,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2408,7 +2567,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2453,7 +2615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2509,7 +2674,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2524,17 +2692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2559,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2567,7 +2747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2577,7 +2760,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2587,14 +2773,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2604,7 +2796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2616,7 +2811,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2651,7 +2849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2662,20 +2863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2715,11 +2928,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2737,7 +2956,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2795,7 +3017,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2920,15 +3145,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3041,7 +3275,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3086,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3115,9 +3355,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3147,7 +3390,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3170,7 +3416,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3268,7 +3517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3303,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3385,7 +3640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3420,7 +3678,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3714,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3509,7 +3773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3524,17 +3791,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3559,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3567,7 +3846,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3602,7 +3884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3647,7 +3932,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3703,7 +3991,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3718,17 +4009,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3753,7 +4053,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3761,7 +4064,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3771,7 +4077,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3781,14 +4090,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3798,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3810,7 +4128,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3845,7 +4166,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3856,20 +4180,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,11 +4245,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3931,7 +4273,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3989,7 +4334,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4024,7 +4372,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4034,7 +4385,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4089,21 +4443,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4146,7 +4512,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4192,7 +4561,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4203,7 +4575,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4238,7 +4613,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4278,12 +4656,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4329,7 +4713,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4342,7 +4729,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4379,7 +4769,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4424,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4449,7 +4845,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4471,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4892,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4499,7 +4904,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4535,7 +4943,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4598,7 +5012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4616,12 +5033,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4670,7 +5093,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4680,7 +5106,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4730,7 +5159,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4739,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4786,7 +5221,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4819,11 +5257,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4870,7 +5314,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4907,7 +5354,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4927,7 +5377,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4965,7 +5418,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4981,7 +5437,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5012,7 +5471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5031,7 +5493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5071,7 +5536,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5100,7 +5568,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5137,7 +5608,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5156,7 +5630,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5175,7 +5652,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5205,7 +5685,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5268,7 +5751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5319,7 +5805,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5335,7 +5824,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5369,7 +5861,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5391,7 +5886,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5403,7 +5901,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5426,7 +5927,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5500,7 +6004,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5513,17 +6020,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.2-standalone/cronjoblist.json b/v1.12.2-standalone/cronjoblist.json index c625e41229..6b9e987577 100644 --- a/v1.12.2-standalone/cronjoblist.json +++ b/v1.12.2-standalone/cronjoblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -400,7 +427,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -425,7 +455,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -459,7 +492,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -498,7 +534,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -560,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -642,7 +684,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -685,11 +730,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -739,26 +790,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -805,7 +871,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -823,7 +892,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -848,7 +920,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -882,7 +957,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -921,7 +999,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -983,7 +1064,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1065,7 +1149,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1108,11 +1195,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1162,7 +1255,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1430,7 +1526,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1523,7 +1622,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1621,7 +1723,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1714,7 +1819,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1750,7 +1858,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1832,7 +1943,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1877,7 +1991,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1906,7 +2023,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1938,7 +2058,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1961,7 +2084,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2059,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2094,7 +2223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2176,7 +2308,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2211,7 +2346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2382,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2300,7 +2441,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2315,17 +2459,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2350,7 +2503,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2358,7 +2514,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2393,7 +2552,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2438,7 +2600,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2494,7 +2659,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2509,17 +2677,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2544,7 +2721,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2552,7 +2732,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2562,7 +2745,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2572,14 +2758,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2589,7 +2781,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2601,7 +2796,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2636,7 +2834,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2647,20 +2848,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2700,11 +2913,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2722,7 +2941,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2780,7 +3002,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2905,15 +3130,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3026,7 +3260,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3071,7 +3308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3100,9 +3340,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3132,7 +3375,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3155,7 +3401,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3253,7 +3502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3288,7 +3540,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3370,7 +3625,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3405,7 +3663,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3438,7 +3699,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3494,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3509,17 +3776,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3544,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3552,7 +3831,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3587,7 +3869,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3632,7 +3917,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3688,7 +3976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3703,17 +3994,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3738,7 +4038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3746,7 +4049,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3756,7 +4062,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3766,14 +4075,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3783,7 +4098,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3795,7 +4113,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3830,7 +4151,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3841,20 +4165,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3894,11 +4230,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3916,7 +4258,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3974,7 +4319,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4009,7 +4357,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4019,7 +4370,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4074,21 +4428,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4131,7 +4497,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4177,7 +4546,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4188,7 +4560,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4223,7 +4598,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4263,12 +4641,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4314,7 +4698,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4327,7 +4714,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4364,7 +4754,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4409,7 +4802,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4434,7 +4830,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4456,7 +4855,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4475,7 +4877,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4484,7 +4889,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4520,7 +4928,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4549,7 +4960,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4583,7 +4997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4601,12 +5018,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4655,7 +5078,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4665,7 +5091,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4715,7 +5144,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4724,7 +5156,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4771,7 +5206,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4804,11 +5242,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4855,7 +5299,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4892,7 +5339,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4912,7 +5362,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4950,7 +5403,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4966,7 +5422,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4997,7 +5456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5016,7 +5478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5056,7 +5521,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5085,7 +5553,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5122,7 +5593,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5141,7 +5615,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5160,7 +5637,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5190,7 +5670,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5253,7 +5736,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5304,7 +5790,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5809,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5354,7 +5846,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5376,7 +5871,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5388,7 +5886,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5411,7 +5912,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5485,7 +5989,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5498,17 +6005,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.2-standalone/cronjobspec-batch-v1beta1.json b/v1.12.2-standalone/cronjobspec-batch-v1beta1.json index ebcdb34621..d932f95d9e 100644 --- a/v1.12.2-standalone/cronjobspec-batch-v1beta1.json +++ b/v1.12.2-standalone/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -126,7 +138,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -270,7 +288,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -313,11 +334,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,26 +394,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -433,7 +475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +496,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +524,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +561,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +606,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +756,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +802,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +862,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1229,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1330,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1426,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1465,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1665,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1691,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1830,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1989,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2066,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2121,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2159,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2207,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2266,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2284,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2339,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2352,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2365,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2441,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2455,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2520,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2548,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2609,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2737,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2867,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2947,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2982,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3109,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3270,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,9 +3365,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3140,17 +3383,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3427,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3438,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3476,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3524,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3583,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3601,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3656,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3669,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3682,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3720,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3758,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3772,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3837,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3865,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3926,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3964,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3977,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4035,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4104,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4153,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4167,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4205,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4248,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4305,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4321,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4361,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4437,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4462,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4484,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4496,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4535,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4567,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4604,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4625,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4685,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4698,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4751,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4763,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4813,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4849,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4946,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4969,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +5010,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5029,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5063,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5085,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5128,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5200,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5222,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5244,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5277,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5343,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5397,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5416,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5453,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5478,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5493,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5519,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5596,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5132,17 +5615,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/cronjobspec-batch-v2alpha1.json b/v1.12.2-standalone/cronjobspec-batch-v2alpha1.json index 13ec01e785..3cfffee7ea 100644 --- a/v1.12.2-standalone/cronjobspec-batch-v2alpha1.json +++ b/v1.12.2-standalone/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -126,7 +138,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -270,7 +288,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -313,11 +334,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,26 +394,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -433,7 +475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +496,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +524,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +561,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +606,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +756,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +802,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +862,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1229,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1330,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1426,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1465,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1665,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1691,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1830,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1989,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2066,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2121,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2159,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2207,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2266,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2284,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2339,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2352,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2365,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2441,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2455,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2520,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2548,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2609,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2737,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2867,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2947,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2982,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3109,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3270,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,9 +3365,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3140,17 +3383,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3427,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3438,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3476,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3524,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3583,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3601,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3656,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3669,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3682,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3720,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3758,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3772,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3837,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3865,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3926,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3964,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3977,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4035,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4104,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4153,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4167,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4205,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4248,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4305,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4321,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4361,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4437,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4462,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4484,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4496,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4535,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4567,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4604,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4625,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4685,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4698,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4751,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4763,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4813,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4849,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4946,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4969,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +5010,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5029,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5063,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5085,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5128,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5200,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5222,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5244,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5277,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5343,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5397,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5416,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5453,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5478,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5493,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5519,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5596,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5132,17 +5615,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/cronjobspec.json b/v1.12.2-standalone/cronjobspec.json index b65ad33194..ce88c9d504 100644 --- a/v1.12.2-standalone/cronjobspec.json +++ b/v1.12.2-standalone/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -123,7 +135,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -267,7 +285,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -310,11 +331,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -364,26 +391,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -546,7 +600,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -608,7 +665,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -690,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -733,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -787,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1055,7 +1127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1148,7 +1223,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1246,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1339,7 +1420,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1375,7 +1459,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1457,7 +1544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1502,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1531,7 +1624,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1563,7 +1659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1586,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1684,7 +1786,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1719,7 +1824,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1801,7 +1909,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1836,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1869,7 +1983,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1925,7 +2042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1940,17 +2060,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1975,7 +2104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1983,7 +2115,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2018,7 +2153,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2063,7 +2201,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2119,7 +2260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2134,17 +2278,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2169,7 +2322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2177,7 +2333,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2187,7 +2346,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2197,14 +2359,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2214,7 +2382,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2226,7 +2397,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2261,7 +2435,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2272,20 +2449,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2325,11 +2514,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2347,7 +2542,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2405,7 +2603,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2530,15 +2731,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2651,7 +2861,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2696,7 +2909,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2725,7 +2941,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2757,7 +2976,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2780,7 +3002,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2878,7 +3103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2913,7 +3141,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2995,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3030,7 +3264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3063,7 +3300,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3119,9 +3359,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3134,17 +3377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3169,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3432,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3212,7 +3470,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3257,7 +3518,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3313,7 +3577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3595,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3371,7 +3650,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3381,7 +3663,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3391,14 +3676,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3408,7 +3699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3420,7 +3714,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3455,7 +3752,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3466,20 +3766,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3519,11 +3831,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3541,7 +3859,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3599,7 +3920,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3634,7 +3958,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3644,7 +3971,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3699,21 +4029,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3756,7 +4098,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3802,7 +4147,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3813,7 +4161,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3848,7 +4199,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3888,12 +4242,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3939,7 +4299,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3952,7 +4315,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3989,7 +4355,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4034,7 +4403,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4059,7 +4431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4081,7 +4456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4100,7 +4478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4109,7 +4490,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4145,7 +4529,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4174,7 +4561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4208,7 +4598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4226,12 +4619,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4280,7 +4679,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4290,7 +4692,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4340,7 +4745,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4349,7 +4757,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4396,7 +4807,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4429,11 +4843,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4480,7 +4900,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4517,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4537,7 +4963,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4575,7 +5004,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4591,7 +5023,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4622,7 +5057,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5079,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4681,7 +5122,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4710,7 +5154,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4747,7 +5194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4766,7 +5216,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4785,7 +5238,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4815,7 +5271,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4878,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4929,7 +5391,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5410,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4979,7 +5447,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5001,7 +5472,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5013,7 +5487,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5036,7 +5513,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5590,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5126,17 +5609,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/csipersistentvolumesource-v1.json b/v1.12.2-standalone/csipersistentvolumesource-v1.json index f30eac0567..c6105d067a 100644 --- a/v1.12.2-standalone/csipersistentvolumesource-v1.json +++ b/v1.12.2-standalone/csipersistentvolumesource-v1.json @@ -78,11 +78,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/csipersistentvolumesource.json b/v1.12.2-standalone/csipersistentvolumesource.json index f30eac0567..c6105d067a 100644 --- a/v1.12.2-standalone/csipersistentvolumesource.json +++ b/v1.12.2-standalone/csipersistentvolumesource.json @@ -78,11 +78,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.2-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.2-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.2-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2-standalone/customresourcecolumndefinition.json b/v1.12.2-standalone/customresourcecolumndefinition.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.2-standalone/customresourcecolumndefinition.json +++ b/v1.12.2-standalone/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.2-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json index 374ed744c6..a89101639e 100644 --- a/v1.12.2-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.2-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/customresourcedefinitionversion.json b/v1.12.2-standalone/customresourcedefinitionversion.json index 374ed744c6..a89101639e 100644 --- a/v1.12.2-standalone/customresourcedefinitionversion.json +++ b/v1.12.2-standalone/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/daemonendpoint-v1.json b/v1.12.2-standalone/daemonendpoint-v1.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.2-standalone/daemonendpoint-v1.json +++ b/v1.12.2-standalone/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/daemonendpoint.json b/v1.12.2-standalone/daemonendpoint.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.2-standalone/daemonendpoint.json +++ b/v1.12.2-standalone/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/daemonset-apps-v1.json b/v1.12.2-standalone/daemonset-apps-v1.json index 145d8140b7..1571c78096 100644 --- a/v1.12.2-standalone/daemonset-apps-v1.json +++ b/v1.12.2-standalone/daemonset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,12 +393,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -421,7 +451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +472,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +500,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +537,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -540,7 +582,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -602,7 +647,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -684,7 +732,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,11 +778,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -781,7 +838,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1049,7 +1109,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1142,7 +1205,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1240,7 +1306,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1333,7 +1402,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1369,7 +1441,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1451,7 +1526,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1496,7 +1574,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1525,7 +1606,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1557,7 +1641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1580,7 +1667,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1678,7 +1768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1713,7 +1806,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1795,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,7 +1929,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1863,7 +1965,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1919,7 +2024,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1934,17 +2042,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1969,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1977,7 +2097,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2012,7 +2135,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2057,7 +2183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2113,7 +2242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2128,17 +2260,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2163,7 +2304,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2171,7 +2315,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2181,7 +2328,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2191,14 +2341,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2208,7 +2364,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2220,7 +2379,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2255,7 +2417,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2266,20 +2431,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2319,11 +2496,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2341,7 +2524,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2399,7 +2585,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2524,15 +2713,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2645,7 +2843,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2690,7 +2891,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2719,7 +2923,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2751,7 +2958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2774,7 +2984,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2872,7 +3085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2907,7 +3123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2989,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3024,7 +3246,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3057,7 +3282,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3113,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3128,17 +3359,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3163,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3171,7 +3414,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3206,7 +3452,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3251,7 +3500,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3307,7 +3559,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3322,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3357,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3365,7 +3632,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3375,7 +3645,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3385,14 +3658,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3402,7 +3681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3414,7 +3696,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3449,7 +3734,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3460,20 +3748,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3513,11 +3813,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3535,7 +3841,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3593,7 +3902,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3628,7 +3940,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3953,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3693,21 +4011,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3750,7 +4080,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3796,7 +4129,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3807,7 +4143,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3842,7 +4181,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3882,12 +4224,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3933,7 +4281,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3946,7 +4297,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3983,7 +4337,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4028,7 +4385,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4053,7 +4413,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4075,7 +4438,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4094,7 +4460,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4103,7 +4472,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4139,7 +4511,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4168,7 +4543,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4202,7 +4580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4220,12 +4601,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4274,7 +4661,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4284,7 +4674,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4334,7 +4727,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4343,7 +4739,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4390,7 +4789,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,11 +4825,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4474,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4511,7 +4922,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4531,7 +4945,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4569,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4585,7 +5005,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4616,7 +5039,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5061,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4675,7 +5104,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4704,7 +5136,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4741,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4760,7 +5198,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4779,7 +5220,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4809,7 +5253,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4872,7 +5319,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4923,7 +5373,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4939,7 +5392,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4973,7 +5429,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4995,7 +5454,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5007,7 +5469,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5030,7 +5495,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5585,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5145,7 +5616,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5208,7 +5682,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5223,17 +5700,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonset-apps-v1beta2.json b/v1.12.2-standalone/daemonset-apps-v1beta2.json index 4c97bc3e0e..1b88187ca1 100644 --- a/v1.12.2-standalone/daemonset-apps-v1beta2.json +++ b/v1.12.2-standalone/daemonset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,12 +393,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -421,7 +451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +472,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +500,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +537,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -540,7 +582,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -602,7 +647,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -684,7 +732,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,11 +778,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -781,7 +838,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1049,7 +1109,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1142,7 +1205,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1240,7 +1306,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1333,7 +1402,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1369,7 +1441,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1451,7 +1526,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1496,7 +1574,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1525,7 +1606,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1557,7 +1641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1580,7 +1667,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1678,7 +1768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1713,7 +1806,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1795,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,7 +1929,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1863,7 +1965,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1919,7 +2024,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1934,17 +2042,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1969,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1977,7 +2097,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2012,7 +2135,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2057,7 +2183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2113,7 +2242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2128,17 +2260,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2163,7 +2304,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2171,7 +2315,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2181,7 +2328,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2191,14 +2341,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2208,7 +2364,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2220,7 +2379,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2255,7 +2417,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2266,20 +2431,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2319,11 +2496,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2341,7 +2524,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2399,7 +2585,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2524,15 +2713,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2645,7 +2843,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2690,7 +2891,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2719,7 +2923,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2751,7 +2958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2774,7 +2984,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2872,7 +3085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2907,7 +3123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2989,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3024,7 +3246,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3057,7 +3282,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3113,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3128,17 +3359,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3163,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3171,7 +3414,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3206,7 +3452,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3251,7 +3500,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3307,7 +3559,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3322,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3357,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3365,7 +3632,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3375,7 +3645,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3385,14 +3658,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3402,7 +3681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3414,7 +3696,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3449,7 +3734,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3460,20 +3748,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3513,11 +3813,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3535,7 +3841,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3593,7 +3902,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3628,7 +3940,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3953,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3693,21 +4011,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3750,7 +4080,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3796,7 +4129,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3807,7 +4143,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3842,7 +4181,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3882,12 +4224,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3933,7 +4281,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3946,7 +4297,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3983,7 +4337,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4028,7 +4385,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4053,7 +4413,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4075,7 +4438,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4094,7 +4460,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4103,7 +4472,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4139,7 +4511,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4168,7 +4543,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4202,7 +4580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4220,12 +4601,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4274,7 +4661,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4284,7 +4674,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4334,7 +4727,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4343,7 +4739,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4390,7 +4789,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,11 +4825,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4474,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4511,7 +4922,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4531,7 +4945,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4569,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4585,7 +5005,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4616,7 +5039,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5061,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4675,7 +5104,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4704,7 +5136,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4741,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4760,7 +5198,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4779,7 +5220,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4809,7 +5253,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4872,7 +5319,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4923,7 +5373,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4939,7 +5392,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4973,7 +5429,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4995,7 +5454,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5007,7 +5469,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5030,7 +5495,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5585,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5145,7 +5616,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5208,7 +5682,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5223,17 +5700,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonset-extensions-v1beta1.json b/v1.12.2-standalone/daemonset-extensions-v1beta1.json index 27b7b1c87f..28ef586f7a 100644 --- a/v1.12.2-standalone/daemonset-extensions-v1beta1.json +++ b/v1.12.2-standalone/daemonset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,12 +392,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -497,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -539,7 +581,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -683,7 +731,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,11 +777,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -780,7 +837,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1048,7 +1108,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1141,7 +1204,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1239,7 +1305,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1332,7 +1401,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1440,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1450,7 +1525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1495,7 +1573,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1605,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1556,7 +1640,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1579,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1677,7 +1767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1712,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1794,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1862,7 +1964,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1918,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1933,17 +2041,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1968,7 +2085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1976,7 +2096,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2011,7 +2134,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2056,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2127,17 +2259,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2162,7 +2303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2170,7 +2314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2180,7 +2327,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2190,14 +2340,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,7 +2363,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2219,7 +2378,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2254,7 +2416,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2265,20 +2430,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2318,11 +2495,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2340,7 +2523,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2398,7 +2584,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2523,15 +2712,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2644,7 +2842,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2689,7 +2890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2718,7 +2922,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2750,7 +2957,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2773,7 +2983,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2871,7 +3084,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2906,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2988,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3056,7 +3281,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3112,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,17 +3358,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3162,7 +3402,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3205,7 +3451,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3250,7 +3499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3306,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3321,17 +3576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3356,7 +3620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3364,7 +3631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3374,7 +3644,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3384,14 +3657,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3401,7 +3680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3413,7 +3695,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3448,7 +3733,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3459,20 +3747,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3512,11 +3812,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3534,7 +3840,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3592,7 +3901,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3627,7 +3939,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3637,7 +3952,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3692,21 +4010,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3749,7 +4079,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3795,7 +4128,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3806,7 +4142,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3841,7 +4180,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3881,12 +4223,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3932,7 +4280,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3945,7 +4296,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3982,7 +4336,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4074,7 +4437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4093,7 +4459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4102,7 +4471,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4167,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4201,7 +4579,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4219,12 +4600,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4273,7 +4660,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4283,7 +4673,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4333,7 +4726,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4342,7 +4738,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4389,7 +4788,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,11 +4824,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4473,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4530,7 +4944,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4568,7 +4985,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4584,7 +5004,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4615,7 +5038,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4634,7 +5060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4674,7 +5103,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5135,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4740,7 +5175,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4759,7 +5197,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4778,7 +5219,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4808,7 +5252,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4871,7 +5318,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4922,7 +5372,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4938,7 +5391,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4972,7 +5428,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4994,7 +5453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5006,7 +5468,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5029,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5103,7 +5571,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5120,7 +5591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5148,7 +5622,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5211,7 +5688,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5226,17 +5706,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonset.json b/v1.12.2-standalone/daemonset.json index bb7f9efae2..f286aa930b 100644 --- a/v1.12.2-standalone/daemonset.json +++ b/v1.12.2-standalone/daemonset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,12 +386,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -414,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,7 +465,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +493,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -491,7 +530,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -530,7 +572,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -592,7 +637,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -674,7 +722,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -717,11 +768,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -771,7 +828,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1039,7 +1099,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1132,7 +1195,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1230,7 +1296,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1323,7 +1392,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1359,7 +1431,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1441,7 +1516,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1486,7 +1564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1515,7 +1596,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1547,7 +1631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1570,7 +1657,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1668,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1703,7 +1796,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1785,7 +1881,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1820,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1853,7 +1955,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1909,7 +2014,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1924,17 +2032,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1959,7 +2076,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1967,7 +2087,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2002,7 +2125,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2047,7 +2173,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2103,7 +2232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2118,17 +2250,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2153,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2161,7 +2305,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2171,7 +2318,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2181,14 +2331,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2198,7 +2354,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2210,7 +2369,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2245,7 +2407,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2256,20 +2421,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2309,11 +2486,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2331,7 +2514,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2389,7 +2575,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2514,15 +2703,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2635,7 +2833,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2680,7 +2881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2709,7 +2913,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2741,7 +2948,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2764,7 +2974,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2862,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2897,7 +3113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2979,7 +3198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,7 +3236,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3047,7 +3272,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3103,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3118,17 +3349,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3153,7 +3393,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3161,7 +3404,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3196,7 +3442,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3241,7 +3490,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3297,7 +3549,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3312,17 +3567,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3347,7 +3611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3355,7 +3622,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3365,7 +3635,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3375,14 +3648,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3392,7 +3671,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3404,7 +3686,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3439,7 +3724,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3450,20 +3738,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3503,11 +3803,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3525,7 +3831,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3583,7 +3892,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3618,7 +3930,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3628,7 +3943,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3683,21 +4001,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3740,7 +4070,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3786,7 +4119,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3797,7 +4133,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3832,7 +4171,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3872,12 +4214,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3923,7 +4271,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3936,7 +4287,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3973,7 +4327,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4018,7 +4375,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4043,7 +4403,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4065,7 +4428,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4084,7 +4450,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4093,7 +4462,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4129,7 +4501,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4158,7 +4533,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4192,7 +4570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4210,12 +4591,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4264,7 +4651,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4274,7 +4664,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4324,7 +4717,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4333,7 +4729,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4380,7 +4779,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,11 +4815,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4464,7 +4872,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4501,7 +4912,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4521,7 +4935,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4559,7 +4976,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4575,7 +4995,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4606,7 +5029,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4625,7 +5051,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4665,7 +5094,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4694,7 +5126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4731,7 +5166,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4750,7 +5188,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4769,7 +5210,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4799,7 +5243,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4862,7 +5309,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4913,7 +5363,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4929,7 +5382,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4963,7 +5419,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4985,7 +5444,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4997,7 +5459,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5020,7 +5485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5094,7 +5562,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5111,7 +5582,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5139,7 +5613,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5202,7 +5679,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5217,17 +5697,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonsetlist-apps-v1.json b/v1.12.2-standalone/daemonsetlist-apps-v1.json index 1d73158745..64357e0e4a 100644 --- a/v1.12.2-standalone/daemonsetlist-apps-v1.json +++ b/v1.12.2-standalone/daemonsetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,12 +415,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -443,7 +473,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -562,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -624,7 +669,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -803,7 +860,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1071,7 +1131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1164,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1262,7 +1328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1355,7 +1424,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1391,7 +1463,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1473,7 +1548,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1518,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1547,7 +1628,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1579,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1602,7 +1689,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1700,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1735,7 +1828,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1817,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1852,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1885,7 +1987,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1941,7 +2046,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1956,17 +2064,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1991,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1999,7 +2119,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2034,7 +2157,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2079,7 +2205,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2135,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2150,17 +2282,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2185,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2193,7 +2337,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2203,7 +2350,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2213,14 +2363,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2230,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2242,7 +2401,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2277,7 +2439,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2288,20 +2453,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2341,11 +2518,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2363,7 +2546,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2421,7 +2607,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2546,15 +2735,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2667,7 +2865,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2712,7 +2913,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2741,7 +2945,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2773,7 +2980,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2796,7 +3006,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2894,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2929,7 +3145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3011,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3046,7 +3268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3079,7 +3304,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3135,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3150,17 +3381,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3185,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3193,7 +3436,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3228,7 +3474,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3273,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3329,7 +3581,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3344,17 +3599,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3379,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3387,7 +3654,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3397,7 +3667,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3407,14 +3680,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3424,7 +3703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3436,7 +3718,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3471,7 +3756,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3482,20 +3770,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3535,11 +3835,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3557,7 +3863,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3615,7 +3924,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3650,7 +3962,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3660,7 +3975,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3715,21 +4033,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3772,7 +4102,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3818,7 +4151,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3829,7 +4165,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3864,7 +4203,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3904,12 +4246,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3955,7 +4303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3968,7 +4319,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4005,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4050,7 +4407,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4075,7 +4435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4097,7 +4460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4116,7 +4482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4125,7 +4494,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4161,7 +4533,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4190,7 +4565,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4224,7 +4602,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4242,12 +4623,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4296,7 +4683,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4306,7 +4696,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4356,7 +4749,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4365,7 +4761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4412,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4445,11 +4847,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4496,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4533,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4553,7 +4967,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4591,7 +5008,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4607,7 +5027,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4638,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4657,7 +5083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4697,7 +5126,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4726,7 +5158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4763,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4782,7 +5220,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4801,7 +5242,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4831,7 +5275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4894,7 +5341,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5395,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4961,7 +5414,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4995,7 +5451,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5017,7 +5476,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5029,7 +5491,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5052,7 +5517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5139,7 +5607,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5167,7 +5638,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5230,7 +5704,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5245,17 +5722,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonsetlist-apps-v1beta2.json b/v1.12.2-standalone/daemonsetlist-apps-v1beta2.json index 9a1e69562c..5db93016ae 100644 --- a/v1.12.2-standalone/daemonsetlist-apps-v1beta2.json +++ b/v1.12.2-standalone/daemonsetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,12 +415,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -443,7 +473,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -562,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -624,7 +669,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -803,7 +860,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1071,7 +1131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1164,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1262,7 +1328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1355,7 +1424,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1391,7 +1463,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1473,7 +1548,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1518,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1547,7 +1628,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1579,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1602,7 +1689,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1700,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1735,7 +1828,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1817,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1852,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1885,7 +1987,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1941,7 +2046,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1956,17 +2064,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1991,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1999,7 +2119,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2034,7 +2157,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2079,7 +2205,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2135,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2150,17 +2282,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2185,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2193,7 +2337,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2203,7 +2350,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2213,14 +2363,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2230,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2242,7 +2401,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2277,7 +2439,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2288,20 +2453,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2341,11 +2518,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2363,7 +2546,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2421,7 +2607,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2546,15 +2735,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2667,7 +2865,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2712,7 +2913,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2741,7 +2945,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2773,7 +2980,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2796,7 +3006,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2894,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2929,7 +3145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3011,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3046,7 +3268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3079,7 +3304,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3135,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3150,17 +3381,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3185,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3193,7 +3436,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3228,7 +3474,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3273,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3329,7 +3581,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3344,17 +3599,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3379,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3387,7 +3654,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3397,7 +3667,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3407,14 +3680,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3424,7 +3703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3436,7 +3718,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3471,7 +3756,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3482,20 +3770,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3535,11 +3835,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3557,7 +3863,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3615,7 +3924,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3650,7 +3962,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3660,7 +3975,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3715,21 +4033,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3772,7 +4102,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3818,7 +4151,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3829,7 +4165,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3864,7 +4203,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3904,12 +4246,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3955,7 +4303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3968,7 +4319,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4005,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4050,7 +4407,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4075,7 +4435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4097,7 +4460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4116,7 +4482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4125,7 +4494,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4161,7 +4533,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4190,7 +4565,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4224,7 +4602,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4242,12 +4623,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4296,7 +4683,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4306,7 +4696,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4356,7 +4749,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4365,7 +4761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4412,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4445,11 +4847,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4496,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4533,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4553,7 +4967,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4591,7 +5008,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4607,7 +5027,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4638,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4657,7 +5083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4697,7 +5126,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4726,7 +5158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4763,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4782,7 +5220,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4801,7 +5242,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4831,7 +5275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4894,7 +5341,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5395,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4961,7 +5414,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4995,7 +5451,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5017,7 +5476,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5029,7 +5491,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5052,7 +5517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5139,7 +5607,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5167,7 +5638,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5230,7 +5704,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5245,17 +5722,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonsetlist-extensions-v1beta1.json b/v1.12.2-standalone/daemonsetlist-extensions-v1beta1.json index bff8552b14..422e041686 100644 --- a/v1.12.2-standalone/daemonsetlist-extensions-v1beta1.json +++ b/v1.12.2-standalone/daemonsetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,12 +414,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5125,7 +5593,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5142,7 +5613,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5170,7 +5644,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5233,7 +5710,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5248,17 +5728,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonsetlist.json b/v1.12.2-standalone/daemonsetlist.json index c43fadf39e..82be14d6b3 100644 --- a/v1.12.2-standalone/daemonsetlist.json +++ b/v1.12.2-standalone/daemonsetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,12 +405,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -433,7 +463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -549,7 +591,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -611,7 +656,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -693,7 +741,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -736,11 +787,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -790,7 +847,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1058,7 +1118,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1151,7 +1214,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1249,7 +1315,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1342,7 +1411,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1378,7 +1450,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1460,7 +1535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1505,7 +1583,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1534,7 +1615,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1566,7 +1650,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1589,7 +1676,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1687,7 +1777,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1722,7 +1815,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1804,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1839,7 +1938,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1872,7 +1974,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1928,7 +2033,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1943,17 +2051,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1978,7 +2095,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1986,7 +2106,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2021,7 +2144,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2066,7 +2192,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2122,7 +2251,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2137,17 +2269,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2172,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2180,7 +2324,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2190,7 +2337,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2200,14 +2350,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2217,7 +2373,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2229,7 +2388,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2264,7 +2426,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2275,20 +2440,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2328,11 +2505,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2350,7 +2533,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2408,7 +2594,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2533,15 +2722,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2654,7 +2852,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2699,7 +2900,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2728,7 +2932,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2760,7 +2967,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2783,7 +2993,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2881,7 +3094,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2916,7 +3132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2998,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3033,7 +3255,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3066,7 +3291,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3122,7 +3350,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3137,17 +3368,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3172,7 +3412,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3180,7 +3423,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3215,7 +3461,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3260,7 +3509,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3316,7 +3568,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3331,17 +3586,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3366,7 +3630,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3374,7 +3641,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3384,7 +3654,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3394,14 +3667,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3411,7 +3690,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3423,7 +3705,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3458,7 +3743,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3469,20 +3757,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3522,11 +3822,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3544,7 +3850,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3602,7 +3911,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3637,7 +3949,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3647,7 +3962,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3702,21 +4020,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3759,7 +4089,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3805,7 +4138,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3816,7 +4152,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3851,7 +4190,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3891,12 +4233,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3942,7 +4290,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3955,7 +4306,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3992,7 +4346,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4037,7 +4394,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4062,7 +4422,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4084,7 +4447,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4103,7 +4469,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4112,7 +4481,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4148,7 +4520,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4177,7 +4552,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4211,7 +4589,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4229,12 +4610,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4283,7 +4670,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4293,7 +4683,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4343,7 +4736,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4352,7 +4748,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4399,7 +4798,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4432,11 +4834,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4483,7 +4891,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4520,7 +4931,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4540,7 +4954,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4578,7 +4995,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4594,7 +5014,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4625,7 +5048,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5070,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4684,7 +5113,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4713,7 +5145,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4750,7 +5185,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4769,7 +5207,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4788,7 +5229,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4818,7 +5262,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4881,7 +5328,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4932,7 +5382,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4948,7 +5401,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4982,7 +5438,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5004,7 +5463,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5016,7 +5478,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5039,7 +5504,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5113,7 +5581,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5130,7 +5601,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5158,7 +5632,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5221,7 +5698,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5236,17 +5716,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/daemonsetspec-apps-v1.json b/v1.12.2-standalone/daemonsetspec-apps-v1.json index 644a736deb..1444976ffe 100644 --- a/v1.12.2-standalone/daemonsetspec-apps-v1.json +++ b/v1.12.2-standalone/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +86,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +114,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +151,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -178,7 +196,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -322,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +452,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -687,7 +723,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -780,7 +819,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +920,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -971,7 +1016,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1007,7 +1055,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1089,7 +1140,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1134,7 +1188,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1163,7 +1220,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1195,7 +1255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1218,7 +1281,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1316,7 +1382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1351,7 +1420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1433,7 +1505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1501,7 +1579,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1557,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1572,17 +1656,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1607,7 +1700,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1615,7 +1711,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1650,7 +1749,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1695,7 +1797,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1751,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1766,17 +1874,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1801,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1809,7 +1929,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1819,7 +1942,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1829,14 +1955,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1846,7 +1978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1858,7 +1993,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1893,7 +2031,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1904,20 +2045,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1957,11 +2110,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1979,7 +2138,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2037,7 +2199,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2162,15 +2327,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2283,7 +2457,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2328,7 +2505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2357,7 +2537,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2389,7 +2572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2412,7 +2598,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2510,7 +2699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2545,7 +2737,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2662,7 +2860,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2695,7 +2896,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2751,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2766,17 +2973,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2801,7 +3017,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3028,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2844,7 +3066,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2889,7 +3114,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2945,7 +3173,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2960,17 +3191,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2995,7 +3235,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3003,7 +3246,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3013,7 +3259,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3023,14 +3272,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3040,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3052,7 +3310,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3087,7 +3348,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3098,20 +3362,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3151,11 +3427,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3173,7 +3455,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3231,7 +3516,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3266,7 +3554,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3276,7 +3567,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3331,21 +3625,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3388,7 +3694,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3434,7 +3743,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3445,7 +3757,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3480,7 +3795,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3520,12 +3838,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3571,7 +3895,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3584,7 +3911,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3621,7 +3951,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3666,7 +3999,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3713,7 +4052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3732,7 +4074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3741,7 +4086,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3777,7 +4125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3806,7 +4157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3840,7 +4194,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3858,12 +4215,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3912,7 +4275,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3922,7 +4288,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3972,7 +4341,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3981,7 +4353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4028,7 +4403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4061,11 +4439,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4112,7 +4496,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4149,7 +4536,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4169,7 +4559,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4207,7 +4600,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4223,7 +4619,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4254,7 +4653,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4273,7 +4675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4313,7 +4718,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4342,7 +4750,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4379,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4812,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4417,7 +4834,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4447,7 +4867,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4510,7 +4933,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4561,7 +4987,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4611,7 +5043,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4633,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4645,7 +5083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4668,7 +5109,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetspec-apps-v1beta2.json b/v1.12.2-standalone/daemonsetspec-apps-v1beta2.json index 644a736deb..1444976ffe 100644 --- a/v1.12.2-standalone/daemonsetspec-apps-v1beta2.json +++ b/v1.12.2-standalone/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +86,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +114,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +151,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -178,7 +196,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -322,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +452,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -687,7 +723,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -780,7 +819,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +920,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -971,7 +1016,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1007,7 +1055,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1089,7 +1140,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1134,7 +1188,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1163,7 +1220,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1195,7 +1255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1218,7 +1281,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1316,7 +1382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1351,7 +1420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1433,7 +1505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1501,7 +1579,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1557,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1572,17 +1656,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1607,7 +1700,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1615,7 +1711,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1650,7 +1749,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1695,7 +1797,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1751,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1766,17 +1874,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1801,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1809,7 +1929,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1819,7 +1942,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1829,14 +1955,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1846,7 +1978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1858,7 +1993,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1893,7 +2031,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1904,20 +2045,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1957,11 +2110,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1979,7 +2138,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2037,7 +2199,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2162,15 +2327,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2283,7 +2457,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2328,7 +2505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2357,7 +2537,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2389,7 +2572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2412,7 +2598,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2510,7 +2699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2545,7 +2737,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2662,7 +2860,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2695,7 +2896,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2751,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2766,17 +2973,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2801,7 +3017,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3028,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2844,7 +3066,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2889,7 +3114,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2945,7 +3173,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2960,17 +3191,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2995,7 +3235,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3003,7 +3246,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3013,7 +3259,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3023,14 +3272,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3040,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3052,7 +3310,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3087,7 +3348,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3098,20 +3362,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3151,11 +3427,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3173,7 +3455,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3231,7 +3516,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3266,7 +3554,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3276,7 +3567,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3331,21 +3625,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3388,7 +3694,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3434,7 +3743,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3445,7 +3757,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3480,7 +3795,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3520,12 +3838,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3571,7 +3895,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3584,7 +3911,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3621,7 +3951,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3666,7 +3999,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3713,7 +4052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3732,7 +4074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3741,7 +4086,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3777,7 +4125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3806,7 +4157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3840,7 +4194,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3858,12 +4215,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3912,7 +4275,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3922,7 +4288,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3972,7 +4341,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3981,7 +4353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4028,7 +4403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4061,11 +4439,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4112,7 +4496,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4149,7 +4536,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4169,7 +4559,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4207,7 +4600,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4223,7 +4619,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4254,7 +4653,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4273,7 +4675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4313,7 +4718,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4342,7 +4750,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4379,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4812,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4417,7 +4834,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4447,7 +4867,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4510,7 +4933,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4561,7 +4987,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4611,7 +5043,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4633,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4645,7 +5083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4668,7 +5109,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetspec-extensions-v1beta1.json b/v1.12.2-standalone/daemonsetspec-extensions-v1beta1.json index 67b93c4f39..db82718333 100644 --- a/v1.12.2-standalone/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.2-standalone/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -239,7 +260,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -321,7 +345,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,11 +391,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +451,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -686,7 +722,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -779,7 +818,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -877,7 +919,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1015,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1006,7 +1054,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1088,7 +1139,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1133,7 +1187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1194,7 +1254,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1217,7 +1280,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1315,7 +1381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1350,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1467,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1578,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1637,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1571,17 +1655,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1606,7 +1699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1614,7 +1710,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1649,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1694,7 +1796,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1750,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,17 +1873,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1800,7 +1917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1928,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1818,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1828,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1845,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1857,7 +1992,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1892,7 +2030,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1903,20 +2044,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1956,11 +2109,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1978,7 +2137,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2198,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2161,15 +2326,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2282,7 +2456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2327,7 +2504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2356,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2388,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2411,7 +2597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2509,7 +2698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2544,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2626,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2661,7 +2859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2694,7 +2895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2750,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2765,17 +2972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2800,7 +3016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2843,7 +3065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2888,7 +3113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2944,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2959,17 +3190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2994,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3012,7 +3258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3022,14 +3271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3039,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3051,7 +3309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3086,7 +3347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3097,20 +3361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3150,11 +3426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3172,7 +3454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3230,7 +3515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3265,7 +3553,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3275,7 +3566,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3330,21 +3624,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3387,7 +3693,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3433,7 +3742,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3444,7 +3756,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3479,7 +3794,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3519,12 +3837,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3570,7 +3894,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3583,7 +3910,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3620,7 +3950,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3665,7 +3998,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3712,7 +4051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3731,7 +4073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3740,7 +4085,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3805,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3839,7 +4193,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3857,12 +4214,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3911,7 +4274,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3921,7 +4287,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3971,7 +4340,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3980,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4027,7 +4402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4060,11 +4438,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4111,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4148,7 +4535,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4168,7 +4558,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4206,7 +4599,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4222,7 +4618,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4253,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4272,7 +4674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4312,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4378,7 +4789,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4397,7 +4811,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,7 +4833,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4446,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4509,7 +4932,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5005,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4610,7 +5042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4632,7 +5067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5082,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4667,7 +5108,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4741,7 +5185,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4758,7 +5205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetspec.json b/v1.12.2-standalone/daemonsetspec.json index e8052e900e..7aec91eea5 100644 --- a/v1.12.2-standalone/daemonsetspec.json +++ b/v1.12.2-standalone/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +192,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -236,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -318,7 +342,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -361,11 +388,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +448,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -683,7 +719,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,7 +815,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -874,7 +916,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -967,7 +1012,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1051,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1085,7 +1136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1130,7 +1184,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1159,7 +1216,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1191,7 +1251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1214,7 +1277,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1312,7 +1378,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1347,7 +1416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1429,7 +1501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1464,7 +1539,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1497,7 +1575,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1553,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1568,17 +1652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1603,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1611,7 +1707,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1646,7 +1745,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1691,7 +1793,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1747,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,17 +1870,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1797,7 +1914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1805,7 +1925,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1815,7 +1938,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1825,14 +1951,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1842,7 +1974,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1854,7 +1989,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1889,7 +2027,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1900,20 +2041,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1953,11 +2106,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1975,7 +2134,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2033,7 +2195,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2158,15 +2323,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2279,7 +2453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2324,7 +2501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2353,7 +2533,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2385,7 +2568,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2408,7 +2594,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2506,7 +2695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2541,7 +2733,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2623,7 +2818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2658,7 +2856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2892,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2747,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2762,17 +2969,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2797,7 +3013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2805,7 +3024,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2840,7 +3062,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2885,7 +3110,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2941,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2956,17 +3187,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2991,7 +3231,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2999,7 +3242,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3009,7 +3255,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3019,14 +3268,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3036,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3048,7 +3306,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3083,7 +3344,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3094,20 +3358,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3147,11 +3423,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3169,7 +3451,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3227,7 +3512,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3262,7 +3550,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3272,7 +3563,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3327,21 +3621,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3384,7 +3690,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3430,7 +3739,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3441,7 +3753,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3476,7 +3791,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3516,12 +3834,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3567,7 +3891,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3580,7 +3907,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3617,7 +3947,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3662,7 +3995,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3687,7 +4023,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3709,7 +4048,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3728,7 +4070,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3737,7 +4082,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3773,7 +4121,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3802,7 +4153,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3836,7 +4190,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3854,12 +4211,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3908,7 +4271,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3918,7 +4284,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3968,7 +4337,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3977,7 +4349,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4024,7 +4399,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4057,11 +4435,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4108,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4145,7 +4532,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4165,7 +4555,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4203,7 +4596,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4219,7 +4615,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4250,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4269,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4309,7 +4714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4338,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4375,7 +4786,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4394,7 +4808,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,7 +4830,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4443,7 +4863,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4506,7 +4929,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4557,7 +4983,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4573,7 +5002,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4607,7 +5039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4629,7 +5064,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5079,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4664,7 +5105,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4738,7 +5182,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4755,7 +5202,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetstatus-apps-v1.json b/v1.12.2-standalone/daemonsetstatus-apps-v1.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.2-standalone/daemonsetstatus-apps-v1.json +++ b/v1.12.2-standalone/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/daemonsetstatus-apps-v1beta2.json b/v1.12.2-standalone/daemonsetstatus-apps-v1beta2.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.2-standalone/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.2-standalone/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/daemonsetstatus-extensions-v1beta1.json b/v1.12.2-standalone/daemonsetstatus-extensions-v1beta1.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.2-standalone/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.2-standalone/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/daemonsetstatus.json b/v1.12.2-standalone/daemonsetstatus.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.2-standalone/daemonsetstatus.json +++ b/v1.12.2-standalone/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1.json b/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1.json index 162762bc6d..4369731a61 100644 --- a/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1.json +++ b/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1beta2.json b/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1beta2.json index 162762bc6d..4369731a61 100644 --- a/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.2-standalone/daemonsetupdatestrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetupdatestrategy-extensions-v1beta1.json b/v1.12.2-standalone/daemonsetupdatestrategy-extensions-v1beta1.json index 98767858a1..384afe815e 100644 --- a/v1.12.2-standalone/daemonsetupdatestrategy-extensions-v1beta1.json +++ b/v1.12.2-standalone/daemonsetupdatestrategy-extensions-v1beta1.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/daemonsetupdatestrategy.json b/v1.12.2-standalone/daemonsetupdatestrategy.json index 98767858a1..384afe815e 100644 --- a/v1.12.2-standalone/daemonsetupdatestrategy.json +++ b/v1.12.2-standalone/daemonsetupdatestrategy.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/deleteoptions-meta-v1.json b/v1.12.2-standalone/deleteoptions-meta-v1.json index 32a6fb7511..7f992c285a 100644 --- a/v1.12.2-standalone/deleteoptions-meta-v1.json +++ b/v1.12.2-standalone/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.2-standalone/deleteoptions.json b/v1.12.2-standalone/deleteoptions.json index a8272a6d25..ccfa2dd472 100644 --- a/v1.12.2-standalone/deleteoptions.json +++ b/v1.12.2-standalone/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.2-standalone/deployment-apps-v1.json b/v1.12.2-standalone/deployment-apps-v1.json index a09882229f..31f62cd60d 100644 --- a/v1.12.2-standalone/deployment-apps-v1.json +++ b/v1.12.2-standalone/deployment-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,26 +393,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -435,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -473,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -496,7 +544,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -521,7 +572,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -555,7 +609,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -597,7 +654,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -659,7 +719,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -741,7 +804,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -784,11 +850,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -838,7 +910,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1106,7 +1181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1199,7 +1277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1378,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1513,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1598,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1553,7 +1646,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1582,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1614,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1637,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1735,7 +1840,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1770,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1852,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +2001,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2037,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1976,7 +2096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2114,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2158,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2034,7 +2169,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2069,7 +2207,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2114,7 +2255,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2170,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2185,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2228,7 +2387,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2238,7 +2400,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2248,14 +2413,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,7 +2436,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2277,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2312,7 +2489,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2323,20 +2503,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2376,11 +2568,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2398,7 +2596,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2456,7 +2657,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2785,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2702,7 +2915,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2747,7 +2963,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2776,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2808,7 +3030,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2831,7 +3056,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2929,7 +3157,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2964,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3046,7 +3280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,7 +3318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,8 +3354,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3170,7 +3413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3185,17 +3431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3220,7 +3475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3228,7 +3486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3263,7 +3524,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3308,7 +3572,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3364,7 +3631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3379,17 +3649,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3704,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3432,7 +3717,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3442,14 +3730,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3459,7 +3753,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3471,7 +3768,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3506,7 +3806,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3517,20 +3820,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3570,11 +3885,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3592,7 +3913,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3650,7 +3974,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3685,7 +4012,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3695,7 +4025,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3750,21 +4083,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3807,7 +4152,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3853,7 +4201,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3864,7 +4215,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3899,7 +4253,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3939,12 +4296,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4353,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4003,7 +4369,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4085,7 +4457,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4485,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4151,7 +4532,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4160,7 +4544,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4583,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4615,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4259,7 +4652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4277,12 +4673,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4331,7 +4733,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4341,7 +4746,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4391,7 +4799,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4400,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4447,7 +4861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,11 +4897,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4531,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4568,7 +4994,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4588,7 +5017,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5058,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4642,7 +5077,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4673,7 +5111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4692,7 +5133,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4732,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5208,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4798,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4817,7 +5270,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4836,7 +5292,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4866,7 +5325,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4929,7 +5391,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4980,7 +5445,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4996,7 +5464,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5030,7 +5501,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5052,7 +5526,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5064,7 +5541,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5087,7 +5567,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5166,12 +5649,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5232,27 +5721,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deployment-apps-v1beta1.json b/v1.12.2-standalone/deployment-apps-v1beta1.json index e5f5f0728a..840598affe 100644 --- a/v1.12.2-standalone/deployment-apps-v1beta1.json +++ b/v1.12.2-standalone/deployment-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,26 +392,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -395,7 +434,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -444,7 +486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -469,7 +514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -482,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -505,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -530,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -564,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -606,7 +666,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -668,7 +731,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -750,7 +816,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -793,11 +862,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -847,7 +922,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1115,7 +1193,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1208,7 +1289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1306,7 +1390,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1399,7 +1486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1525,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1610,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1562,7 +1658,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1591,7 +1690,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1623,7 +1725,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1646,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1744,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1779,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1896,7 +2013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1929,7 +2049,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2126,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2043,7 +2181,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2078,7 +2219,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2123,7 +2267,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2179,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2344,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2399,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2247,7 +2412,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2257,14 +2425,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2274,7 +2448,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2286,7 +2463,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2321,7 +2501,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2332,20 +2515,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2580,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2608,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2465,7 +2669,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2590,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2711,7 +2927,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2756,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2785,7 +3007,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2817,7 +3042,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2840,7 +3068,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2938,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2973,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3055,7 +3292,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3090,9 +3330,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3123,7 +3366,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3179,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3194,17 +3443,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3229,7 +3487,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3237,7 +3498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3272,7 +3536,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3317,7 +3584,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3373,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3388,17 +3661,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3423,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3716,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3441,7 +3729,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3451,14 +3742,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3468,7 +3765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3480,7 +3780,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3515,7 +3818,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3526,20 +3832,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3579,11 +3897,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3601,7 +3925,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3659,7 +3986,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3694,7 +4024,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3704,7 +4037,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3759,21 +4095,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3816,7 +4164,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3862,7 +4213,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3873,7 +4227,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3908,7 +4265,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3948,12 +4308,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3999,7 +4365,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4012,7 +4381,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4049,7 +4421,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4094,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4119,7 +4497,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4141,7 +4522,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4160,7 +4544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4169,7 +4556,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4205,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4627,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4268,7 +4664,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4286,12 +4685,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4340,7 +4745,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4350,7 +4758,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4400,7 +4811,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4409,7 +4823,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4489,11 +4909,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4540,7 +4966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4597,7 +5029,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4635,7 +5070,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4651,7 +5089,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4682,7 +5123,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4701,7 +5145,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4741,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4770,7 +5220,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4807,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5282,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4845,7 +5304,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4875,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4938,7 +5403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4989,7 +5457,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5005,7 +5476,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5039,7 +5513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5061,7 +5538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5073,7 +5553,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5096,7 +5579,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,12 +5661,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5241,27 +5733,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deployment-apps-v1beta2.json b/v1.12.2-standalone/deployment-apps-v1beta2.json index ff4512bc05..db760abe71 100644 --- a/v1.12.2-standalone/deployment-apps-v1beta2.json +++ b/v1.12.2-standalone/deployment-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,26 +393,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -435,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -473,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -496,7 +544,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -521,7 +572,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -555,7 +609,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -597,7 +654,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -659,7 +719,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -741,7 +804,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -784,11 +850,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -838,7 +910,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1106,7 +1181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1199,7 +1277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1378,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1513,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1598,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1553,7 +1646,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1582,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1614,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1637,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1735,7 +1840,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1770,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1852,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +2001,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2037,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1976,7 +2096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2114,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2158,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2034,7 +2169,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2069,7 +2207,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2114,7 +2255,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2170,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2185,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2228,7 +2387,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2238,7 +2400,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2248,14 +2413,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,7 +2436,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2277,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2312,7 +2489,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2323,20 +2503,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2376,11 +2568,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2398,7 +2596,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2456,7 +2657,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2785,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2702,7 +2915,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2747,7 +2963,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2776,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2808,7 +3030,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2831,7 +3056,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2929,7 +3157,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2964,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3046,7 +3280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,7 +3318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,8 +3354,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3170,7 +3413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3185,17 +3431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3220,7 +3475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3228,7 +3486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3263,7 +3524,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3308,7 +3572,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3364,7 +3631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3379,17 +3649,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3704,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3432,7 +3717,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3442,14 +3730,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3459,7 +3753,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3471,7 +3768,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3506,7 +3806,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3517,20 +3820,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3570,11 +3885,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3592,7 +3913,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3650,7 +3974,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3685,7 +4012,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3695,7 +4025,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3750,21 +4083,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3807,7 +4152,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3853,7 +4201,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3864,7 +4215,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3899,7 +4253,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3939,12 +4296,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4353,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4003,7 +4369,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4085,7 +4457,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4485,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4151,7 +4532,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4160,7 +4544,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4583,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4615,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4259,7 +4652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4277,12 +4673,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4331,7 +4733,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4341,7 +4746,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4391,7 +4799,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4400,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4447,7 +4861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,11 +4897,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4531,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4568,7 +4994,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4588,7 +5017,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5058,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4642,7 +5077,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4673,7 +5111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4692,7 +5133,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4732,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5208,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4798,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4817,7 +5270,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4836,7 +5292,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4866,7 +5325,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4929,7 +5391,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4980,7 +5445,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4996,7 +5464,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5030,7 +5501,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5052,7 +5526,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5064,7 +5541,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5087,7 +5567,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5166,12 +5649,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5232,27 +5721,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deployment-extensions-v1beta1.json b/v1.12.2-standalone/deployment-extensions-v1beta1.json index 795debf5a4..e5133d2ebc 100644 --- a/v1.12.2-standalone/deployment-extensions-v1beta1.json +++ b/v1.12.2-standalone/deployment-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,26 +392,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -395,7 +434,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -444,7 +486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -469,7 +514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -482,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -505,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -530,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -564,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -606,7 +666,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -668,7 +731,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -750,7 +816,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -793,11 +862,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -847,7 +922,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1115,7 +1193,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1208,7 +1289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1306,7 +1390,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1399,7 +1486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1525,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1610,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1562,7 +1658,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1591,7 +1690,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1623,7 +1725,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1646,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1744,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1779,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1896,7 +2013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1929,7 +2049,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2126,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2043,7 +2181,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2078,7 +2219,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2123,7 +2267,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2179,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2344,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2399,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2247,7 +2412,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2257,14 +2425,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2274,7 +2448,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2286,7 +2463,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2321,7 +2501,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2332,20 +2515,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2580,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2608,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2465,7 +2669,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2590,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2711,7 +2927,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2756,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2785,7 +3007,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2817,7 +3042,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2840,7 +3068,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2938,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2973,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3055,7 +3292,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3090,9 +3330,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3123,7 +3366,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3179,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3194,17 +3443,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3229,7 +3487,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3237,7 +3498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3272,7 +3536,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3317,7 +3584,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3373,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3388,17 +3661,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3423,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3716,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3441,7 +3729,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3451,14 +3742,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3468,7 +3765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3480,7 +3780,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3515,7 +3818,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3526,20 +3832,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3579,11 +3897,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3601,7 +3925,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3659,7 +3986,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3694,7 +4024,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3704,7 +4037,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3759,21 +4095,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3816,7 +4164,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3862,7 +4213,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3873,7 +4227,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3908,7 +4265,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3948,12 +4308,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3999,7 +4365,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4012,7 +4381,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4049,7 +4421,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4094,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4119,7 +4497,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4141,7 +4522,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4160,7 +4544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4169,7 +4556,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4205,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4627,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4268,7 +4664,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4286,12 +4685,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4340,7 +4745,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4350,7 +4758,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4400,7 +4811,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4409,7 +4823,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4489,11 +4909,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4540,7 +4966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4597,7 +5029,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4635,7 +5070,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4651,7 +5089,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4682,7 +5123,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4701,7 +5145,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4741,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4770,7 +5220,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4807,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5282,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4845,7 +5304,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4875,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4938,7 +5403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4989,7 +5457,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5005,7 +5476,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5039,7 +5513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5061,7 +5538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5073,7 +5553,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5096,7 +5579,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,12 +5661,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5241,27 +5733,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deployment.json b/v1.12.2-standalone/deployment.json index 9a1c067413..8da6fdeb82 100644 --- a/v1.12.2-standalone/deployment.json +++ b/v1.12.2-standalone/deployment.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,26 +386,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -389,7 +428,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -438,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -476,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -499,7 +550,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -524,7 +578,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -558,7 +615,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -597,7 +657,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -659,7 +722,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -741,7 +807,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -784,11 +853,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -838,7 +913,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1106,7 +1184,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1199,7 +1280,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1381,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1477,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1516,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1601,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1553,7 +1649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1582,7 +1681,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1614,7 +1716,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1637,7 +1742,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1735,7 +1843,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1770,7 +1881,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1852,7 +1966,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +2004,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2040,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1976,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2117,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2161,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2034,7 +2172,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2069,7 +2210,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2114,7 +2258,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2170,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2185,17 +2335,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2220,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2228,7 +2390,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2238,7 +2403,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2248,14 +2416,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2277,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2312,7 +2492,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2323,20 +2506,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2376,11 +2571,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2398,7 +2599,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2456,7 +2660,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2788,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2702,7 +2918,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2747,7 +2966,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2776,7 +2998,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2808,7 +3033,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2831,7 +3059,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2929,7 +3160,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2964,7 +3198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3046,7 +3283,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,9 +3321,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3114,7 +3357,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3170,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3185,17 +3434,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3220,7 +3478,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3228,7 +3489,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3263,7 +3527,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3308,7 +3575,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3364,7 +3634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3379,17 +3652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3414,7 +3696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3707,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3432,7 +3720,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3442,14 +3733,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3459,7 +3756,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3471,7 +3771,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3506,7 +3809,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3517,20 +3823,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3570,11 +3888,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3592,7 +3916,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3650,7 +3977,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3685,7 +4015,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3695,7 +4028,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3750,21 +4086,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3807,7 +4155,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3853,7 +4204,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3864,7 +4218,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3899,7 +4256,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3939,12 +4299,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4356,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4003,7 +4372,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4040,7 +4412,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4085,7 +4460,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4488,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4513,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4151,7 +4535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4160,7 +4547,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4618,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4259,7 +4655,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4277,12 +4676,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4331,7 +4736,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4341,7 +4749,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4391,7 +4802,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4400,7 +4814,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4447,7 +4864,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,11 +4900,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4531,7 +4957,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4568,7 +4997,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4588,7 +5020,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5061,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4642,7 +5080,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4673,7 +5114,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4692,7 +5136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4732,7 +5179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5211,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4798,7 +5251,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4817,7 +5273,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4836,7 +5295,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4866,7 +5328,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4929,7 +5394,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4980,7 +5448,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4996,7 +5467,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5030,7 +5504,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5052,7 +5529,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5064,7 +5544,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5087,7 +5570,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5166,12 +5652,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5232,27 +5724,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deploymentlist-apps-v1.json b/v1.12.2-standalone/deploymentlist-apps-v1.json index 38b1cb7fc7..7a694c6554 100644 --- a/v1.12.2-standalone/deploymentlist-apps-v1.json +++ b/v1.12.2-standalone/deploymentlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,26 +415,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -457,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -495,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +566,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +594,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +631,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -619,7 +676,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -681,7 +741,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -763,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -806,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -860,7 +932,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1128,7 +1203,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1221,7 +1299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1319,7 +1400,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1448,7 +1535,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1530,7 +1620,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1575,7 +1668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1604,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1636,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1659,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1757,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1985,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1909,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1942,7 +2059,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1998,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2136,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2180,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2056,7 +2191,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2091,7 +2229,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2136,7 +2277,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2192,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2250,7 +2409,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2260,7 +2422,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,14 +2435,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2299,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2334,7 +2511,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2345,20 +2525,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2590,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2618,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2679,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2603,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2937,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2769,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2798,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2830,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2853,7 +3078,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2951,7 +3179,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2986,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3068,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3103,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3136,8 +3376,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3192,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3207,17 +3453,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3242,7 +3497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3250,7 +3508,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3285,7 +3546,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3330,7 +3594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3386,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3401,17 +3671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3436,7 +3715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3444,7 +3726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3454,7 +3739,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3464,14 +3752,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3481,7 +3775,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3493,7 +3790,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3528,7 +3828,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3539,20 +3842,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3592,11 +3907,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3614,7 +3935,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3672,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3707,7 +4034,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3717,7 +4047,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3772,21 +4105,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3829,7 +4174,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3875,7 +4223,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3886,7 +4237,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3921,7 +4275,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3961,12 +4318,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4012,7 +4375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4025,7 +4391,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4062,7 +4431,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4107,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4132,7 +4507,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4154,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4173,7 +4554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4182,7 +4566,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4218,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4247,7 +4637,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4281,7 +4674,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4299,12 +4695,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4353,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4413,7 +4821,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4422,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4469,7 +4883,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4502,11 +4919,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4553,7 +4976,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4590,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4610,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4648,7 +5080,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4664,7 +5099,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4695,7 +5133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4714,7 +5155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4754,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5230,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4820,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4839,7 +5292,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4858,7 +5314,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4888,7 +5347,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4951,7 +5413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5002,7 +5467,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5018,7 +5486,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5052,7 +5523,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5074,7 +5548,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5086,7 +5563,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5109,7 +5589,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5188,12 +5671,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5254,27 +5743,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deploymentlist-apps-v1beta1.json b/v1.12.2-standalone/deploymentlist-apps-v1beta1.json index 3b09f34415..d4541c3fd8 100644 --- a/v1.12.2-standalone/deploymentlist-apps-v1beta1.json +++ b/v1.12.2-standalone/deploymentlist-apps-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,26 +414,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -417,7 +456,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -466,7 +508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -491,7 +536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -504,7 +552,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -527,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -586,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -628,7 +688,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -690,7 +753,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -772,7 +838,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -815,11 +884,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -869,7 +944,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1230,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1328,7 +1412,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1421,7 +1508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1457,7 +1547,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1539,7 +1632,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1613,7 +1712,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1645,7 +1747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1668,7 +1773,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1766,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1801,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1883,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1918,7 +2035,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2071,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2065,7 +2203,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2100,7 +2241,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2145,7 +2289,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2201,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2216,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2251,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2269,7 +2434,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,14 +2447,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2296,7 +2470,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2485,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2343,7 +2523,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2354,20 +2537,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2407,11 +2602,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2429,7 +2630,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2487,7 +2691,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2612,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2733,7 +2949,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2778,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3029,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2839,7 +3064,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2862,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2960,7 +3191,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2995,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3077,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3112,9 +3352,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3145,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3201,7 +3447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3216,17 +3465,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3251,7 +3509,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3259,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3294,7 +3558,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3339,7 +3606,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3395,7 +3665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3410,17 +3683,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3445,7 +3727,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3738,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3463,7 +3751,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3473,14 +3764,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3490,7 +3787,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3502,7 +3802,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3537,7 +3840,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3548,20 +3854,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3601,11 +3919,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3623,7 +3947,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3681,7 +4008,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3716,7 +4046,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3726,7 +4059,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3781,21 +4117,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3838,7 +4186,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3884,7 +4235,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3895,7 +4249,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3930,7 +4287,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3970,12 +4330,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4034,7 +4403,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4071,7 +4443,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4116,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4141,7 +4519,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4163,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4182,7 +4566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4191,7 +4578,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4227,7 +4617,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4256,7 +4649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4290,7 +4686,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4308,12 +4707,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4362,7 +4767,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4372,7 +4780,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4422,7 +4833,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4431,7 +4845,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4478,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4511,11 +4931,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4599,7 +5028,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4619,7 +5051,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4657,7 +5092,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4673,7 +5111,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4704,7 +5145,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4723,7 +5167,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4763,7 +5210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5242,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4829,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4848,7 +5304,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4867,7 +5326,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4897,7 +5359,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4960,7 +5425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5011,7 +5479,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5027,7 +5498,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5061,7 +5535,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5083,7 +5560,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5095,7 +5575,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5118,7 +5601,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5197,12 +5683,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5263,27 +5755,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deploymentlist-apps-v1beta2.json b/v1.12.2-standalone/deploymentlist-apps-v1beta2.json index 5e1257ddb0..de82c65424 100644 --- a/v1.12.2-standalone/deploymentlist-apps-v1beta2.json +++ b/v1.12.2-standalone/deploymentlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,26 +415,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -457,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -495,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +566,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +594,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +631,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -619,7 +676,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -681,7 +741,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -763,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -806,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -860,7 +932,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1128,7 +1203,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1221,7 +1299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1319,7 +1400,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1448,7 +1535,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1530,7 +1620,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1575,7 +1668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1604,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1636,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1659,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1757,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1985,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1909,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1942,7 +2059,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1998,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2136,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2180,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2056,7 +2191,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2091,7 +2229,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2136,7 +2277,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2192,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2250,7 +2409,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2260,7 +2422,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,14 +2435,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2299,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2334,7 +2511,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2345,20 +2525,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2590,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2618,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2679,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2603,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2937,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2769,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2798,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2830,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2853,7 +3078,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2951,7 +3179,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2986,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3068,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3103,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3136,8 +3376,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3192,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3207,17 +3453,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3242,7 +3497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3250,7 +3508,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3285,7 +3546,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3330,7 +3594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3386,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3401,17 +3671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3436,7 +3715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3444,7 +3726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3454,7 +3739,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3464,14 +3752,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3481,7 +3775,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3493,7 +3790,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3528,7 +3828,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3539,20 +3842,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3592,11 +3907,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3614,7 +3935,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3672,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3707,7 +4034,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3717,7 +4047,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3772,21 +4105,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3829,7 +4174,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3875,7 +4223,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3886,7 +4237,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3921,7 +4275,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3961,12 +4318,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4012,7 +4375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4025,7 +4391,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4062,7 +4431,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4107,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4132,7 +4507,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4154,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4173,7 +4554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4182,7 +4566,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4218,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4247,7 +4637,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4281,7 +4674,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4299,12 +4695,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4353,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4413,7 +4821,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4422,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4469,7 +4883,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4502,11 +4919,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4553,7 +4976,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4590,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4610,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4648,7 +5080,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4664,7 +5099,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4695,7 +5133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4714,7 +5155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4754,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5230,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4820,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4839,7 +5292,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4858,7 +5314,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4888,7 +5347,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4951,7 +5413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5002,7 +5467,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5018,7 +5486,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5052,7 +5523,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5074,7 +5548,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5086,7 +5563,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5109,7 +5589,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5188,12 +5671,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5254,27 +5743,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deploymentlist-extensions-v1beta1.json b/v1.12.2-standalone/deploymentlist-extensions-v1beta1.json index 71535d919b..9a29ff7f0b 100644 --- a/v1.12.2-standalone/deploymentlist-extensions-v1beta1.json +++ b/v1.12.2-standalone/deploymentlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,26 +414,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -417,7 +456,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -466,7 +508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -491,7 +536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -504,7 +552,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -527,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -586,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -628,7 +688,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -690,7 +753,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -772,7 +838,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -815,11 +884,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -869,7 +944,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1230,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1328,7 +1412,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1421,7 +1508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1457,7 +1547,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1539,7 +1632,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1613,7 +1712,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1645,7 +1747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1668,7 +1773,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1766,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1801,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1883,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1918,7 +2035,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2071,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2065,7 +2203,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2100,7 +2241,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2145,7 +2289,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2201,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2216,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2251,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2269,7 +2434,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,14 +2447,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2296,7 +2470,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2485,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2343,7 +2523,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2354,20 +2537,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2407,11 +2602,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2429,7 +2630,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2487,7 +2691,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2612,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2733,7 +2949,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2778,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3029,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2839,7 +3064,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2862,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2960,7 +3191,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2995,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3077,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3112,9 +3352,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3145,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3201,7 +3447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3216,17 +3465,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3251,7 +3509,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3259,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3294,7 +3558,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3339,7 +3606,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3395,7 +3665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3410,17 +3683,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3445,7 +3727,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3738,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3463,7 +3751,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3473,14 +3764,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3490,7 +3787,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3502,7 +3802,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3537,7 +3840,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3548,20 +3854,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3601,11 +3919,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3623,7 +3947,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3681,7 +4008,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3716,7 +4046,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3726,7 +4059,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3781,21 +4117,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3838,7 +4186,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3884,7 +4235,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3895,7 +4249,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3930,7 +4287,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3970,12 +4330,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4034,7 +4403,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4071,7 +4443,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4116,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4141,7 +4519,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4163,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4182,7 +4566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4191,7 +4578,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4227,7 +4617,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4256,7 +4649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4290,7 +4686,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4308,12 +4707,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4362,7 +4767,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4372,7 +4780,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4422,7 +4833,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4431,7 +4845,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4478,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4511,11 +4931,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4599,7 +5028,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4619,7 +5051,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4657,7 +5092,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4673,7 +5111,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4704,7 +5145,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4723,7 +5167,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4763,7 +5210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5242,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4829,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4848,7 +5304,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4867,7 +5326,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4897,7 +5359,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4960,7 +5425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5011,7 +5479,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5027,7 +5498,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5061,7 +5535,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5083,7 +5560,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5095,7 +5575,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5118,7 +5601,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5197,12 +5683,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5263,27 +5755,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deploymentlist.json b/v1.12.2-standalone/deploymentlist.json index af6d7db68f..c998e5efca 100644 --- a/v1.12.2-standalone/deploymentlist.json +++ b/v1.12.2-standalone/deploymentlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,26 +405,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -408,7 +447,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -457,7 +499,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -495,7 +543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +569,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +597,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +634,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -616,7 +676,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -678,7 +741,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -760,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -857,7 +932,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1125,7 +1203,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1218,7 +1299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1316,7 +1400,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1409,7 +1496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1445,7 +1535,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1527,7 +1620,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1572,7 +1668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1601,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1633,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1656,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1754,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1789,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1871,7 +1985,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1906,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1939,7 +2059,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1995,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2010,17 +2136,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2045,7 +2180,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2053,7 +2191,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2088,7 +2229,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2133,7 +2277,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2189,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2239,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2247,7 +2409,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2257,7 +2422,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2267,14 +2435,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2284,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2296,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2511,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2525,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2395,11 +2590,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2417,7 +2618,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2475,7 +2679,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2600,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2721,7 +2937,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2766,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2795,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2827,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2850,7 +3078,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2948,7 +3179,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2983,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3065,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3100,9 +3340,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3133,7 +3376,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3189,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3204,17 +3453,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3239,7 +3497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3247,7 +3508,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3282,7 +3546,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3327,7 +3594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3383,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3398,17 +3671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3433,7 +3715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3441,7 +3726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3451,7 +3739,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3461,14 +3752,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3478,7 +3775,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3490,7 +3790,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3525,7 +3828,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3536,20 +3842,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3589,11 +3907,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3611,7 +3935,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3669,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3704,7 +4034,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3714,7 +4047,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3769,21 +4105,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3826,7 +4174,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3872,7 +4223,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3883,7 +4237,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3918,7 +4275,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3958,12 +4318,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4009,7 +4375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4022,7 +4391,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4059,7 +4431,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4104,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4129,7 +4507,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4170,7 +4554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4179,7 +4566,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4215,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4637,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4278,7 +4674,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4296,12 +4695,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4350,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4360,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4410,7 +4821,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4419,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4466,7 +4883,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4499,11 +4919,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4550,7 +4976,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4587,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4607,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4645,7 +5080,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4661,7 +5099,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4692,7 +5133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4751,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5230,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4817,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4836,7 +5292,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4855,7 +5314,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4885,7 +5347,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4948,7 +5413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4999,7 +5467,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5015,7 +5486,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5049,7 +5523,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5071,7 +5548,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5083,7 +5563,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5106,7 +5589,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5185,12 +5671,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5251,27 +5743,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/deploymentrollback-apps-v1beta1.json b/v1.12.2-standalone/deploymentrollback-apps-v1beta1.json index f715274a33..8b16c404ad 100644 --- a/v1.12.2-standalone/deploymentrollback-apps-v1beta1.json +++ b/v1.12.2-standalone/deploymentrollback-apps-v1beta1.json @@ -37,14 +37,20 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/deploymentrollback-extensions-v1beta1.json b/v1.12.2-standalone/deploymentrollback-extensions-v1beta1.json index 49f8136c80..9dbff1740d 100644 --- a/v1.12.2-standalone/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.2-standalone/deploymentrollback-extensions-v1beta1.json @@ -37,14 +37,20 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/deploymentrollback.json b/v1.12.2-standalone/deploymentrollback.json index 11855f135c..b096d11642 100644 --- a/v1.12.2-standalone/deploymentrollback.json +++ b/v1.12.2-standalone/deploymentrollback.json @@ -34,14 +34,20 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/deploymentspec-apps-v1.json b/v1.12.2-standalone/deploymentspec-apps-v1.json index c16e9c6f08..9e80d7cddb 100644 --- a/v1.12.2-standalone/deploymentspec-apps-v1.json +++ b/v1.12.2-standalone/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -134,7 +158,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -159,7 +186,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -193,7 +223,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -235,7 +268,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -297,7 +333,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -379,7 +418,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -422,11 +464,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -476,7 +524,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -744,7 +795,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -837,7 +891,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -935,7 +992,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1028,7 +1088,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1064,7 +1127,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1146,7 +1212,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1191,7 +1260,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1220,7 +1292,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1252,7 +1327,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1275,7 +1353,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1373,7 +1454,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1408,7 +1492,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1490,7 +1577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1525,7 +1615,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1629,17 +1728,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1664,7 +1772,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1672,7 +1783,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1707,7 +1821,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1752,7 +1869,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1808,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,17 +1946,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1858,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +2001,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1876,7 +2014,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1886,14 +2027,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1903,7 +2050,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1915,7 +2065,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1950,7 +2103,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1961,20 +2117,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2014,11 +2182,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2036,7 +2210,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2094,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2219,15 +2399,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2340,7 +2529,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2385,7 +2577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2414,7 +2609,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2446,7 +2644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2469,7 +2670,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2567,7 +2771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2602,7 +2809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2684,7 +2894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2719,7 +2932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2752,7 +2968,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2808,7 +3027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2823,17 +3045,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2858,7 +3089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2866,7 +3100,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2901,7 +3138,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2946,7 +3186,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3002,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,17 +3263,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3052,7 +3307,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3060,7 +3318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3070,7 +3331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3080,14 +3344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3097,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3382,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3144,7 +3420,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3155,20 +3434,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3208,11 +3499,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3230,7 +3527,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3288,7 +3588,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3323,7 +3626,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3333,7 +3639,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3388,21 +3697,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3445,7 +3766,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3491,7 +3815,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3502,7 +3829,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3537,7 +3867,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3577,12 +3910,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3628,7 +3967,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3641,7 +3983,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3678,7 +4023,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3723,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3748,7 +4099,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3770,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3789,7 +4146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3798,7 +4158,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3834,7 +4197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3897,7 +4266,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3915,12 +4287,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3969,7 +4347,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3979,7 +4360,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4029,7 +4413,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4038,7 +4425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4085,7 +4475,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4118,11 +4511,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4169,7 +4568,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4206,7 +4608,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4226,7 +4631,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4264,7 +4672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4280,7 +4691,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4311,7 +4725,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4330,7 +4747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4370,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4399,7 +4822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4436,7 +4862,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4455,7 +4884,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4474,7 +4906,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4504,7 +4939,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4567,7 +5005,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4618,7 +5059,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4634,7 +5078,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4668,7 +5115,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4690,7 +5140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4702,7 +5155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4725,7 +5181,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/deploymentspec-apps-v1beta1.json b/v1.12.2-standalone/deploymentspec-apps-v1beta1.json index 082d8f4bba..96a0555e2b 100644 --- a/v1.12.2-standalone/deploymentspec-apps-v1beta1.json +++ b/v1.12.2-standalone/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -82,7 +100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -120,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -143,7 +170,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -168,7 +198,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -202,7 +235,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -244,7 +280,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -306,7 +345,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -388,7 +430,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -431,11 +476,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -753,7 +807,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -846,7 +903,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -944,7 +1004,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1037,7 +1100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1073,7 +1139,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1155,7 +1224,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1229,7 +1304,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1261,7 +1339,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1284,7 +1365,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1382,7 +1466,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1589,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,7 +1627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1567,7 +1663,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1623,7 +1722,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1638,17 +1740,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1673,7 +1784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1681,7 +1795,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1716,7 +1833,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1761,7 +1881,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1817,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1832,17 +1958,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1867,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +2013,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1885,7 +2026,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2039,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1924,7 +2077,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1959,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1970,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2023,11 +2194,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2045,7 +2222,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2103,7 +2283,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2228,15 +2411,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2349,7 +2541,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2394,7 +2589,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2423,7 +2621,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2455,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2478,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2576,7 +2783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2693,7 +2906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2728,7 +2944,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2761,7 +2980,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2817,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2832,17 +3057,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2867,7 +3101,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2875,7 +3112,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2910,7 +3150,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2955,7 +3198,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3011,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,17 +3275,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3061,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3330,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3079,7 +3343,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3089,14 +3356,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3106,7 +3379,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3118,7 +3394,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3153,7 +3432,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3164,20 +3446,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3217,11 +3511,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3239,7 +3539,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3297,7 +3600,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3332,7 +3638,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3342,7 +3651,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3397,21 +3709,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3454,7 +3778,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3500,7 +3827,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3511,7 +3841,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3546,7 +3879,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3586,12 +3922,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3637,7 +3979,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3650,7 +3995,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3687,7 +4035,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3732,7 +4083,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3757,7 +4111,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3779,7 +4136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3798,7 +4158,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3807,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3843,7 +4209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3872,7 +4241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3906,7 +4278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3924,12 +4299,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3978,7 +4359,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3988,7 +4372,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4038,7 +4425,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4047,7 +4437,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4094,7 +4487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4127,11 +4523,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4178,7 +4580,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4215,7 +4620,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4235,7 +4643,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4273,7 +4684,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4289,7 +4703,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4320,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4339,7 +4759,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4379,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4408,7 +4834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4445,7 +4874,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4464,7 +4896,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4483,7 +4918,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4513,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4576,7 +5017,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4627,7 +5071,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4643,7 +5090,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4677,7 +5127,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4699,7 +5152,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5167,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4734,7 +5193,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/deploymentspec-apps-v1beta2.json b/v1.12.2-standalone/deploymentspec-apps-v1beta2.json index c16e9c6f08..9e80d7cddb 100644 --- a/v1.12.2-standalone/deploymentspec-apps-v1beta2.json +++ b/v1.12.2-standalone/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -134,7 +158,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -159,7 +186,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -193,7 +223,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -235,7 +268,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -297,7 +333,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -379,7 +418,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -422,11 +464,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -476,7 +524,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -744,7 +795,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -837,7 +891,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -935,7 +992,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1028,7 +1088,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1064,7 +1127,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1146,7 +1212,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1191,7 +1260,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1220,7 +1292,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1252,7 +1327,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1275,7 +1353,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1373,7 +1454,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1408,7 +1492,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1490,7 +1577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1525,7 +1615,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1629,17 +1728,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1664,7 +1772,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1672,7 +1783,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1707,7 +1821,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1752,7 +1869,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1808,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,17 +1946,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1858,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +2001,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1876,7 +2014,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1886,14 +2027,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1903,7 +2050,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1915,7 +2065,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1950,7 +2103,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1961,20 +2117,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2014,11 +2182,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2036,7 +2210,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2094,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2219,15 +2399,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2340,7 +2529,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2385,7 +2577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2414,7 +2609,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2446,7 +2644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2469,7 +2670,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2567,7 +2771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2602,7 +2809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2684,7 +2894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2719,7 +2932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2752,7 +2968,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2808,7 +3027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2823,17 +3045,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2858,7 +3089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2866,7 +3100,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2901,7 +3138,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2946,7 +3186,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3002,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,17 +3263,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3052,7 +3307,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3060,7 +3318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3070,7 +3331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3080,14 +3344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3097,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3382,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3144,7 +3420,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3155,20 +3434,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3208,11 +3499,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3230,7 +3527,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3288,7 +3588,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3323,7 +3626,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3333,7 +3639,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3388,21 +3697,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3445,7 +3766,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3491,7 +3815,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3502,7 +3829,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3537,7 +3867,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3577,12 +3910,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3628,7 +3967,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3641,7 +3983,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3678,7 +4023,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3723,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3748,7 +4099,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3770,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3789,7 +4146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3798,7 +4158,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3834,7 +4197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3897,7 +4266,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3915,12 +4287,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3969,7 +4347,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3979,7 +4360,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4029,7 +4413,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4038,7 +4425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4085,7 +4475,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4118,11 +4511,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4169,7 +4568,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4206,7 +4608,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4226,7 +4631,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4264,7 +4672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4280,7 +4691,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4311,7 +4725,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4330,7 +4747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4370,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4399,7 +4822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4436,7 +4862,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4455,7 +4884,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4474,7 +4906,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4504,7 +4939,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4567,7 +5005,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4618,7 +5059,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4634,7 +5078,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4668,7 +5115,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4690,7 +5140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4702,7 +5155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4725,7 +5181,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/deploymentspec-extensions-v1beta1.json b/v1.12.2-standalone/deploymentspec-extensions-v1beta1.json index 02716a163c..6f3c9eb1b0 100644 --- a/v1.12.2-standalone/deploymentspec-extensions-v1beta1.json +++ b/v1.12.2-standalone/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -82,7 +100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -120,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -143,7 +170,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -168,7 +198,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -202,7 +235,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -244,7 +280,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -306,7 +345,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -388,7 +430,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -431,11 +476,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -753,7 +807,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -846,7 +903,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -944,7 +1004,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1037,7 +1100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1073,7 +1139,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1155,7 +1224,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1229,7 +1304,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1261,7 +1339,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1284,7 +1365,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1382,7 +1466,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1589,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,7 +1627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1567,7 +1663,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1623,7 +1722,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1638,17 +1740,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1673,7 +1784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1681,7 +1795,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1716,7 +1833,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1761,7 +1881,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1817,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1832,17 +1958,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1867,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +2013,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1885,7 +2026,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2039,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1924,7 +2077,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1959,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1970,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2023,11 +2194,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2045,7 +2222,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2103,7 +2283,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2228,15 +2411,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2349,7 +2541,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2394,7 +2589,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2423,7 +2621,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2455,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2478,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2576,7 +2783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2693,7 +2906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2728,7 +2944,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2761,7 +2980,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2817,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2832,17 +3057,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2867,7 +3101,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2875,7 +3112,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2910,7 +3150,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2955,7 +3198,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3011,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,17 +3275,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3061,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3330,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3079,7 +3343,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3089,14 +3356,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3106,7 +3379,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3118,7 +3394,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3153,7 +3432,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3164,20 +3446,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3217,11 +3511,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3239,7 +3539,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3297,7 +3600,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3332,7 +3638,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3342,7 +3651,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3397,21 +3709,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3454,7 +3778,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3500,7 +3827,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3511,7 +3841,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3546,7 +3879,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3586,12 +3922,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3637,7 +3979,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3650,7 +3995,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3687,7 +4035,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3732,7 +4083,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3757,7 +4111,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3779,7 +4136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3798,7 +4158,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3807,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3843,7 +4209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3872,7 +4241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3906,7 +4278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3924,12 +4299,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3978,7 +4359,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3988,7 +4372,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4038,7 +4425,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4047,7 +4437,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4094,7 +4487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4127,11 +4523,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4178,7 +4580,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4215,7 +4620,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4235,7 +4643,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4273,7 +4684,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4289,7 +4703,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4320,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4339,7 +4759,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4379,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4408,7 +4834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4445,7 +4874,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4464,7 +4896,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4483,7 +4918,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4513,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4576,7 +5017,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4627,7 +5071,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4643,7 +5090,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4677,7 +5127,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4699,7 +5152,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5167,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4734,7 +5193,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/deploymentspec.json b/v1.12.2-standalone/deploymentspec.json index 89901efcfd..0750b468b9 100644 --- a/v1.12.2-standalone/deploymentspec.json +++ b/v1.12.2-standalone/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -82,7 +100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -120,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -143,7 +170,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -168,7 +198,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -202,7 +235,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -241,7 +277,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -303,7 +342,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -385,7 +427,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -428,11 +473,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -482,7 +533,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -750,7 +804,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -843,7 +900,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -941,7 +1001,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1034,7 +1097,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1070,7 +1136,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1152,7 +1221,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1197,7 +1269,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1226,7 +1301,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1258,7 +1336,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1281,7 +1362,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1379,7 +1463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1414,7 +1501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1496,7 +1586,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1531,7 +1624,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1564,7 +1660,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1620,7 +1719,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1635,17 +1737,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1670,7 +1781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1678,7 +1792,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1713,7 +1830,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1758,7 +1878,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,17 +1955,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1864,7 +1999,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1872,7 +2010,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1882,7 +2023,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1892,14 +2036,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,7 +2059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1921,7 +2074,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1956,7 +2112,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1967,20 +2126,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2020,11 +2191,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2042,7 +2219,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2100,7 +2280,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2225,15 +2408,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2346,7 +2538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2391,7 +2586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2420,7 +2618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2452,7 +2653,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2475,7 +2679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2573,7 +2780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2608,7 +2818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2690,7 +2903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2725,7 +2941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2758,7 +2977,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2814,7 +3036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2829,17 +3054,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2864,7 +3098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2872,7 +3109,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2907,7 +3147,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2952,7 +3195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3008,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,17 +3272,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3058,7 +3316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3066,7 +3327,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3076,7 +3340,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3086,14 +3353,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3103,7 +3376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3115,7 +3391,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3150,7 +3429,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3161,20 +3443,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3214,11 +3508,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3236,7 +3536,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3294,7 +3597,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3329,7 +3635,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3339,7 +3648,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3394,21 +3706,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3451,7 +3775,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3497,7 +3824,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3508,7 +3838,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3543,7 +3876,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3583,12 +3919,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3634,7 +3976,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3647,7 +3992,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3684,7 +4032,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3729,7 +4080,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3754,7 +4108,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3795,7 +4155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3804,7 +4167,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4206,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3869,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3903,7 +4275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3921,12 +4296,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3975,7 +4356,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3985,7 +4369,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4035,7 +4422,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4044,7 +4434,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4091,7 +4484,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,11 +4520,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4175,7 +4577,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4212,7 +4617,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4232,7 +4640,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4270,7 +4681,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4286,7 +4700,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4317,7 +4734,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4336,7 +4756,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4376,7 +4799,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4405,7 +4831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4442,7 +4871,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4461,7 +4893,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,7 +4915,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4510,7 +4948,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4573,7 +5014,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4624,7 +5068,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4640,7 +5087,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4674,7 +5124,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4696,7 +5149,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4708,7 +5164,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4731,7 +5190,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/deploymentstatus-apps-v1.json b/v1.12.2-standalone/deploymentstatus-apps-v1.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.2-standalone/deploymentstatus-apps-v1.json +++ b/v1.12.2-standalone/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/deploymentstatus-apps-v1beta1.json b/v1.12.2-standalone/deploymentstatus-apps-v1beta1.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.2-standalone/deploymentstatus-apps-v1beta1.json +++ b/v1.12.2-standalone/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/deploymentstatus-apps-v1beta2.json b/v1.12.2-standalone/deploymentstatus-apps-v1beta2.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.2-standalone/deploymentstatus-apps-v1beta2.json +++ b/v1.12.2-standalone/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/deploymentstatus-extensions-v1beta1.json b/v1.12.2-standalone/deploymentstatus-extensions-v1beta1.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.2-standalone/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.2-standalone/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/deploymentstatus.json b/v1.12.2-standalone/deploymentstatus.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.2-standalone/deploymentstatus.json +++ b/v1.12.2-standalone/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/deploymentstrategy-apps-v1.json b/v1.12.2-standalone/deploymentstrategy-apps-v1.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.2-standalone/deploymentstrategy-apps-v1.json +++ b/v1.12.2-standalone/deploymentstrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/deploymentstrategy-apps-v1beta1.json b/v1.12.2-standalone/deploymentstrategy-apps-v1beta1.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.2-standalone/deploymentstrategy-apps-v1beta1.json +++ b/v1.12.2-standalone/deploymentstrategy-apps-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/deploymentstrategy-apps-v1beta2.json b/v1.12.2-standalone/deploymentstrategy-apps-v1beta2.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.2-standalone/deploymentstrategy-apps-v1beta2.json +++ b/v1.12.2-standalone/deploymentstrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/deploymentstrategy-extensions-v1beta1.json b/v1.12.2-standalone/deploymentstrategy-extensions-v1beta1.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.2-standalone/deploymentstrategy-extensions-v1beta1.json +++ b/v1.12.2-standalone/deploymentstrategy-extensions-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/deploymentstrategy.json b/v1.12.2-standalone/deploymentstrategy.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.2-standalone/deploymentstrategy.json +++ b/v1.12.2-standalone/deploymentstrategy.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/downwardapiprojection-v1.json b/v1.12.2-standalone/downwardapiprojection-v1.json index 6bfb3bf228..ac68804d44 100644 --- a/v1.12.2-standalone/downwardapiprojection-v1.json +++ b/v1.12.2-standalone/downwardapiprojection-v1.json @@ -34,7 +34,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -63,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/downwardapiprojection.json b/v1.12.2-standalone/downwardapiprojection.json index 6bfb3bf228..ac68804d44 100644 --- a/v1.12.2-standalone/downwardapiprojection.json +++ b/v1.12.2-standalone/downwardapiprojection.json @@ -34,7 +34,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -63,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/downwardapivolumefile-v1.json b/v1.12.2-standalone/downwardapivolumefile-v1.json index bf65d50705..7e52bd0862 100644 --- a/v1.12.2-standalone/downwardapivolumefile-v1.json +++ b/v1.12.2-standalone/downwardapivolumefile-v1.json @@ -25,7 +25,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -57,7 +60,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/downwardapivolumefile.json b/v1.12.2-standalone/downwardapivolumefile.json index bf65d50705..7e52bd0862 100644 --- a/v1.12.2-standalone/downwardapivolumefile.json +++ b/v1.12.2-standalone/downwardapivolumefile.json @@ -25,7 +25,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -57,7 +60,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/downwardapivolumesource-v1.json b/v1.12.2-standalone/downwardapivolumesource-v1.json index 112f6cf719..fa49f50e59 100644 --- a/v1.12.2-standalone/downwardapivolumesource-v1.json +++ b/v1.12.2-standalone/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -39,7 +42,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -68,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/downwardapivolumesource.json b/v1.12.2-standalone/downwardapivolumesource.json index 112f6cf719..fa49f50e59 100644 --- a/v1.12.2-standalone/downwardapivolumesource.json +++ b/v1.12.2-standalone/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -39,7 +42,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -68,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/emptydirvolumesource-v1.json b/v1.12.2-standalone/emptydirvolumesource-v1.json index 74672edcd9..5859ae2ed8 100644 --- a/v1.12.2-standalone/emptydirvolumesource-v1.json +++ b/v1.12.2-standalone/emptydirvolumesource-v1.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/emptydirvolumesource.json b/v1.12.2-standalone/emptydirvolumesource.json index 74672edcd9..5859ae2ed8 100644 --- a/v1.12.2-standalone/emptydirvolumesource.json +++ b/v1.12.2-standalone/emptydirvolumesource.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/endpointport-v1.json b/v1.12.2-standalone/endpointport-v1.json index f972b838b7..07ab862b85 100644 --- a/v1.12.2-standalone/endpointport-v1.json +++ b/v1.12.2-standalone/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-standalone/endpointport.json b/v1.12.2-standalone/endpointport.json index f972b838b7..07ab862b85 100644 --- a/v1.12.2-standalone/endpointport.json +++ b/v1.12.2-standalone/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2-standalone/endpoints-v1.json b/v1.12.2-standalone/endpoints-v1.json index 7d38970955..29ccb95bcd 100644 --- a/v1.12.2-standalone/endpoints-v1.json +++ b/v1.12.2-standalone/endpoints-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/endpoints.json b/v1.12.2-standalone/endpoints.json index d5f6a1f286..8d42d33237 100644 --- a/v1.12.2-standalone/endpoints.json +++ b/v1.12.2-standalone/endpoints.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/endpointslist-v1.json b/v1.12.2-standalone/endpointslist-v1.json index 9fed6b53b8..a5a3d275cb 100644 --- a/v1.12.2-standalone/endpointslist-v1.json +++ b/v1.12.2-standalone/endpointslist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/endpointslist.json b/v1.12.2-standalone/endpointslist.json index 4e3a1b8d9c..c4c3c26f73 100644 --- a/v1.12.2-standalone/endpointslist.json +++ b/v1.12.2-standalone/endpointslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/envfromsource-v1.json b/v1.12.2-standalone/envfromsource-v1.json index ac7c5a5e83..19ef1c8c57 100644 --- a/v1.12.2-standalone/envfromsource-v1.json +++ b/v1.12.2-standalone/envfromsource-v1.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -36,7 +39,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.2-standalone/envfromsource.json b/v1.12.2-standalone/envfromsource.json index ac7c5a5e83..19ef1c8c57 100644 --- a/v1.12.2-standalone/envfromsource.json +++ b/v1.12.2-standalone/envfromsource.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -36,7 +39,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.2-standalone/envvar-v1.json b/v1.12.2-standalone/envvar-v1.json index 683ac66b69..d5cb37552c 100644 --- a/v1.12.2-standalone/envvar-v1.json +++ b/v1.12.2-standalone/envvar-v1.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -85,7 +88,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +120,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.2-standalone/envvar.json b/v1.12.2-standalone/envvar.json index 683ac66b69..d5cb37552c 100644 --- a/v1.12.2-standalone/envvar.json +++ b/v1.12.2-standalone/envvar.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -85,7 +88,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +120,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.2-standalone/envvarsource-v1.json b/v1.12.2-standalone/envvarsource-v1.json index c5d92ee344..4e9f4018ba 100644 --- a/v1.12.2-standalone/envvarsource-v1.json +++ b/v1.12.2-standalone/envvarsource-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -65,7 +68,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -94,7 +100,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.2-standalone/envvarsource.json b/v1.12.2-standalone/envvarsource.json index c5d92ee344..4e9f4018ba 100644 --- a/v1.12.2-standalone/envvarsource.json +++ b/v1.12.2-standalone/envvarsource.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -65,7 +68,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -94,7 +100,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.2-standalone/event-events-v1beta1.json b/v1.12.2-standalone/event-events-v1beta1.json index 4b91ccd30a..a940f3d814 100644 --- a/v1.12.2-standalone/event-events-v1beta1.json +++ b/v1.12.2-standalone/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -84,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -109,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -143,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -185,7 +197,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -247,7 +262,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +347,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +393,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/event-v1.json b/v1.12.2-standalone/event-v1.json index 64ab4077cb..453d36fd02 100644 --- a/v1.12.2-standalone/event-v1.json +++ b/v1.12.2-standalone/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -127,7 +130,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -152,7 +158,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -186,7 +195,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -228,7 +240,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -290,7 +305,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -372,7 +390,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -415,11 +436,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -541,7 +568,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone/event.json b/v1.12.2-standalone/event.json index 15e51cb712..24404590bb 100644 --- a/v1.12.2-standalone/event.json +++ b/v1.12.2-standalone/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -81,7 +84,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -106,7 +112,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -140,7 +149,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -179,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -241,7 +256,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -323,7 +341,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -366,11 +387,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/eventlist-events-v1beta1.json b/v1.12.2-standalone/eventlist-events-v1beta1.json index e45844b69d..9c551f0093 100644 --- a/v1.12.2-standalone/eventlist-events-v1beta1.json +++ b/v1.12.2-standalone/eventlist-events-v1beta1.json @@ -45,7 +45,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -103,7 +106,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +134,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -162,7 +171,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -204,7 +216,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -266,7 +281,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -348,7 +366,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -391,11 +412,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/eventlist-v1.json b/v1.12.2-standalone/eventlist-v1.json index 36b65593ea..d09358f5a7 100644 --- a/v1.12.2-standalone/eventlist-v1.json +++ b/v1.12.2-standalone/eventlist-v1.json @@ -46,7 +46,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -149,7 +152,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -174,7 +180,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -208,7 +217,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -250,7 +262,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -312,7 +327,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -394,7 +412,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -437,11 +458,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -563,7 +590,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone/eventlist.json b/v1.12.2-standalone/eventlist.json index d5054ece37..e5e5cc8ecd 100644 --- a/v1.12.2-standalone/eventlist.json +++ b/v1.12.2-standalone/eventlist.json @@ -39,7 +39,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -97,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -195,7 +207,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -257,7 +272,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -339,7 +357,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -382,11 +403,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/eventseries-events-v1beta1.json b/v1.12.2-standalone/eventseries-events-v1beta1.json index 0d50522551..079d7e958d 100644 --- a/v1.12.2-standalone/eventseries-events-v1beta1.json +++ b/v1.12.2-standalone/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone/eventseries-v1.json b/v1.12.2-standalone/eventseries-v1.json index ecb3f64ca2..5a854e040f 100644 --- a/v1.12.2-standalone/eventseries-v1.json +++ b/v1.12.2-standalone/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone/eventseries.json b/v1.12.2-standalone/eventseries.json index 0d50522551..079d7e958d 100644 --- a/v1.12.2-standalone/eventseries.json +++ b/v1.12.2-standalone/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2-standalone/eviction-policy-v1beta1.json b/v1.12.2-standalone/eviction-policy-v1beta1.json index c07a28742e..8d5e1cb7eb 100644 --- a/v1.12.2-standalone/eviction-policy-v1beta1.json +++ b/v1.12.2-standalone/eviction-policy-v1beta1.json @@ -74,7 +74,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -89,7 +92,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -309,7 +315,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +343,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -368,7 +380,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -410,7 +425,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -472,7 +490,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -554,7 +575,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -597,11 +621,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/eviction.json b/v1.12.2-standalone/eviction.json index 2a3d265806..8b7e77c64d 100644 --- a/v1.12.2-standalone/eviction.json +++ b/v1.12.2-standalone/eviction.json @@ -33,7 +33,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -48,7 +51,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -268,7 +274,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -293,7 +302,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -327,7 +339,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -366,7 +381,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -428,7 +446,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -510,7 +531,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -553,11 +577,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta1.json index 6508496e30..1f2e1495c0 100644 --- a/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta1.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -74,7 +77,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -87,7 +93,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta2.json index 2103a151c3..9ce82fcdde 100644 --- a/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/externalmetricsource-autoscaling-v2beta2.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/externalmetricsource.json b/v1.12.2-standalone/externalmetricsource.json index 2103a151c3..9ce82fcdde 100644 --- a/v1.12.2-standalone/externalmetricsource.json +++ b/v1.12.2-standalone/externalmetricsource.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta1.json index 10ad556034..6406cc7c31 100644 --- a/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -27,7 +30,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -82,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta2.json index f3086ae3c6..7852c3b43e 100644 --- a/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/externalmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/externalmetricstatus.json b/v1.12.2-standalone/externalmetricstatus.json index f3086ae3c6..7852c3b43e 100644 --- a/v1.12.2-standalone/externalmetricstatus.json +++ b/v1.12.2-standalone/externalmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/fcvolumesource-v1.json b/v1.12.2-standalone/fcvolumesource-v1.json index f956dfb4a6..018067f431 100644 --- a/v1.12.2-standalone/fcvolumesource-v1.json +++ b/v1.12.2-standalone/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2-standalone/fcvolumesource.json b/v1.12.2-standalone/fcvolumesource.json index f956dfb4a6..018067f431 100644 --- a/v1.12.2-standalone/fcvolumesource.json +++ b/v1.12.2-standalone/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2-standalone/flexpersistentvolumesource-v1.json b/v1.12.2-standalone/flexpersistentvolumesource-v1.json index 85eea104d0..2b53cf46c9 100644 --- a/v1.12.2-standalone/flexpersistentvolumesource-v1.json +++ b/v1.12.2-standalone/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/flexpersistentvolumesource.json b/v1.12.2-standalone/flexpersistentvolumesource.json index 85eea104d0..2b53cf46c9 100644 --- a/v1.12.2-standalone/flexpersistentvolumesource.json +++ b/v1.12.2-standalone/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/flexvolumesource-v1.json b/v1.12.2-standalone/flexvolumesource-v1.json index 5cc7619110..b0320cc9e3 100644 --- a/v1.12.2-standalone/flexvolumesource-v1.json +++ b/v1.12.2-standalone/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/flexvolumesource.json b/v1.12.2-standalone/flexvolumesource.json index 5cc7619110..b0320cc9e3 100644 --- a/v1.12.2-standalone/flexvolumesource.json +++ b/v1.12.2-standalone/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/gcepersistentdiskvolumesource-v1.json b/v1.12.2-standalone/gcepersistentdiskvolumesource-v1.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.2-standalone/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.2-standalone/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/gcepersistentdiskvolumesource.json b/v1.12.2-standalone/gcepersistentdiskvolumesource.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.2-standalone/gcepersistentdiskvolumesource.json +++ b/v1.12.2-standalone/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/glusterfsvolumesource-v1.json b/v1.12.2-standalone/glusterfsvolumesource-v1.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.2-standalone/glusterfsvolumesource-v1.json +++ b/v1.12.2-standalone/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/glusterfsvolumesource.json b/v1.12.2-standalone/glusterfsvolumesource.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.2-standalone/glusterfsvolumesource.json +++ b/v1.12.2-standalone/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/handler-v1.json b/v1.12.2-standalone/handler-v1.json index 56682526db..7cb7eb62b2 100644 --- a/v1.12.2-standalone/handler-v1.json +++ b/v1.12.2-standalone/handler-v1.json @@ -72,7 +72,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -107,7 +110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/handler.json b/v1.12.2-standalone/handler.json index 56682526db..7cb7eb62b2 100644 --- a/v1.12.2-standalone/handler.json +++ b/v1.12.2-standalone/handler.json @@ -72,7 +72,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -107,7 +110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v1.json b/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v1.json index cd4047b97c..6582a85667 100644 --- a/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v1.json +++ b/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -403,7 +430,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -417,7 +447,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -440,7 +473,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json b/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json index 0eb7a4940c..f0907de77e 100644 --- a/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -438,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +484,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -470,7 +500,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -493,7 +526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -545,7 +581,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -588,7 +627,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -649,7 +691,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -668,7 +713,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -686,7 +734,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -698,7 +749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -713,7 +767,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -821,7 +878,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -834,7 +894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -886,7 +949,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -915,7 +981,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -928,7 +997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -980,7 +1052,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1032,7 +1107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1084,7 +1162,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1105,7 +1186,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1117,7 +1201,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1154,7 +1241,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json b/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json index c0ae6609b5..61ef203bc0 100644 --- a/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -445,7 +469,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +492,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -477,7 +507,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -494,7 +527,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -588,7 +624,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -608,7 +647,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -620,7 +662,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -637,7 +682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -706,7 +754,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,7 +777,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -738,7 +792,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -755,7 +812,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -782,7 +842,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -794,7 +857,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -811,7 +877,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -828,7 +897,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -932,7 +1004,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -944,7 +1019,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -957,7 +1035,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1017,7 +1098,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1044,7 +1128,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1056,7 +1143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1069,7 +1159,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1153,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1179,7 +1275,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1191,7 +1290,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1204,7 +1306,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1264,7 +1369,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1290,7 +1398,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1302,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1315,7 +1429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1354,7 +1471,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscaler.json b/v1.12.2-standalone/horizontalpodautoscaler.json index 8c92dfb726..2cc0b82aae 100644 --- a/v1.12.2-standalone/horizontalpodautoscaler.json +++ b/v1.12.2-standalone/horizontalpodautoscaler.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -439,7 +463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -459,7 +486,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -471,7 +501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -488,7 +521,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -582,7 +618,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -602,7 +641,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -614,7 +656,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -631,7 +676,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -700,7 +748,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -720,7 +771,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -732,7 +786,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -749,7 +806,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -776,7 +836,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -788,7 +851,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -805,7 +871,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -822,7 +891,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -926,7 +998,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -938,7 +1013,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -951,7 +1029,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1011,7 +1092,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1038,7 +1122,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1050,7 +1137,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1063,7 +1153,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1147,7 +1240,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1269,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1185,7 +1284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1198,7 +1300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1258,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1284,7 +1392,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1296,7 +1407,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1309,7 +1423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1348,7 +1465,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v1.json b/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v1.json index 7bee5f49a6..aa0a3fa2f7 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v1.json +++ b/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -425,7 +452,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -439,7 +469,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -462,7 +495,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json b/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json index 3f2d6e5425..bf7827e0cf 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -460,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -479,7 +506,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -492,7 +522,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -515,7 +548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -567,7 +603,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -610,7 +649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -671,7 +713,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -690,7 +735,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -708,7 +756,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -720,7 +771,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -735,7 +789,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -843,7 +900,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -856,7 +916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -908,7 +971,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -937,7 +1003,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -950,7 +1019,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1002,7 +1074,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1054,7 +1129,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1106,7 +1184,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1127,7 +1208,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1139,7 +1223,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1176,7 +1263,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json b/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json index 8a211d9383..0865c4952c 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -467,7 +491,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -487,7 +514,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -499,7 +529,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -516,7 +549,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -610,7 +646,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -630,7 +669,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -642,7 +684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -659,7 +704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -728,7 +776,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,7 +799,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -760,7 +814,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -777,7 +834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -804,7 +864,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -816,7 +879,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -833,7 +899,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -850,7 +919,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -954,7 +1026,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -966,7 +1041,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -979,7 +1057,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1039,7 +1120,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1066,7 +1150,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1078,7 +1165,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1091,7 +1181,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1175,7 +1268,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1201,7 +1297,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1213,7 +1312,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1226,7 +1328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1286,7 +1391,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1312,7 +1420,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1324,7 +1435,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1337,7 +1451,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1376,7 +1493,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscalerlist.json b/v1.12.2-standalone/horizontalpodautoscalerlist.json index 81983167e5..ed5d66cbb5 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerlist.json +++ b/v1.12.2-standalone/horizontalpodautoscalerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -478,7 +505,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -490,7 +520,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -507,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -601,7 +637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -621,7 +660,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -633,7 +675,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -650,7 +695,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -719,7 +767,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,7 +790,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -751,7 +805,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -768,7 +825,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -795,7 +855,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -807,7 +870,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -824,7 +890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -841,7 +910,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -945,7 +1017,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -957,7 +1032,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -970,7 +1048,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1030,7 +1111,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1057,7 +1141,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1069,7 +1156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1082,7 +1172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1166,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1192,7 +1288,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1204,7 +1303,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1217,7 +1319,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1277,7 +1382,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1303,7 +1411,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1315,7 +1426,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1328,7 +1442,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1367,7 +1484,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v1.json index e7042d48dc..e1d149dd00 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -41,7 +47,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json index 3dea2c1bc1..13e4ab9889 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -76,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +101,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -131,7 +143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -183,7 +198,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -226,7 +244,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -287,7 +308,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -306,7 +330,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -324,7 +351,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -336,7 +366,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -351,7 +384,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 38a6a426cd..8d88ca123c 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -83,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +109,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -115,7 +124,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -132,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -226,7 +241,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -246,7 +264,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -258,7 +279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -275,7 +299,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -344,7 +371,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,7 +394,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -376,7 +409,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -393,7 +429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -420,7 +459,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -432,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -449,7 +494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -466,7 +514,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-standalone/horizontalpodautoscalerspec.json b/v1.12.2-standalone/horizontalpodautoscalerspec.json index 38a6a426cd..8d88ca123c 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerspec.json +++ b/v1.12.2-standalone/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -83,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +109,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -115,7 +124,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -132,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -226,7 +241,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -246,7 +264,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -258,7 +279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -275,7 +299,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -344,7 +371,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,7 +394,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -376,7 +409,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -393,7 +429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -420,7 +459,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -432,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -449,7 +494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -466,7 +514,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json index ff83dd1dce..35c9a8fb22 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -30,7 +39,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index 936b075e18..f8d6a84cf1 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -80,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -93,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -145,7 +151,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -174,7 +183,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -187,7 +199,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -239,7 +254,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,7 +309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -343,7 +364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,7 +388,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -376,7 +403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -395,12 +425,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -413,7 +449,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index 5d5bbc25af..3374f9ef9d 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -76,7 +76,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -88,7 +91,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -101,7 +107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -161,7 +170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -188,7 +200,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -200,7 +215,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -213,7 +231,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -297,7 +318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,7 +347,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -335,7 +362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -348,7 +378,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -408,7 +441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +470,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -446,7 +485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -459,7 +501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -480,12 +525,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -498,7 +549,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/horizontalpodautoscalerstatus.json b/v1.12.2-standalone/horizontalpodautoscalerstatus.json index 5d5bbc25af..3374f9ef9d 100644 --- a/v1.12.2-standalone/horizontalpodautoscalerstatus.json +++ b/v1.12.2-standalone/horizontalpodautoscalerstatus.json @@ -76,7 +76,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -88,7 +91,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -101,7 +107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -161,7 +170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -188,7 +200,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -200,7 +215,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -213,7 +231,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -297,7 +318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,7 +347,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -335,7 +362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -348,7 +378,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -408,7 +441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +470,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -446,7 +485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -459,7 +501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -480,12 +525,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -498,7 +549,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/hostportrange-extensions-v1beta1.json b/v1.12.2-standalone/hostportrange-extensions-v1beta1.json index 626d06d2ad..25785003e9 100644 --- a/v1.12.2-standalone/hostportrange-extensions-v1beta1.json +++ b/v1.12.2-standalone/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/hostportrange-policy-v1beta1.json b/v1.12.2-standalone/hostportrange-policy-v1beta1.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.2-standalone/hostportrange-policy-v1beta1.json +++ b/v1.12.2-standalone/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/hostportrange.json b/v1.12.2-standalone/hostportrange.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.2-standalone/hostportrange.json +++ b/v1.12.2-standalone/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/httpgetaction-v1.json b/v1.12.2-standalone/httpgetaction-v1.json index 6a5b2fed7c..748d99bdcf 100644 --- a/v1.12.2-standalone/httpgetaction-v1.json +++ b/v1.12.2-standalone/httpgetaction-v1.json @@ -51,7 +51,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/httpgetaction.json b/v1.12.2-standalone/httpgetaction.json index 6a5b2fed7c..748d99bdcf 100644 --- a/v1.12.2-standalone/httpgetaction.json +++ b/v1.12.2-standalone/httpgetaction.json @@ -51,7 +51,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/httpingresspath-extensions-v1beta1.json b/v1.12.2-standalone/httpingresspath-extensions-v1beta1.json index 44adc094b3..ed4572ef9a 100644 --- a/v1.12.2-standalone/httpingresspath-extensions-v1beta1.json +++ b/v1.12.2-standalone/httpingresspath-extensions-v1beta1.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/httpingresspath.json b/v1.12.2-standalone/httpingresspath.json index 44adc094b3..ed4572ef9a 100644 --- a/v1.12.2-standalone/httpingresspath.json +++ b/v1.12.2-standalone/httpingresspath.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/httpingressrulevalue-extensions-v1beta1.json b/v1.12.2-standalone/httpingressrulevalue-extensions-v1beta1.json index 0cf92b92a7..04de5f760a 100644 --- a/v1.12.2-standalone/httpingressrulevalue-extensions-v1beta1.json +++ b/v1.12.2-standalone/httpingressrulevalue-extensions-v1beta1.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/httpingressrulevalue.json b/v1.12.2-standalone/httpingressrulevalue.json index 0cf92b92a7..04de5f760a 100644 --- a/v1.12.2-standalone/httpingressrulevalue.json +++ b/v1.12.2-standalone/httpingressrulevalue.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/idrange-extensions-v1beta1.json b/v1.12.2-standalone/idrange-extensions-v1beta1.json index a3a41068ce..e0a7a3debf 100644 --- a/v1.12.2-standalone/idrange-extensions-v1beta1.json +++ b/v1.12.2-standalone/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/idrange-policy-v1beta1.json b/v1.12.2-standalone/idrange-policy-v1beta1.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.2-standalone/idrange-policy-v1beta1.json +++ b/v1.12.2-standalone/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/idrange.json b/v1.12.2-standalone/idrange.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.2-standalone/idrange.json +++ b/v1.12.2-standalone/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/ingress-extensions-v1beta1.json b/v1.12.2-standalone/ingress-extensions-v1beta1.json index 687ced8f1c..ceb8c39acb 100644 --- a/v1.12.2-standalone/ingress-extensions-v1beta1.json +++ b/v1.12.2-standalone/ingress-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -383,7 +407,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -440,7 +467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingress.json b/v1.12.2-standalone/ingress.json index a487904713..54e46fb773 100644 --- a/v1.12.2-standalone/ingress.json +++ b/v1.12.2-standalone/ingress.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,7 +401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -434,7 +461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingressbackend-extensions-v1beta1.json b/v1.12.2-standalone/ingressbackend-extensions-v1beta1.json index 752067c1fd..a641e2cb83 100644 --- a/v1.12.2-standalone/ingressbackend-extensions-v1beta1.json +++ b/v1.12.2-standalone/ingressbackend-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingressbackend.json b/v1.12.2-standalone/ingressbackend.json index 752067c1fd..a641e2cb83 100644 --- a/v1.12.2-standalone/ingressbackend.json +++ b/v1.12.2-standalone/ingressbackend.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingresslist-extensions-v1beta1.json b/v1.12.2-standalone/ingresslist-extensions-v1beta1.json index f89fdbbb00..419457ce17 100644 --- a/v1.12.2-standalone/ingresslist-extensions-v1beta1.json +++ b/v1.12.2-standalone/ingresslist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -405,7 +429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -462,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingresslist.json b/v1.12.2-standalone/ingresslist.json index bd35d1b312..8688df222d 100644 --- a/v1.12.2-standalone/ingresslist.json +++ b/v1.12.2-standalone/ingresslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -453,7 +480,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingressrule-extensions-v1beta1.json b/v1.12.2-standalone/ingressrule-extensions-v1beta1.json index 09f593aa3a..92cc01795e 100644 --- a/v1.12.2-standalone/ingressrule-extensions-v1beta1.json +++ b/v1.12.2-standalone/ingressrule-extensions-v1beta1.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingressrule.json b/v1.12.2-standalone/ingressrule.json index 09f593aa3a..92cc01795e 100644 --- a/v1.12.2-standalone/ingressrule.json +++ b/v1.12.2-standalone/ingressrule.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingressspec-extensions-v1beta1.json b/v1.12.2-standalone/ingressspec-extensions-v1beta1.json index 230b2beb49..bc7dfa0706 100644 --- a/v1.12.2-standalone/ingressspec-extensions-v1beta1.json +++ b/v1.12.2-standalone/ingressspec-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -78,7 +81,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/ingressspec.json b/v1.12.2-standalone/ingressspec.json index 230b2beb49..bc7dfa0706 100644 --- a/v1.12.2-standalone/ingressspec.json +++ b/v1.12.2-standalone/ingressspec.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -78,7 +81,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/initializerconfiguration-admissionregistration-v1alpha1.json b/v1.12.2-standalone/initializerconfiguration-admissionregistration-v1alpha1.json index 6d6b6604f0..2c1d92bfd8 100644 --- a/v1.12.2-standalone/initializerconfiguration-admissionregistration-v1alpha1.json +++ b/v1.12.2-standalone/initializerconfiguration-admissionregistration-v1alpha1.json @@ -98,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -199,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -261,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -343,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -386,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/initializerconfiguration.json b/v1.12.2-standalone/initializerconfiguration.json index 8a0074181d..15b005ed08 100644 --- a/v1.12.2-standalone/initializerconfiguration.json +++ b/v1.12.2-standalone/initializerconfiguration.json @@ -95,7 +95,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +160,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +202,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +267,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -337,7 +352,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -380,11 +398,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json b/v1.12.2-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json index 0e3aad97ce..a4de063b61 100644 --- a/v1.12.2-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json +++ b/v1.12.2-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json @@ -120,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -221,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -283,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -365,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -408,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/initializerconfigurationlist.json b/v1.12.2-standalone/initializerconfigurationlist.json index 05a0f46c07..3f2aecfb9f 100644 --- a/v1.12.2-standalone/initializerconfigurationlist.json +++ b/v1.12.2-standalone/initializerconfigurationlist.json @@ -114,7 +114,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -139,7 +142,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -173,7 +179,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -212,7 +221,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -274,7 +286,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -356,7 +371,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -399,11 +417,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/initializers-meta-v1.json b/v1.12.2-standalone/initializers-meta-v1.json index ce8e0b1f98..e383e419a3 100644 --- a/v1.12.2-standalone/initializers-meta-v1.json +++ b/v1.12.2-standalone/initializers-meta-v1.json @@ -40,7 +40,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -102,7 +105,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone/initializers.json b/v1.12.2-standalone/initializers.json index cff25893e5..95fbf600b4 100644 --- a/v1.12.2-standalone/initializers.json +++ b/v1.12.2-standalone/initializers.json @@ -37,7 +37,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -99,7 +102,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone/iscsipersistentvolumesource-v1.json b/v1.12.2-standalone/iscsipersistentvolumesource-v1.json index eccc96e1be..029421a90b 100644 --- a/v1.12.2-standalone/iscsipersistentvolumesource-v1.json +++ b/v1.12.2-standalone/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/iscsipersistentvolumesource.json b/v1.12.2-standalone/iscsipersistentvolumesource.json index eccc96e1be..029421a90b 100644 --- a/v1.12.2-standalone/iscsipersistentvolumesource.json +++ b/v1.12.2-standalone/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/iscsivolumesource-v1.json b/v1.12.2-standalone/iscsivolumesource-v1.json index 9664aebf21..8bd66aadc4 100644 --- a/v1.12.2-standalone/iscsivolumesource-v1.json +++ b/v1.12.2-standalone/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/iscsivolumesource.json b/v1.12.2-standalone/iscsivolumesource.json index 9664aebf21..8bd66aadc4 100644 --- a/v1.12.2-standalone/iscsivolumesource.json +++ b/v1.12.2-standalone/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/job-batch-v1.json b/v1.12.2-standalone/job-batch-v1.json index 5229621fdd..a7c4c90c89 100644 --- a/v1.12.2-standalone/job-batch-v1.json +++ b/v1.12.2-standalone/job-batch-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,26 +392,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -434,7 +473,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -452,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -477,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -511,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -553,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -615,7 +669,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -697,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -740,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -794,7 +860,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1062,7 +1131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1155,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1253,7 +1328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1346,7 +1424,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1382,7 +1463,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1464,7 +1548,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1509,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1538,7 +1628,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1570,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1593,7 +1689,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1691,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1726,7 +1828,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1843,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1987,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1932,7 +2046,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1947,17 +2064,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1982,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1990,7 +2119,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2025,7 +2157,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2070,7 +2205,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2126,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2141,17 +2282,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2176,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2184,7 +2337,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2194,7 +2350,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2204,14 +2363,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2221,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2233,7 +2401,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2268,7 +2439,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2279,20 +2453,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2332,11 +2518,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2354,7 +2546,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2412,7 +2607,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2537,15 +2735,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2658,7 +2865,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2703,7 +2913,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2732,7 +2945,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2764,7 +2980,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2787,7 +3006,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2885,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2920,7 +3145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3037,7 +3268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3070,7 +3304,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3126,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3141,17 +3381,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3176,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3184,7 +3436,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3219,7 +3474,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3264,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3320,7 +3581,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3335,17 +3599,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3370,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3378,7 +3654,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3388,7 +3667,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3398,14 +3680,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3415,7 +3703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3427,7 +3718,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3462,7 +3756,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3473,20 +3770,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3526,11 +3835,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3548,7 +3863,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3606,7 +3924,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3641,7 +3962,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3651,7 +3975,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3706,21 +4033,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3763,7 +4102,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3809,7 +4151,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3820,7 +4165,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3855,7 +4203,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3895,12 +4246,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3946,7 +4303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3959,7 +4319,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3996,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4041,7 +4407,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4066,7 +4435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4088,7 +4460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4107,7 +4482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4116,7 +4494,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4152,7 +4533,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4181,7 +4565,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4215,7 +4602,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4233,12 +4623,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4287,7 +4683,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4297,7 +4696,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4347,7 +4749,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4356,7 +4761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4403,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4436,11 +4847,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4487,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4524,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4544,7 +4967,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4582,7 +5008,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4598,7 +5027,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4629,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4648,7 +5083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4688,7 +5126,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4717,7 +5158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4754,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4773,7 +5220,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4792,7 +5242,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4822,7 +5275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4885,7 +5341,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4936,7 +5395,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4952,7 +5414,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4986,7 +5451,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5008,7 +5476,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5020,7 +5491,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5043,7 +5517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5594,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5127,7 +5607,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5196,7 +5679,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5209,7 +5695,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/job.json b/v1.12.2-standalone/job.json index 53936c92a8..29edbac941 100644 --- a/v1.12.2-standalone/job.json +++ b/v1.12.2-standalone/job.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,26 +386,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -428,7 +467,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -446,7 +488,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +516,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -505,7 +553,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -544,7 +595,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -606,7 +660,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -688,7 +745,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -731,11 +791,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -785,7 +851,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1053,7 +1122,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1146,7 +1218,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1244,7 +1319,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1337,7 +1415,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1454,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1455,7 +1539,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1500,7 +1587,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1529,7 +1619,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1561,7 +1654,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1680,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1682,7 +1781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1717,7 +1819,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1799,7 +1904,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1834,7 +1942,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1978,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1923,7 +2037,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1938,17 +2055,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1973,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1981,7 +2110,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2016,7 +2148,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2061,7 +2196,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2117,7 +2255,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2132,17 +2273,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2167,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2175,7 +2328,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2185,7 +2341,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2195,14 +2354,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,7 +2377,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2224,7 +2392,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2259,7 +2430,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2270,20 +2444,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2323,11 +2509,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2345,7 +2537,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2403,7 +2598,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2528,15 +2726,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2649,7 +2856,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2694,7 +2904,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2723,7 +2936,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2755,7 +2971,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2778,7 +2997,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2876,7 +3098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2911,7 +3136,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2993,7 +3221,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3028,7 +3259,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3061,7 +3295,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3117,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3132,17 +3372,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3167,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3175,7 +3427,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3210,7 +3465,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3255,7 +3513,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3311,7 +3572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3326,17 +3590,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3361,7 +3634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3369,7 +3645,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3379,7 +3658,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3389,14 +3671,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3418,7 +3709,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3453,7 +3747,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3464,20 +3761,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3517,11 +3826,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3539,7 +3854,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3597,7 +3915,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3632,7 +3953,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3642,7 +3966,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3697,21 +4024,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3754,7 +4093,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3800,7 +4142,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3811,7 +4156,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3846,7 +4194,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3886,12 +4237,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3937,7 +4294,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3950,7 +4310,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3987,7 +4350,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4032,7 +4398,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4057,7 +4426,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4079,7 +4451,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4098,7 +4473,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4107,7 +4485,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4143,7 +4524,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4172,7 +4556,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4206,7 +4593,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4224,12 +4614,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4278,7 +4674,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4288,7 +4687,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4338,7 +4740,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4347,7 +4752,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4394,7 +4802,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4427,11 +4838,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4478,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4515,7 +4935,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4535,7 +4958,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4573,7 +4999,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4589,7 +5018,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4620,7 +5052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4639,7 +5074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4679,7 +5117,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4708,7 +5149,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4745,7 +5189,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4764,7 +5211,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4783,7 +5233,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4813,7 +5266,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4876,7 +5332,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4927,7 +5386,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4943,7 +5405,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4977,7 +5442,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4999,7 +5467,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5011,7 +5482,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5034,7 +5508,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5108,7 +5585,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5118,7 +5598,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5187,7 +5670,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5200,7 +5686,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/joblist-batch-v1.json b/v1.12.2-standalone/joblist-batch-v1.json index 2b701d8564..caae7facc5 100644 --- a/v1.12.2-standalone/joblist-batch-v1.json +++ b/v1.12.2-standalone/joblist-batch-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,26 +414,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -456,7 +495,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +516,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -499,7 +544,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -533,7 +581,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -575,7 +626,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -637,7 +691,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -719,7 +776,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -762,11 +822,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -816,7 +882,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1084,7 +1153,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1177,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1350,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1446,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1404,7 +1485,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1486,7 +1570,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1531,7 +1618,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1560,7 +1650,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1592,7 +1685,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1615,7 +1711,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1713,7 +1812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1748,7 +1850,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1830,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1865,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1898,7 +2009,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1954,7 +2068,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1969,17 +2086,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2004,7 +2130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2012,7 +2141,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2047,7 +2179,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2092,7 +2227,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2148,7 +2286,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2163,17 +2304,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2198,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2206,7 +2359,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2216,7 +2372,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2226,14 +2385,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2243,7 +2408,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2255,7 +2423,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2290,7 +2461,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2301,20 +2475,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2354,11 +2540,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2376,7 +2568,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2434,7 +2629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2559,15 +2757,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2680,7 +2887,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2725,7 +2935,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2754,7 +2967,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2786,7 +3002,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2809,7 +3028,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2907,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2942,7 +3167,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3024,7 +3252,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3059,7 +3290,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3092,7 +3326,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3148,7 +3385,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3163,17 +3403,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3198,7 +3447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3206,7 +3458,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3241,7 +3496,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3286,7 +3544,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3342,7 +3603,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3357,17 +3621,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3392,7 +3665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3400,7 +3676,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3410,7 +3689,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3420,14 +3702,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3437,7 +3725,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3449,7 +3740,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3484,7 +3778,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3495,20 +3792,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3548,11 +3857,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3570,7 +3885,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3628,7 +3946,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3663,7 +3984,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3673,7 +3997,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3728,21 +4055,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3785,7 +4124,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3831,7 +4173,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3842,7 +4187,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3877,7 +4225,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3917,12 +4268,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3968,7 +4325,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3981,7 +4341,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4018,7 +4381,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4063,7 +4429,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4088,7 +4457,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4110,7 +4482,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4129,7 +4504,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4138,7 +4516,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4174,7 +4555,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4203,7 +4587,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4237,7 +4624,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4255,12 +4645,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4309,7 +4705,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4319,7 +4718,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4369,7 +4771,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4378,7 +4783,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4425,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4458,11 +4869,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4509,7 +4926,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4546,7 +4966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4566,7 +4989,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4604,7 +5030,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4620,7 +5049,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4651,7 +5083,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4670,7 +5105,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4710,7 +5148,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4739,7 +5180,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4776,7 +5220,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4795,7 +5242,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4814,7 +5264,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4844,7 +5297,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4907,7 +5363,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4958,7 +5417,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4974,7 +5436,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5008,7 +5473,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5030,7 +5498,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5042,7 +5513,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5065,7 +5539,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5139,7 +5616,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5149,7 +5629,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5218,7 +5701,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5231,7 +5717,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/joblist.json b/v1.12.2-standalone/joblist.json index 4778588bc2..8213a5db02 100644 --- a/v1.12.2-standalone/joblist.json +++ b/v1.12.2-standalone/joblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,26 +405,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -447,7 +486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +507,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -490,7 +535,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -524,7 +572,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -625,7 +679,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -707,7 +764,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -750,11 +810,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -804,7 +870,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1072,7 +1141,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1165,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1263,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1356,7 +1434,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1392,7 +1473,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1474,7 +1558,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1519,7 +1606,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1548,7 +1638,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1580,7 +1673,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1603,7 +1699,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1701,7 +1800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1736,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1818,7 +1923,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1853,7 +1961,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1886,7 +1997,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1942,7 +2056,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1957,17 +2074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1992,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2000,7 +2129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2035,7 +2167,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2080,7 +2215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2136,7 +2274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,17 +2292,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2186,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2194,7 +2347,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2204,7 +2360,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2214,14 +2373,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2231,7 +2396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2243,7 +2411,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2278,7 +2449,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2289,20 +2463,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2342,11 +2528,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2364,7 +2556,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2422,7 +2617,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2547,15 +2745,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2668,7 +2875,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2713,7 +2923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2742,7 +2955,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2774,7 +2990,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2797,7 +3016,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2895,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2930,7 +3155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3012,7 +3240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3047,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3080,7 +3314,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3136,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3151,17 +3391,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3186,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3194,7 +3446,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3229,7 +3484,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3274,7 +3532,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3330,7 +3591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3345,17 +3609,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3380,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3388,7 +3664,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3398,7 +3677,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3408,14 +3690,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3425,7 +3713,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3437,7 +3728,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3472,7 +3766,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3483,20 +3780,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3536,11 +3845,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3558,7 +3873,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3616,7 +3934,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3651,7 +3972,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3661,7 +3985,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3716,21 +4043,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3773,7 +4112,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3819,7 +4161,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3830,7 +4175,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3865,7 +4213,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3905,12 +4256,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3956,7 +4313,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3969,7 +4329,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4006,7 +4369,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4051,7 +4417,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4076,7 +4445,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4098,7 +4470,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4117,7 +4492,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4126,7 +4504,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4162,7 +4543,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4191,7 +4575,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4225,7 +4612,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4243,12 +4633,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4297,7 +4693,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4307,7 +4706,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4357,7 +4759,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4366,7 +4771,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,7 +4821,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4446,11 +4857,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4497,7 +4914,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4534,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4554,7 +4977,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4592,7 +5018,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4608,7 +5037,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4639,7 +5071,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4658,7 +5093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4698,7 +5136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4727,7 +5168,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4764,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5230,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4802,7 +5252,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4832,7 +5285,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4895,7 +5351,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4946,7 +5405,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4962,7 +5424,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4996,7 +5461,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5018,7 +5486,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5030,7 +5501,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5053,7 +5527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5127,7 +5604,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5137,7 +5617,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5206,7 +5689,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5219,7 +5705,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/jobspec-batch-v1.json b/v1.12.2-standalone/jobspec-batch-v1.json index de245d6d4a..098d8ce979 100644 --- a/v1.12.2-standalone/jobspec-batch-v1.json +++ b/v1.12.2-standalone/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -72,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +108,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -115,7 +136,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -149,7 +173,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -191,7 +218,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -253,7 +283,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -335,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -378,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -432,7 +474,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -700,7 +745,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -793,7 +841,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -891,7 +942,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -984,7 +1038,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1020,7 +1077,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1102,7 +1162,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1147,7 +1210,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1176,7 +1242,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1208,7 +1277,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1231,7 +1303,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1329,7 +1404,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1364,7 +1442,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1446,7 +1527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1481,7 +1565,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1514,7 +1601,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1570,7 +1660,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1585,17 +1678,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1620,7 +1722,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1628,7 +1733,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1663,7 +1771,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1708,7 +1819,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1764,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1779,17 +1896,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1814,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1822,7 +1951,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1832,7 +1964,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1842,14 +1977,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1859,7 +2000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1871,7 +2015,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1906,7 +2053,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1917,20 +2067,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1970,11 +2132,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1992,7 +2160,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2050,7 +2221,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2175,15 +2349,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2296,7 +2479,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2341,7 +2527,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2370,7 +2559,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2402,7 +2594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2425,7 +2620,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2523,7 +2721,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2558,7 +2759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2640,7 +2844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2675,7 +2882,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2708,7 +2918,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2764,7 +2977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2779,17 +2995,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2814,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2822,7 +3050,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2857,7 +3088,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2902,7 +3136,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2958,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2973,17 +3213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3008,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3016,7 +3268,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3026,7 +3281,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3036,14 +3294,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3053,7 +3317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3065,7 +3332,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3100,7 +3370,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3111,20 +3384,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3164,11 +3449,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3186,7 +3477,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3244,7 +3538,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3279,7 +3576,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3289,7 +3589,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3344,21 +3647,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3401,7 +3716,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3447,7 +3765,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3458,7 +3779,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3493,7 +3817,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3533,12 +3860,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3584,7 +3917,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3597,7 +3933,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3634,7 +3973,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3679,7 +4021,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3704,7 +4049,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3726,7 +4074,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3745,7 +4096,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3754,7 +4108,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3790,7 +4147,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3819,7 +4179,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3853,7 +4216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3871,12 +4237,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3925,7 +4297,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3935,7 +4310,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3985,7 +4363,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3994,7 +4375,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4041,7 +4425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4074,11 +4461,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4125,7 +4518,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4162,7 +4558,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4182,7 +4581,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4220,7 +4622,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4236,7 +4641,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4267,7 +4675,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4286,7 +4697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4326,7 +4740,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4355,7 +4772,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4392,7 +4812,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4411,7 +4834,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4430,7 +4856,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4460,7 +4889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4523,7 +4955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4574,7 +5009,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4590,7 +5028,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4624,7 +5065,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4646,7 +5090,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4658,7 +5105,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4681,7 +5131,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5208,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/jobspec.json b/v1.12.2-standalone/jobspec.json index d233e452c2..042c85040e 100644 --- a/v1.12.2-standalone/jobspec.json +++ b/v1.12.2-standalone/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -72,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +108,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -115,7 +136,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -149,7 +173,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -188,7 +215,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -250,7 +280,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -332,7 +365,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -375,11 +411,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +471,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -697,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -790,7 +838,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -888,7 +939,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -981,7 +1035,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1017,7 +1074,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1099,7 +1159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1144,7 +1207,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1173,7 +1239,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1205,7 +1274,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1228,7 +1300,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1326,7 +1401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1361,7 +1439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1443,7 +1524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1478,7 +1562,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1511,7 +1598,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1567,7 +1657,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1582,17 +1675,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1617,7 +1719,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1625,7 +1730,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1660,7 +1768,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1705,7 +1816,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1761,7 +1875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1776,17 +1893,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1811,7 +1937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1819,7 +1948,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1829,7 +1961,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1839,14 +1974,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1856,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1868,7 +2012,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1903,7 +2050,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1914,20 +2064,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1967,11 +2129,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1989,7 +2157,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2047,7 +2218,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2172,15 +2346,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2293,7 +2476,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2338,7 +2524,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2367,7 +2556,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2399,7 +2591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2422,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2520,7 +2718,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2555,7 +2756,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2637,7 +2841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2672,7 +2879,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2705,7 +2915,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2761,7 +2974,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2776,17 +2992,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2811,7 +3036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2819,7 +3047,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2854,7 +3085,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2899,7 +3133,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2955,7 +3192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2970,17 +3210,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3005,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3013,7 +3265,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3023,7 +3278,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3033,14 +3291,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3050,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3062,7 +3329,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3097,7 +3367,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3108,20 +3381,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3161,11 +3446,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3183,7 +3474,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3241,7 +3535,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3276,7 +3573,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3286,7 +3586,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3341,21 +3644,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3398,7 +3713,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3444,7 +3762,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3455,7 +3776,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3490,7 +3814,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3530,12 +3857,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3581,7 +3914,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3594,7 +3930,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3631,7 +3970,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3676,7 +4018,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3701,7 +4046,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3723,7 +4071,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3742,7 +4093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3751,7 +4105,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3787,7 +4144,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3816,7 +4176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3850,7 +4213,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3868,12 +4234,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3922,7 +4294,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3932,7 +4307,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3982,7 +4360,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3991,7 +4372,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4038,7 +4422,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4071,11 +4458,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4122,7 +4515,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4159,7 +4555,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4179,7 +4578,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4217,7 +4619,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4233,7 +4638,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4264,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4283,7 +4694,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4323,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4352,7 +4769,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4389,7 +4809,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4408,7 +4831,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4427,7 +4853,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4457,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4520,7 +4952,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4571,7 +5006,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4587,7 +5025,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4621,7 +5062,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4643,7 +5087,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4655,7 +5102,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4678,7 +5128,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4752,7 +5205,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/jobstatus-batch-v1.json b/v1.12.2-standalone/jobstatus-batch-v1.json index 6ae4917f5d..9d23ee711e 100644 --- a/v1.12.2-standalone/jobstatus-batch-v1.json +++ b/v1.12.2-standalone/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -72,7 +75,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -85,7 +91,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/jobstatus.json b/v1.12.2-standalone/jobstatus.json index 6ae4917f5d..9d23ee711e 100644 --- a/v1.12.2-standalone/jobstatus.json +++ b/v1.12.2-standalone/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -72,7 +75,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -85,7 +91,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/jobtemplatespec-batch-v1beta1.json b/v1.12.2-standalone/jobtemplatespec-batch-v1beta1.json index e515026926..d0fb94971d 100644 --- a/v1.12.2-standalone/jobtemplatespec-batch-v1beta1.json +++ b/v1.12.2-standalone/jobtemplatespec-batch-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -107,7 +116,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -169,7 +181,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -348,26 +372,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -414,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,7 +474,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +502,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -491,7 +539,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -533,7 +584,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -595,7 +649,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -677,7 +734,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -720,11 +780,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -774,7 +840,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1042,7 +1111,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1135,7 +1207,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1308,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1326,7 +1404,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1362,7 +1443,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1444,7 +1528,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1489,7 +1576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1518,7 +1608,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1550,7 +1643,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1573,7 +1669,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1671,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1706,7 +1808,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1788,7 +1893,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1856,7 +1967,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1912,7 +2026,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1927,17 +2044,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1962,7 +2088,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1970,7 +2099,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2005,7 +2137,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2050,7 +2185,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2106,7 +2244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2121,17 +2262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2156,7 +2306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2164,7 +2317,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2174,7 +2330,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2184,14 +2343,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2201,7 +2366,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2213,7 +2381,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2248,7 +2419,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2259,20 +2433,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2312,11 +2498,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2334,7 +2526,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2392,7 +2587,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2517,15 +2715,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2638,7 +2845,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2683,7 +2893,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2712,7 +2925,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2744,7 +2960,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2767,7 +2986,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2865,7 +3087,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2900,7 +3125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2982,7 +3210,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3050,7 +3284,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3106,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3121,17 +3361,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3156,7 +3405,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3416,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3199,7 +3454,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3244,7 +3502,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3300,7 +3561,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3315,17 +3579,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3350,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3358,7 +3634,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3368,7 +3647,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3378,14 +3660,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3395,7 +3683,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3407,7 +3698,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3442,7 +3736,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3453,20 +3750,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,11 +3815,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3528,7 +3843,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3586,7 +3904,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3621,7 +3942,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3631,7 +3955,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3686,21 +4013,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3743,7 +4082,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3789,7 +4131,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3800,7 +4145,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3835,7 +4183,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3875,12 +4226,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3926,7 +4283,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3939,7 +4299,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3976,7 +4339,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4046,7 +4415,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4068,7 +4440,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4087,7 +4462,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4096,7 +4474,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4513,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4161,7 +4545,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4195,7 +4582,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4213,12 +4603,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4267,7 +4663,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4277,7 +4676,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4327,7 +4729,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4336,7 +4741,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4383,7 +4791,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,11 +4827,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4467,7 +4884,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4924,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4524,7 +4947,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4578,7 +5007,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4609,7 +5041,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4628,7 +5063,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4668,7 +5106,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4697,7 +5138,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4734,7 +5178,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4753,7 +5200,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4772,7 +5222,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4802,7 +5255,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4865,7 +5321,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4916,7 +5375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4932,7 +5394,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4966,7 +5431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4988,7 +5456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5000,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5023,7 +5497,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5097,7 +5574,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/jobtemplatespec-batch-v2alpha1.json b/v1.12.2-standalone/jobtemplatespec-batch-v2alpha1.json index e515026926..d0fb94971d 100644 --- a/v1.12.2-standalone/jobtemplatespec-batch-v2alpha1.json +++ b/v1.12.2-standalone/jobtemplatespec-batch-v2alpha1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -107,7 +116,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -169,7 +181,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -348,26 +372,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -414,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,7 +474,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +502,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -491,7 +539,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -533,7 +584,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -595,7 +649,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -677,7 +734,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -720,11 +780,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -774,7 +840,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1042,7 +1111,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1135,7 +1207,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1308,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1326,7 +1404,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1362,7 +1443,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1444,7 +1528,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1489,7 +1576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1518,7 +1608,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1550,7 +1643,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1573,7 +1669,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1671,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1706,7 +1808,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1788,7 +1893,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1856,7 +1967,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1912,7 +2026,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1927,17 +2044,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1962,7 +2088,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1970,7 +2099,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2005,7 +2137,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2050,7 +2185,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2106,7 +2244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2121,17 +2262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2156,7 +2306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2164,7 +2317,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2174,7 +2330,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2184,14 +2343,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2201,7 +2366,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2213,7 +2381,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2248,7 +2419,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2259,20 +2433,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2312,11 +2498,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2334,7 +2526,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2392,7 +2587,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2517,15 +2715,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2638,7 +2845,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2683,7 +2893,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2712,7 +2925,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2744,7 +2960,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2767,7 +2986,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2865,7 +3087,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2900,7 +3125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2982,7 +3210,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3050,7 +3284,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3106,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3121,17 +3361,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3156,7 +3405,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3416,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3199,7 +3454,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3244,7 +3502,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3300,7 +3561,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3315,17 +3579,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3350,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3358,7 +3634,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3368,7 +3647,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3378,14 +3660,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3395,7 +3683,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3407,7 +3698,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3442,7 +3736,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3453,20 +3750,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,11 +3815,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3528,7 +3843,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3586,7 +3904,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3621,7 +3942,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3631,7 +3955,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3686,21 +4013,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3743,7 +4082,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3789,7 +4131,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3800,7 +4145,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3835,7 +4183,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3875,12 +4226,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3926,7 +4283,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3939,7 +4299,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3976,7 +4339,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4046,7 +4415,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4068,7 +4440,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4087,7 +4462,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4096,7 +4474,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4513,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4161,7 +4545,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4195,7 +4582,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4213,12 +4603,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4267,7 +4663,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4277,7 +4676,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4327,7 +4729,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4336,7 +4741,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4383,7 +4791,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,11 +4827,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4467,7 +4884,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4924,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4524,7 +4947,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4578,7 +5007,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4609,7 +5041,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4628,7 +5063,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4668,7 +5106,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4697,7 +5138,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4734,7 +5178,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4753,7 +5200,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4772,7 +5222,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4802,7 +5255,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4865,7 +5321,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4916,7 +5375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4932,7 +5394,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4966,7 +5431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4988,7 +5456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5000,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5023,7 +5497,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5097,7 +5574,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/jobtemplatespec.json b/v1.12.2-standalone/jobtemplatespec.json index 66cdc5d9d9..be294fac3b 100644 --- a/v1.12.2-standalone/jobtemplatespec.json +++ b/v1.12.2-standalone/jobtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -104,7 +113,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -166,7 +178,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -248,7 +263,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,11 +309,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -345,26 +369,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -411,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -429,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -488,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -527,7 +578,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -589,7 +643,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -671,7 +728,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -714,11 +774,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -768,7 +834,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1036,7 +1105,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1129,7 +1201,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1227,7 +1302,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1320,7 +1398,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1356,7 +1437,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1438,7 +1522,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1483,7 +1570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1512,7 +1602,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1544,7 +1637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1567,7 +1663,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1665,7 +1764,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1782,7 +1887,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1817,7 +1925,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1850,7 +1961,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1906,7 +2020,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1921,17 +2038,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1956,7 +2082,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1964,7 +2093,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1999,7 +2131,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2044,7 +2179,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2100,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2115,17 +2256,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2150,7 +2300,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2158,7 +2311,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2168,7 +2324,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2178,14 +2337,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2195,7 +2360,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2207,7 +2375,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2242,7 +2413,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2253,20 +2427,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2306,11 +2492,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2328,7 +2520,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2386,7 +2581,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2511,15 +2709,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2632,7 +2839,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2677,7 +2887,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2706,7 +2919,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2738,7 +2954,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2761,7 +2980,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2859,7 +3081,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2894,7 +3119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2976,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3044,7 +3278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3100,7 +3337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3115,17 +3355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3150,7 +3399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3158,7 +3410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3193,7 +3448,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3238,7 +3496,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3294,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3309,17 +3573,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3344,7 +3617,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3352,7 +3628,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3362,7 +3641,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3372,14 +3654,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3389,7 +3677,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3401,7 +3692,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3436,7 +3730,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3447,20 +3744,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3500,11 +3809,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3522,7 +3837,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3580,7 +3898,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3615,7 +3936,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3625,7 +3949,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3680,21 +4007,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3737,7 +4076,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3783,7 +4125,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3794,7 +4139,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3829,7 +4177,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3869,12 +4220,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3920,7 +4277,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3933,7 +4293,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3970,7 +4333,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4015,7 +4381,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4040,7 +4409,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4062,7 +4434,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4081,7 +4456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4090,7 +4468,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4126,7 +4507,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4155,7 +4539,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4189,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4207,12 +4597,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4261,7 +4657,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4271,7 +4670,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4723,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4330,7 +4735,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4377,7 +4785,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4410,11 +4821,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4461,7 +4878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4498,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4518,7 +4941,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4556,7 +4982,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4572,7 +5001,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4603,7 +5035,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4622,7 +5057,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4662,7 +5100,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4691,7 +5132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4728,7 +5172,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4747,7 +5194,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4766,7 +5216,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4796,7 +5249,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4859,7 +5315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4910,7 +5369,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4926,7 +5388,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4960,7 +5425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4982,7 +5450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4994,7 +5465,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5017,7 +5491,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5091,7 +5568,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/keytopath-v1.json b/v1.12.2-standalone/keytopath-v1.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.2-standalone/keytopath-v1.json +++ b/v1.12.2-standalone/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-standalone/keytopath.json b/v1.12.2-standalone/keytopath.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.2-standalone/keytopath.json +++ b/v1.12.2-standalone/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2-standalone/labelselector-meta-v1.json b/v1.12.2-standalone/labelselector-meta-v1.json index 5c638f00b0..b9d308548d 100644 --- a/v1.12.2-standalone/labelselector-meta-v1.json +++ b/v1.12.2-standalone/labelselector-meta-v1.json @@ -42,7 +42,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/labelselector.json b/v1.12.2-standalone/labelselector.json index 5c638f00b0..b9d308548d 100644 --- a/v1.12.2-standalone/labelselector.json +++ b/v1.12.2-standalone/labelselector.json @@ -42,7 +42,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/lease-coordination-v1beta1.json b/v1.12.2-standalone/lease-coordination-v1beta1.json index 2497df9a60..fa3f016b3f 100644 --- a/v1.12.2-standalone/lease-coordination-v1beta1.json +++ b/v1.12.2-standalone/lease-coordination-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,12 +404,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone/lease.json b/v1.12.2-standalone/lease.json index 420519490f..778d145a69 100644 --- a/v1.12.2-standalone/lease.json +++ b/v1.12.2-standalone/lease.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,12 +398,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone/leaselist-coordination-v1beta1.json b/v1.12.2-standalone/leaselist-coordination-v1beta1.json index 2dbdd0c3ff..3b97311976 100644 --- a/v1.12.2-standalone/leaselist-coordination-v1beta1.json +++ b/v1.12.2-standalone/leaselist-coordination-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -402,12 +426,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone/leaselist.json b/v1.12.2-standalone/leaselist.json index 01e8a0cee4..59390c3975 100644 --- a/v1.12.2-standalone/leaselist.json +++ b/v1.12.2-standalone/leaselist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,12 +417,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone/leasespec-coordination-v1beta1.json b/v1.12.2-standalone/leasespec-coordination-v1beta1.json index 888458cf67..f3804ca6d9 100644 --- a/v1.12.2-standalone/leasespec-coordination-v1beta1.json +++ b/v1.12.2-standalone/leasespec-coordination-v1beta1.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone/leasespec.json b/v1.12.2-standalone/leasespec.json index 888458cf67..f3804ca6d9 100644 --- a/v1.12.2-standalone/leasespec.json +++ b/v1.12.2-standalone/leasespec.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2-standalone/lifecycle-v1.json b/v1.12.2-standalone/lifecycle-v1.json index 5bf75efae9..f0cbed2eb3 100644 --- a/v1.12.2-standalone/lifecycle-v1.json +++ b/v1.12.2-standalone/lifecycle-v1.json @@ -75,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -192,7 +198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -227,7 +236,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/lifecycle.json b/v1.12.2-standalone/lifecycle.json index 5bf75efae9..f0cbed2eb3 100644 --- a/v1.12.2-standalone/lifecycle.json +++ b/v1.12.2-standalone/lifecycle.json @@ -75,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -192,7 +198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -227,7 +236,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrange-v1.json b/v1.12.2-standalone/limitrange-v1.json index b415a431d0..a43a87ffd7 100644 --- a/v1.12.2-standalone/limitrange-v1.json +++ b/v1.12.2-standalone/limitrange-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -384,14 +411,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -401,14 +434,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -418,14 +457,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -435,14 +480,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -452,7 +503,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrange.json b/v1.12.2-standalone/limitrange.json index 00540366e1..ab596f462b 100644 --- a/v1.12.2-standalone/limitrange.json +++ b/v1.12.2-standalone/limitrange.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -378,14 +405,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -395,14 +428,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -412,14 +451,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -429,14 +474,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -446,7 +497,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrangeitem-v1.json b/v1.12.2-standalone/limitrangeitem-v1.json index 3cb9a72fdf..ec4d8ec75b 100644 --- a/v1.12.2-standalone/limitrangeitem-v1.json +++ b/v1.12.2-standalone/limitrangeitem-v1.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrangeitem.json b/v1.12.2-standalone/limitrangeitem.json index 3cb9a72fdf..ec4d8ec75b 100644 --- a/v1.12.2-standalone/limitrangeitem.json +++ b/v1.12.2-standalone/limitrangeitem.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrangelist-v1.json b/v1.12.2-standalone/limitrangelist-v1.json index a305cccd67..8fc0d42b8e 100644 --- a/v1.12.2-standalone/limitrangelist-v1.json +++ b/v1.12.2-standalone/limitrangelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -406,14 +433,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -423,14 +456,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -440,14 +479,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -457,14 +502,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -474,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrangelist.json b/v1.12.2-standalone/limitrangelist.json index 4d48eb2cdf..2bcbcd3e86 100644 --- a/v1.12.2-standalone/limitrangelist.json +++ b/v1.12.2-standalone/limitrangelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -397,14 +424,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -414,14 +447,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -431,14 +470,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -448,14 +493,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -465,7 +516,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrangespec-v1.json b/v1.12.2-standalone/limitrangespec-v1.json index 67db178a0f..4c32b064af 100644 --- a/v1.12.2-standalone/limitrangespec-v1.json +++ b/v1.12.2-standalone/limitrangespec-v1.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/limitrangespec.json b/v1.12.2-standalone/limitrangespec.json index 67db178a0f..4c32b064af 100644 --- a/v1.12.2-standalone/limitrangespec.json +++ b/v1.12.2-standalone/limitrangespec.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/localsubjectaccessreview-authorization-v1.json b/v1.12.2-standalone/localsubjectaccessreview-authorization-v1.json index 72462ac903..e8ad869f0b 100644 --- a/v1.12.2-standalone/localsubjectaccessreview-authorization-v1.json +++ b/v1.12.2-standalone/localsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/localsubjectaccessreview-authorization-v1beta1.json b/v1.12.2-standalone/localsubjectaccessreview-authorization-v1beta1.json index 241b584901..f0da3ba826 100644 --- a/v1.12.2-standalone/localsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.2-standalone/localsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/localsubjectaccessreview.json b/v1.12.2-standalone/localsubjectaccessreview.json index 9882251e93..73f6ed2b17 100644 --- a/v1.12.2-standalone/localsubjectaccessreview.json +++ b/v1.12.2-standalone/localsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -490,7 +517,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/metricidentifier-autoscaling-v2beta2.json b/v1.12.2-standalone/metricidentifier-autoscaling-v2beta2.json index 40a9e5c046..a2b785e3c8 100644 --- a/v1.12.2-standalone/metricidentifier-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/metricidentifier-autoscaling-v2beta2.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/metricidentifier.json b/v1.12.2-standalone/metricidentifier.json index 40a9e5c046..a2b785e3c8 100644 --- a/v1.12.2-standalone/metricidentifier.json +++ b/v1.12.2-standalone/metricidentifier.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/metricspec-autoscaling-v2beta1.json b/v1.12.2-standalone/metricspec-autoscaling-v2beta1.json index 70f35cf102..873eaac16b 100644 --- a/v1.12.2-standalone/metricspec-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/metricspec-autoscaling-v2beta1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -90,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -113,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -165,7 +177,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -208,7 +223,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -269,7 +287,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -288,7 +309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -306,7 +330,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -318,7 +345,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metricspec-autoscaling-v2beta2.json b/v1.12.2-standalone/metricspec-autoscaling-v2beta2.json index 4278d4db11..4c9f69c050 100644 --- a/v1.12.2-standalone/metricspec-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/metricspec-autoscaling-v2beta2.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -85,7 +88,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -97,7 +103,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -208,7 +220,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -228,7 +243,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -240,7 +258,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -257,7 +278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -326,7 +350,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +373,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -358,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -375,7 +408,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -402,7 +438,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -414,7 +453,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -431,7 +473,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metricspec.json b/v1.12.2-standalone/metricspec.json index 4278d4db11..4c9f69c050 100644 --- a/v1.12.2-standalone/metricspec.json +++ b/v1.12.2-standalone/metricspec.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -85,7 +88,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -97,7 +103,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -208,7 +220,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -228,7 +243,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -240,7 +258,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -257,7 +278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -326,7 +350,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +373,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -358,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -375,7 +408,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -402,7 +438,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -414,7 +453,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -431,7 +473,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone/metricstatus-autoscaling-v2beta1.json index a6e793ebca..b07f09b226 100644 --- a/v1.12.2-standalone/metricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/metricstatus-autoscaling-v2beta1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -33,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -85,7 +91,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -127,7 +139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -179,7 +194,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -231,7 +249,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -283,7 +304,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -304,7 +328,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -316,7 +343,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/metricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone/metricstatus-autoscaling-v2beta2.json index 8499dd8592..273015d8ee 100644 --- a/v1.12.2-standalone/metricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/metricstatus-autoscaling-v2beta2.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -101,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +140,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -140,7 +155,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -153,7 +171,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -237,7 +258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -263,7 +287,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -275,7 +302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -288,7 +318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -348,7 +381,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -374,7 +410,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -386,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -399,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metricstatus.json b/v1.12.2-standalone/metricstatus.json index 8499dd8592..273015d8ee 100644 --- a/v1.12.2-standalone/metricstatus.json +++ b/v1.12.2-standalone/metricstatus.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -101,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +140,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -140,7 +155,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -153,7 +171,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -237,7 +258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -263,7 +287,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -275,7 +302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -288,7 +318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -348,7 +381,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -374,7 +410,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -386,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -399,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metrictarget-autoscaling-v2beta2.json b/v1.12.2-standalone/metrictarget-autoscaling-v2beta2.json index 9598623539..6fe4300e54 100644 --- a/v1.12.2-standalone/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metrictarget.json b/v1.12.2-standalone/metrictarget.json index 9598623539..6fe4300e54 100644 --- a/v1.12.2-standalone/metrictarget.json +++ b/v1.12.2-standalone/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.2-standalone/metricvaluestatus-autoscaling-v2beta2.json index 7e18383dbc..b6cb261422 100644 --- a/v1.12.2-standalone/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/metricvaluestatus.json b/v1.12.2-standalone/metricvaluestatus.json index 7e18383dbc..b6cb261422 100644 --- a/v1.12.2-standalone/metricvaluestatus.json +++ b/v1.12.2-standalone/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.2-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json index 117d196852..f1e323cc53 100644 --- a/v1.12.2-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -472,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/mutatingwebhookconfiguration.json b/v1.12.2-standalone/mutatingwebhookconfiguration.json index 2d5ae72548..6226420862 100644 --- a/v1.12.2-standalone/mutatingwebhookconfiguration.json +++ b/v1.12.2-standalone/mutatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -466,7 +490,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.2-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json index a297bacc2b..bc4b25b228 100644 --- a/v1.12.2-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -494,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/mutatingwebhookconfigurationlist.json b/v1.12.2-standalone/mutatingwebhookconfigurationlist.json index 281ba22055..a4fcd680fa 100644 --- a/v1.12.2-standalone/mutatingwebhookconfigurationlist.json +++ b/v1.12.2-standalone/mutatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +509,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/namespace-v1.json b/v1.12.2-standalone/namespace-v1.json index 65a0015c36..93a16e923d 100644 --- a/v1.12.2-standalone/namespace-v1.json +++ b/v1.12.2-standalone/namespace-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/namespace.json b/v1.12.2-standalone/namespace.json index 57a7d72958..c1eea2c1cd 100644 --- a/v1.12.2-standalone/namespace.json +++ b/v1.12.2-standalone/namespace.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/namespacelist-v1.json b/v1.12.2-standalone/namespacelist-v1.json index e9dc2f8457..9eec09a3f6 100644 --- a/v1.12.2-standalone/namespacelist-v1.json +++ b/v1.12.2-standalone/namespacelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/namespacelist.json b/v1.12.2-standalone/namespacelist.json index e0e2972306..5270288ae2 100644 --- a/v1.12.2-standalone/namespacelist.json +++ b/v1.12.2-standalone/namespacelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/networkpolicy-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicy-extensions-v1beta1.json index 52cdb5eb1c..483edde5eb 100644 --- a/v1.12.2-standalone/networkpolicy-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -485,7 +512,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -539,7 +569,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -642,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -696,7 +732,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,7 +766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -788,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicy-networking-v1.json b/v1.12.2-standalone/networkpolicy-networking-v1.json index f0231f0a3c..7b646137d2 100644 --- a/v1.12.2-standalone/networkpolicy-networking-v1.json +++ b/v1.12.2-standalone/networkpolicy-networking-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -485,7 +512,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -539,7 +569,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -642,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -696,7 +732,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,7 +766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -788,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicy.json b/v1.12.2-standalone/networkpolicy.json index 1c155bd32b..befc153c99 100644 --- a/v1.12.2-standalone/networkpolicy.json +++ b/v1.12.2-standalone/networkpolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -479,7 +506,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -533,7 +563,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -636,7 +669,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -690,7 +726,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -721,7 +760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -782,7 +824,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyegressrule-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicyegressrule-extensions-v1beta1.json index e35974e2cd..455f815ef8 100644 --- a/v1.12.2-standalone/networkpolicyegressrule-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicyegressrule-extensions-v1beta1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +114,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -165,7 +171,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyegressrule-networking-v1.json b/v1.12.2-standalone/networkpolicyegressrule-networking-v1.json index 036eb248a2..edbae9856d 100644 --- a/v1.12.2-standalone/networkpolicyegressrule-networking-v1.json +++ b/v1.12.2-standalone/networkpolicyegressrule-networking-v1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +114,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -165,7 +171,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyegressrule.json b/v1.12.2-standalone/networkpolicyegressrule.json index 036eb248a2..edbae9856d 100644 --- a/v1.12.2-standalone/networkpolicyegressrule.json +++ b/v1.12.2-standalone/networkpolicyegressrule.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +114,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -165,7 +171,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyingressrule-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicyingressrule-extensions-v1beta1.json index 4ac0612e2a..8d7cca8dbf 100644 --- a/v1.12.2-standalone/networkpolicyingressrule-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicyingressrule-extensions-v1beta1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -164,7 +170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/networkpolicyingressrule-networking-v1.json b/v1.12.2-standalone/networkpolicyingressrule-networking-v1.json index 68fbcd2df4..47f0c0db39 100644 --- a/v1.12.2-standalone/networkpolicyingressrule-networking-v1.json +++ b/v1.12.2-standalone/networkpolicyingressrule-networking-v1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -164,7 +170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/networkpolicyingressrule.json b/v1.12.2-standalone/networkpolicyingressrule.json index 68fbcd2df4..47f0c0db39 100644 --- a/v1.12.2-standalone/networkpolicyingressrule.json +++ b/v1.12.2-standalone/networkpolicyingressrule.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -164,7 +170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/networkpolicylist-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicylist-extensions-v1beta1.json index 05f5208fe2..c6e2490b3f 100644 --- a/v1.12.2-standalone/networkpolicylist-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -507,7 +534,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -561,7 +591,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -664,7 +697,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -718,7 +754,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -810,7 +852,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicylist-networking-v1.json b/v1.12.2-standalone/networkpolicylist-networking-v1.json index 4e8b86a67a..b76880194d 100644 --- a/v1.12.2-standalone/networkpolicylist-networking-v1.json +++ b/v1.12.2-standalone/networkpolicylist-networking-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -507,7 +534,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -561,7 +591,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -664,7 +697,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -718,7 +754,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -810,7 +852,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicylist.json b/v1.12.2-standalone/networkpolicylist.json index f42d9e5351..d721106a49 100644 --- a/v1.12.2-standalone/networkpolicylist.json +++ b/v1.12.2-standalone/networkpolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,7 +430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -498,7 +525,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +582,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -655,7 +688,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -709,7 +745,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -740,7 +779,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -801,7 +843,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicypeer-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicypeer-extensions-v1beta1.json index c93fc73b55..7bf5676cb6 100644 --- a/v1.12.2-standalone/networkpolicypeer-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicypeer-extensions-v1beta1.json @@ -70,7 +70,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicypeer-networking-v1.json b/v1.12.2-standalone/networkpolicypeer-networking-v1.json index d75d12314c..fc85263141 100644 --- a/v1.12.2-standalone/networkpolicypeer-networking-v1.json +++ b/v1.12.2-standalone/networkpolicypeer-networking-v1.json @@ -70,7 +70,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicypeer.json b/v1.12.2-standalone/networkpolicypeer.json index d75d12314c..fc85263141 100644 --- a/v1.12.2-standalone/networkpolicypeer.json +++ b/v1.12.2-standalone/networkpolicypeer.json @@ -70,7 +70,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyport-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicyport-extensions-v1beta1.json index 7c65d598c5..1993fa71ea 100644 --- a/v1.12.2-standalone/networkpolicyport-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicyport-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/networkpolicyport-networking-v1.json b/v1.12.2-standalone/networkpolicyport-networking-v1.json index 02301638ad..defa80989b 100644 --- a/v1.12.2-standalone/networkpolicyport-networking-v1.json +++ b/v1.12.2-standalone/networkpolicyport-networking-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/networkpolicyport.json b/v1.12.2-standalone/networkpolicyport.json index 02301638ad..defa80989b 100644 --- a/v1.12.2-standalone/networkpolicyport.json +++ b/v1.12.2-standalone/networkpolicyport.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/networkpolicyspec-extensions-v1beta1.json b/v1.12.2-standalone/networkpolicyspec-extensions-v1beta1.json index 541a20d683..96d9d7b8bc 100644 --- a/v1.12.2-standalone/networkpolicyspec-extensions-v1beta1.json +++ b/v1.12.2-standalone/networkpolicyspec-extensions-v1beta1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +126,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -177,7 +183,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -280,7 +289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,7 +380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -426,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyspec-networking-v1.json b/v1.12.2-standalone/networkpolicyspec-networking-v1.json index fce4d73240..77b890eaaf 100644 --- a/v1.12.2-standalone/networkpolicyspec-networking-v1.json +++ b/v1.12.2-standalone/networkpolicyspec-networking-v1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +126,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -177,7 +183,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -280,7 +289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,7 +380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -426,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/networkpolicyspec.json b/v1.12.2-standalone/networkpolicyspec.json index fce4d73240..77b890eaaf 100644 --- a/v1.12.2-standalone/networkpolicyspec.json +++ b/v1.12.2-standalone/networkpolicyspec.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +126,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -177,7 +183,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -280,7 +289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,7 +380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -426,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/nfsvolumesource-v1.json b/v1.12.2-standalone/nfsvolumesource-v1.json index b3e166d6ee..122d722664 100644 --- a/v1.12.2-standalone/nfsvolumesource-v1.json +++ b/v1.12.2-standalone/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2-standalone/nfsvolumesource.json b/v1.12.2-standalone/nfsvolumesource.json index b3e166d6ee..122d722664 100644 --- a/v1.12.2-standalone/nfsvolumesource.json +++ b/v1.12.2-standalone/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2-standalone/node-v1.json b/v1.12.2-standalone/node-v1.json index adbfbfce76..1acfb7fedb 100644 --- a/v1.12.2-standalone/node-v1.json +++ b/v1.12.2-standalone/node-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -466,7 +490,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -501,7 +528,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -511,14 +541,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -528,7 +564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -766,7 +805,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/node.json b/v1.12.2-standalone/node.json index 7548a20e76..feef6791bb 100644 --- a/v1.12.2-standalone/node.json +++ b/v1.12.2-standalone/node.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -460,7 +484,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -495,7 +522,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -505,14 +535,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -522,7 +558,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -760,7 +799,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/nodelist-v1.json b/v1.12.2-standalone/nodelist-v1.json index a50b25196d..c880de7a94 100644 --- a/v1.12.2-standalone/nodelist-v1.json +++ b/v1.12.2-standalone/nodelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -488,7 +512,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -523,7 +550,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -533,14 +563,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -550,7 +586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -788,7 +827,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/nodelist.json b/v1.12.2-standalone/nodelist.json index b6f45f0871..b6aa23b92f 100644 --- a/v1.12.2-standalone/nodelist.json +++ b/v1.12.2-standalone/nodelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -479,7 +503,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -514,7 +541,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -524,14 +554,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -541,7 +577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -779,7 +818,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/nodespec-v1.json b/v1.12.2-standalone/nodespec-v1.json index 350311d2eb..ee5f26c286 100644 --- a/v1.12.2-standalone/nodespec-v1.json +++ b/v1.12.2-standalone/nodespec-v1.json @@ -104,7 +104,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/nodespec.json b/v1.12.2-standalone/nodespec.json index 350311d2eb..ee5f26c286 100644 --- a/v1.12.2-standalone/nodespec.json +++ b/v1.12.2-standalone/nodespec.json @@ -104,7 +104,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/nodestatus-v1.json b/v1.12.2-standalone/nodestatus-v1.json index 207eb83e2a..3e74b56c7f 100644 --- a/v1.12.2-standalone/nodestatus-v1.json +++ b/v1.12.2-standalone/nodestatus-v1.json @@ -29,7 +29,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -39,14 +42,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -56,7 +65,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -294,7 +306,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/nodestatus.json b/v1.12.2-standalone/nodestatus.json index 207eb83e2a..3e74b56c7f 100644 --- a/v1.12.2-standalone/nodestatus.json +++ b/v1.12.2-standalone/nodestatus.json @@ -29,7 +29,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -39,14 +42,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -56,7 +65,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -294,7 +306,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/objectmeta-meta-v1.json b/v1.12.2-standalone/objectmeta-meta-v1.json index c600909808..abd0154c6a 100644 --- a/v1.12.2-standalone/objectmeta-meta-v1.json +++ b/v1.12.2-standalone/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -104,7 +113,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -166,7 +178,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -248,7 +263,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,11 +309,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/objectmeta.json b/v1.12.2-standalone/objectmeta.json index 3dd07a12ef..3dd6846cdb 100644 --- a/v1.12.2-standalone/objectmeta.json +++ b/v1.12.2-standalone/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -101,7 +110,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -163,7 +175,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -245,7 +260,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -288,11 +306,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta1.json index 00321eba25..6245d0b7bb 100644 --- a/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -70,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -113,7 +119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta2.json index 2eedd98d92..61c28dabc3 100644 --- a/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/objectmetricsource-autoscaling-v2beta2.json @@ -84,7 +84,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +107,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -116,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -133,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/objectmetricsource.json b/v1.12.2-standalone/objectmetricsource.json index 2eedd98d92..61c28dabc3 100644 --- a/v1.12.2-standalone/objectmetricsource.json +++ b/v1.12.2-standalone/objectmetricsource.json @@ -84,7 +84,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +107,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -116,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -133,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta1.json index 3059acf866..f0e6512ee3 100644 --- a/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -83,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta2.json index 21ba830502..6a263cdbe2 100644 --- a/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/objectmetricstatus-autoscaling-v2beta2.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -120,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/objectmetricstatus.json b/v1.12.2-standalone/objectmetricstatus.json index 21ba830502..6a263cdbe2 100644 --- a/v1.12.2-standalone/objectmetricstatus.json +++ b/v1.12.2-standalone/objectmetricstatus.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -120,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/ownerreference-meta-v1.json b/v1.12.2-standalone/ownerreference-meta-v1.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.2-standalone/ownerreference-meta-v1.json +++ b/v1.12.2-standalone/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/ownerreference.json b/v1.12.2-standalone/ownerreference.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.2-standalone/ownerreference.json +++ b/v1.12.2-standalone/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/persistentvolume-v1.json b/v1.12.2-standalone/persistentvolume-v1.json index 2f234de7c2..025a2ba43f 100644 --- a/v1.12.2-standalone/persistentvolume-v1.json +++ b/v1.12.2-standalone/persistentvolume-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,12 +415,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -442,7 +472,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -455,7 +488,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -476,7 +512,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -486,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -516,7 +558,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -568,7 +613,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -726,11 +774,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -756,12 +810,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -810,7 +870,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -820,7 +883,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -877,7 +943,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -886,7 +955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -907,7 +979,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -940,11 +1015,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -991,7 +1072,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1063,7 +1147,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1208,7 +1295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1232,7 +1322,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1295,7 +1388,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1353,7 +1449,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1376,7 +1475,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1424,7 +1526,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/persistentvolume.json b/v1.12.2-standalone/persistentvolume.json index 5b945ca2ec..ea51912435 100644 --- a/v1.12.2-standalone/persistentvolume.json +++ b/v1.12.2-standalone/persistentvolume.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,12 +409,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -436,7 +466,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -449,7 +482,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -470,7 +506,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -480,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -510,7 +552,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -562,7 +607,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -720,11 +768,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -750,12 +804,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -804,7 +864,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -814,7 +877,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -871,7 +937,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -880,7 +949,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -901,7 +973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -934,11 +1009,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -985,7 +1066,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1057,7 +1141,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1202,7 +1289,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1226,7 +1316,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1289,7 +1382,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1347,7 +1443,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1370,7 +1469,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1418,7 +1520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/persistentvolumeclaim-v1.json b/v1.12.2-standalone/persistentvolumeclaim-v1.json index 2b8cd0fafc..a7e0145ba9 100644 --- a/v1.12.2-standalone/persistentvolumeclaim-v1.json +++ b/v1.12.2-standalone/persistentvolumeclaim-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -405,7 +429,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -415,14 +442,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -432,7 +465,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -483,7 +519,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -534,7 +573,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -544,7 +586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/persistentvolumeclaim.json b/v1.12.2-standalone/persistentvolumeclaim.json index 0f58a09c15..02520ef27f 100644 --- a/v1.12.2-standalone/persistentvolumeclaim.json +++ b/v1.12.2-standalone/persistentvolumeclaim.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,7 +423,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -409,14 +436,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -426,7 +459,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -477,7 +513,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -528,7 +567,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -538,7 +580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/persistentvolumeclaimlist-v1.json b/v1.12.2-standalone/persistentvolumeclaimlist-v1.json index c974ac35dd..ce19579732 100644 --- a/v1.12.2-standalone/persistentvolumeclaimlist-v1.json +++ b/v1.12.2-standalone/persistentvolumeclaimlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -427,7 +451,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -437,14 +464,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -454,7 +487,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -505,7 +541,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -556,7 +595,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -566,7 +608,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/persistentvolumeclaimlist.json b/v1.12.2-standalone/persistentvolumeclaimlist.json index bfd1903c4d..a3a1f48100 100644 --- a/v1.12.2-standalone/persistentvolumeclaimlist.json +++ b/v1.12.2-standalone/persistentvolumeclaimlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +442,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -428,14 +455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -445,7 +478,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -496,7 +532,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +586,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -557,7 +599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/persistentvolumeclaimspec-v1.json b/v1.12.2-standalone/persistentvolumeclaimspec-v1.json index 248a50c3e7..27d9369ef4 100644 --- a/v1.12.2-standalone/persistentvolumeclaimspec-v1.json +++ b/v1.12.2-standalone/persistentvolumeclaimspec-v1.json @@ -43,7 +43,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -53,14 +56,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -70,7 +79,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -121,7 +133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/persistentvolumeclaimspec.json b/v1.12.2-standalone/persistentvolumeclaimspec.json index 248a50c3e7..27d9369ef4 100644 --- a/v1.12.2-standalone/persistentvolumeclaimspec.json +++ b/v1.12.2-standalone/persistentvolumeclaimspec.json @@ -43,7 +43,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -53,14 +56,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -70,7 +79,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -121,7 +133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/persistentvolumeclaimstatus-v1.json b/v1.12.2-standalone/persistentvolumeclaimstatus-v1.json index 6f5a7a2eab..c30c10ec80 100644 --- a/v1.12.2-standalone/persistentvolumeclaimstatus-v1.json +++ b/v1.12.2-standalone/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/persistentvolumeclaimstatus.json b/v1.12.2-standalone/persistentvolumeclaimstatus.json index 6f5a7a2eab..c30c10ec80 100644 --- a/v1.12.2-standalone/persistentvolumeclaimstatus.json +++ b/v1.12.2-standalone/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/persistentvolumeclaimvolumesource-v1.json b/v1.12.2-standalone/persistentvolumeclaimvolumesource-v1.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.2-standalone/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.2-standalone/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/persistentvolumeclaimvolumesource.json b/v1.12.2-standalone/persistentvolumeclaimvolumesource.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.2-standalone/persistentvolumeclaimvolumesource.json +++ b/v1.12.2-standalone/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/persistentvolumelist-v1.json b/v1.12.2-standalone/persistentvolumelist-v1.json index b9537ec041..3be95591db 100644 --- a/v1.12.2-standalone/persistentvolumelist-v1.json +++ b/v1.12.2-standalone/persistentvolumelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -413,12 +437,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -464,7 +494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -477,7 +510,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -498,7 +534,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -508,7 +547,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -538,7 +580,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -590,7 +635,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -748,11 +796,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -778,12 +832,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -832,7 +892,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -842,7 +905,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -899,7 +965,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -908,7 +977,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -929,7 +1001,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -962,11 +1037,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1013,7 +1094,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1085,7 +1169,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1230,7 +1317,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1254,7 +1344,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1317,7 +1410,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1375,7 +1471,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1398,7 +1497,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1446,7 +1548,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/persistentvolumelist.json b/v1.12.2-standalone/persistentvolumelist.json index c64ba38ffa..2348d9d18f 100644 --- a/v1.12.2-standalone/persistentvolumelist.json +++ b/v1.12.2-standalone/persistentvolumelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,12 +428,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -455,7 +485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -468,7 +501,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -489,7 +525,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -499,7 +538,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -529,7 +571,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -581,7 +626,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -739,11 +787,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -769,12 +823,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -823,7 +883,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -833,7 +896,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -890,7 +956,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -899,7 +968,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -920,7 +992,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -953,11 +1028,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1004,7 +1085,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1076,7 +1160,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1221,7 +1308,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1245,7 +1335,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1308,7 +1401,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1366,7 +1462,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1389,7 +1488,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1437,7 +1539,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/persistentvolumespec-v1.json b/v1.12.2-standalone/persistentvolumespec-v1.json index 2fa7bb3bc6..5c44bc5862 100644 --- a/v1.12.2-standalone/persistentvolumespec-v1.json +++ b/v1.12.2-standalone/persistentvolumespec-v1.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -80,7 +86,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -93,7 +102,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -114,7 +126,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -124,7 +139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -154,7 +172,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -206,7 +227,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -364,11 +388,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -394,12 +424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -448,7 +484,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +497,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -515,7 +557,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -524,7 +569,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -545,7 +593,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -578,11 +629,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -629,7 +686,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -701,7 +761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -846,7 +909,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -870,7 +936,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -933,7 +1002,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -991,7 +1063,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1014,7 +1089,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1062,7 +1140,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/persistentvolumespec.json b/v1.12.2-standalone/persistentvolumespec.json index 2fa7bb3bc6..5c44bc5862 100644 --- a/v1.12.2-standalone/persistentvolumespec.json +++ b/v1.12.2-standalone/persistentvolumespec.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -80,7 +86,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -93,7 +102,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -114,7 +126,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -124,7 +139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -154,7 +172,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -206,7 +227,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -364,11 +388,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -394,12 +424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -448,7 +484,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +497,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -515,7 +557,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -524,7 +569,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -545,7 +593,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -578,11 +629,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -629,7 +686,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -701,7 +761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -846,7 +909,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -870,7 +936,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -933,7 +1002,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -991,7 +1063,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1014,7 +1089,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1062,7 +1140,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/pod-v1.json b/v1.12.2-standalone/pod-v1.json index de75f4a55a..a419847666 100644 --- a/v1.12.2-standalone/pod-v1.json +++ b/v1.12.2-standalone/pod-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -636,7 +663,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -729,7 +759,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -827,7 +860,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -920,7 +956,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -956,7 +995,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1038,7 +1080,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1083,7 +1128,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1112,7 +1160,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1144,7 +1195,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1167,7 +1221,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1265,7 +1322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1300,7 +1360,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1382,7 +1445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1450,7 +1519,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1506,7 +1578,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,17 +1596,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1556,7 +1640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1564,7 +1651,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1599,7 +1689,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1644,7 +1737,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1700,7 +1796,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1715,17 +1814,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1750,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1758,7 +1869,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1768,7 +1882,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1778,14 +1895,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1795,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1807,7 +1933,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1842,7 +1971,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1853,20 +1985,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1906,11 +2050,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1928,7 +2078,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1986,7 +2139,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2111,15 +2267,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2232,7 +2397,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2277,7 +2445,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2306,7 +2477,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2338,7 +2512,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2361,7 +2538,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2459,7 +2639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2494,7 +2677,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2576,7 +2762,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2644,7 +2836,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2700,7 +2895,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2715,17 +2913,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2750,7 +2957,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2758,7 +2968,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2793,7 +3006,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2838,7 +3054,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2894,7 +3113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2909,17 +3131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2944,7 +3175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2952,7 +3186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2962,7 +3199,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2972,14 +3212,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2989,7 +3235,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3001,7 +3250,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3036,7 +3288,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3047,20 +3302,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3100,11 +3367,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3122,7 +3395,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3180,7 +3456,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3215,7 +3494,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3225,7 +3507,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3280,21 +3565,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3337,7 +3634,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3383,7 +3683,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3394,7 +3697,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3429,7 +3735,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3469,12 +3778,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3520,7 +3835,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3533,7 +3851,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3570,7 +3891,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3615,7 +3939,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3640,7 +3967,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3662,7 +3992,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3681,7 +4014,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3726,7 +4065,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3755,7 +4097,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3789,7 +4134,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3807,12 +4155,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3861,7 +4215,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3871,7 +4228,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3921,7 +4281,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3930,7 +4293,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3977,7 +4343,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4010,11 +4379,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4061,7 +4436,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4098,7 +4476,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4118,7 +4499,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4156,7 +4540,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4172,7 +4559,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4203,7 +4593,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4222,7 +4615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4262,7 +4658,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4291,7 +4690,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4328,7 +4730,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4347,7 +4752,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4366,7 +4774,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4396,7 +4807,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4459,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4927,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4526,7 +4946,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4560,7 +4983,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4582,7 +5008,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4594,7 +5023,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4617,7 +5049,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4835,7 +5270,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4940,7 +5378,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5073,7 +5514,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5178,7 +5622,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/pod.json b/v1.12.2-standalone/pod.json index 7140f21388..3cb76cbd27 100644 --- a/v1.12.2-standalone/pod.json +++ b/v1.12.2-standalone/pod.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -630,7 +657,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -723,7 +753,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -821,7 +854,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -914,7 +950,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -950,7 +989,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1032,7 +1074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1077,7 +1122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1106,7 +1154,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1138,7 +1189,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1161,7 +1215,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1259,7 +1316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1294,7 +1354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1376,7 +1439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,7 +1477,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1444,7 +1513,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1500,7 +1572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1515,17 +1590,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1550,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1645,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1593,7 +1683,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1638,7 +1731,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1694,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1709,17 +1808,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1744,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1752,7 +1863,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1762,7 +1876,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1772,14 +1889,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1789,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1801,7 +1927,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1836,7 +1965,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1847,20 +1979,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1900,11 +2044,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1922,7 +2072,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1980,7 +2133,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2105,15 +2261,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2226,7 +2391,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2271,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2300,7 +2471,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2332,7 +2506,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2355,7 +2532,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2453,7 +2633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2488,7 +2671,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2570,7 +2756,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2605,7 +2794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2638,7 +2830,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2694,7 +2889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2709,17 +2907,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2744,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2752,7 +2962,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2787,7 +3000,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2832,7 +3048,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2888,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2903,17 +3125,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2938,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2946,7 +3180,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2956,7 +3193,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2966,14 +3206,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2983,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2995,7 +3244,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3030,7 +3282,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3041,20 +3296,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3094,11 +3361,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3116,7 +3389,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3174,7 +3450,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3209,7 +3488,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3219,7 +3501,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3274,21 +3559,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3331,7 +3628,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3377,7 +3677,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3388,7 +3691,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3423,7 +3729,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3463,12 +3772,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3514,7 +3829,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3527,7 +3845,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3564,7 +3885,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3609,7 +3933,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3634,7 +3961,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3656,7 +3986,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3675,7 +4008,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3684,7 +4020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3720,7 +4059,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3749,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3783,7 +4128,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3801,12 +4149,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3855,7 +4209,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3865,7 +4222,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3915,7 +4275,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3924,7 +4287,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3971,7 +4337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4004,11 +4373,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4055,7 +4430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4092,7 +4470,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4112,7 +4493,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4150,7 +4534,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4166,7 +4553,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4197,7 +4587,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4216,7 +4609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4256,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4285,7 +4684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4322,7 +4724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4746,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4360,7 +4768,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4390,7 +4801,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4453,7 +4867,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4921,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4520,7 +4940,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4554,7 +4977,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4576,7 +5002,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4588,7 +5017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4611,7 +5043,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4829,7 +5264,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4934,7 +5372,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5067,7 +5508,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5172,7 +5616,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/podaffinity-v1.json b/v1.12.2-standalone/podaffinity-v1.json index c468af8f51..6d87a9a0be 100644 --- a/v1.12.2-standalone/podaffinity-v1.json +++ b/v1.12.2-standalone/podaffinity-v1.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podaffinity.json b/v1.12.2-standalone/podaffinity.json index c468af8f51..6d87a9a0be 100644 --- a/v1.12.2-standalone/podaffinity.json +++ b/v1.12.2-standalone/podaffinity.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podaffinityterm-v1.json b/v1.12.2-standalone/podaffinityterm-v1.json index 119ed9850b..1ac04475b5 100644 --- a/v1.12.2-standalone/podaffinityterm-v1.json +++ b/v1.12.2-standalone/podaffinityterm-v1.json @@ -48,7 +48,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podaffinityterm.json b/v1.12.2-standalone/podaffinityterm.json index 119ed9850b..1ac04475b5 100644 --- a/v1.12.2-standalone/podaffinityterm.json +++ b/v1.12.2-standalone/podaffinityterm.json @@ -48,7 +48,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podantiaffinity-v1.json b/v1.12.2-standalone/podantiaffinity-v1.json index 05d90e86e5..a95f7bb577 100644 --- a/v1.12.2-standalone/podantiaffinity-v1.json +++ b/v1.12.2-standalone/podantiaffinity-v1.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podantiaffinity.json b/v1.12.2-standalone/podantiaffinity.json index 05d90e86e5..a95f7bb577 100644 --- a/v1.12.2-standalone/podantiaffinity.json +++ b/v1.12.2-standalone/podantiaffinity.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/poddisruptionbudget-policy-v1beta1.json b/v1.12.2-standalone/poddisruptionbudget-policy-v1beta1.json index d6386d4bd7..3b49c0dd88 100644 --- a/v1.12.2-standalone/poddisruptionbudget-policy-v1beta1.json +++ b/v1.12.2-standalone/poddisruptionbudget-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -372,7 +396,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -385,7 +412,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -433,7 +463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -466,7 +499,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -488,7 +524,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/poddisruptionbudget.json b/v1.12.2-standalone/poddisruptionbudget.json index ee7132ccd3..b688936e95 100644 --- a/v1.12.2-standalone/poddisruptionbudget.json +++ b/v1.12.2-standalone/poddisruptionbudget.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -366,7 +390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -379,7 +406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -427,7 +457,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -482,7 +518,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/poddisruptionbudgetlist-policy-v1beta1.json b/v1.12.2-standalone/poddisruptionbudgetlist-policy-v1beta1.json index 044066323b..a646b76355 100644 --- a/v1.12.2-standalone/poddisruptionbudgetlist-policy-v1beta1.json +++ b/v1.12.2-standalone/poddisruptionbudgetlist-policy-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -406,7 +433,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -487,7 +520,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -509,7 +545,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/poddisruptionbudgetlist.json b/v1.12.2-standalone/poddisruptionbudgetlist.json index f81da9e403..aceca0ff62 100644 --- a/v1.12.2-standalone/poddisruptionbudgetlist.json +++ b/v1.12.2-standalone/poddisruptionbudgetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -201,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -283,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -326,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -397,7 +424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -445,7 +475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -478,7 +511,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -500,7 +536,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.2-standalone/poddisruptionbudgetspec-policy-v1beta1.json b/v1.12.2-standalone/poddisruptionbudgetspec-policy-v1beta1.json index a4fb96c832..1d259566d9 100644 --- a/v1.12.2-standalone/poddisruptionbudgetspec-policy-v1beta1.json +++ b/v1.12.2-standalone/poddisruptionbudgetspec-policy-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -71,7 +77,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/poddisruptionbudgetspec.json b/v1.12.2-standalone/poddisruptionbudgetspec.json index a4fb96c832..1d259566d9 100644 --- a/v1.12.2-standalone/poddisruptionbudgetspec.json +++ b/v1.12.2-standalone/poddisruptionbudgetspec.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -71,7 +77,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.2-standalone/poddisruptionbudgetstatus-policy-v1beta1.json index 880e672275..be906fb2f5 100644 --- a/v1.12.2-standalone/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.2-standalone/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/poddisruptionbudgetstatus.json b/v1.12.2-standalone/poddisruptionbudgetstatus.json index 880e672275..be906fb2f5 100644 --- a/v1.12.2-standalone/poddisruptionbudgetstatus.json +++ b/v1.12.2-standalone/poddisruptionbudgetstatus.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/podlist-v1.json b/v1.12.2-standalone/podlist-v1.json index 3ba2d64b1a..06e0b52a35 100644 --- a/v1.12.2-standalone/podlist-v1.json +++ b/v1.12.2-standalone/podlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -658,7 +685,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -751,7 +781,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -849,7 +882,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -942,7 +978,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -978,7 +1017,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1060,7 +1102,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1105,7 +1150,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1134,7 +1182,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1166,7 +1217,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1189,7 +1243,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1287,7 +1344,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1322,7 +1382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1404,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1439,7 +1505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1472,7 +1541,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1528,7 +1600,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1543,17 +1618,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1578,7 +1662,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1586,7 +1673,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1621,7 +1711,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1666,7 +1759,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1722,7 +1818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1737,17 +1836,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1772,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1780,7 +1891,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1790,7 +1904,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1800,14 +1917,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1817,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1829,7 +1955,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1864,7 +1993,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1875,20 +2007,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1928,11 +2072,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1950,7 +2100,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2008,7 +2161,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2133,15 +2289,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2254,7 +2419,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2299,7 +2467,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2328,7 +2499,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2383,7 +2560,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2481,7 +2661,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2516,7 +2699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2598,7 +2784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2633,7 +2822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2666,7 +2858,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2722,7 +2917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2737,17 +2935,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2772,7 +2979,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2780,7 +2990,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2815,7 +3028,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2860,7 +3076,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2916,7 +3135,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2931,17 +3153,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2966,7 +3197,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2974,7 +3208,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2984,7 +3221,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2994,14 +3234,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3011,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3023,7 +3272,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3058,7 +3310,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3069,20 +3324,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3122,11 +3389,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3144,7 +3417,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3202,7 +3478,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3237,7 +3516,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3247,7 +3529,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3302,21 +3587,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3359,7 +3656,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3405,7 +3705,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3416,7 +3719,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3451,7 +3757,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3491,12 +3800,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3542,7 +3857,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3555,7 +3873,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3592,7 +3913,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3637,7 +3961,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3662,7 +3989,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3684,7 +4014,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3703,7 +4036,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3712,7 +4048,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3748,7 +4087,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3777,7 +4119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3811,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3829,12 +4177,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3883,7 +4237,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3893,7 +4250,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3943,7 +4303,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3952,7 +4315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3999,7 +4365,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4032,11 +4401,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4083,7 +4458,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4120,7 +4498,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4140,7 +4521,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4178,7 +4562,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4194,7 +4581,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4225,7 +4615,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4284,7 +4680,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4313,7 +4712,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4350,7 +4752,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4369,7 +4774,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4388,7 +4796,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4418,7 +4829,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4481,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4949,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4548,7 +4968,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4582,7 +5005,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4604,7 +5030,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4616,7 +5045,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4639,7 +5071,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4857,7 +5292,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4962,7 +5400,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5095,7 +5536,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5200,7 +5644,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/podlist.json b/v1.12.2-standalone/podlist.json index adef9f5fa8..b9add61262 100644 --- a/v1.12.2-standalone/podlist.json +++ b/v1.12.2-standalone/podlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +405,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -649,7 +676,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,7 +772,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -840,7 +873,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -933,7 +969,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -969,7 +1008,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1051,7 +1093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1096,7 +1141,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1125,7 +1173,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1157,7 +1208,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1180,7 +1234,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1278,7 +1335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1313,7 +1373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1395,7 +1458,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1430,7 +1496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1463,7 +1532,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1519,7 +1591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,17 +1609,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1569,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1577,7 +1664,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1612,7 +1702,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1657,7 +1750,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1713,7 +1809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1728,17 +1827,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1763,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1771,7 +1882,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1781,7 +1895,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1791,14 +1908,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1808,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1820,7 +1946,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1855,7 +1984,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1866,20 +1998,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1919,11 +2063,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1941,7 +2091,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1999,7 +2152,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2124,15 +2280,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2245,7 +2410,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2290,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2319,7 +2490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2351,7 +2525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2374,7 +2551,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2472,7 +2652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2507,7 +2690,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2589,7 +2775,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2624,7 +2813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2657,7 +2849,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2713,7 +2908,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2728,17 +2926,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2763,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2771,7 +2981,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2806,7 +3019,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2851,7 +3067,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2907,7 +3126,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2922,17 +3144,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2957,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2965,7 +3199,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2975,7 +3212,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2985,14 +3225,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3002,7 +3248,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3014,7 +3263,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3049,7 +3301,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3060,20 +3315,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3113,11 +3380,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3135,7 +3408,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3193,7 +3469,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3228,7 +3507,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3238,7 +3520,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3293,21 +3578,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3350,7 +3647,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3396,7 +3696,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3407,7 +3710,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3442,7 +3748,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3482,12 +3791,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3533,7 +3848,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3546,7 +3864,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3583,7 +3904,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3628,7 +3952,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3653,7 +3980,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3675,7 +4005,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3694,7 +4027,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3703,7 +4039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3739,7 +4078,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3768,7 +4110,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3802,7 +4147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3820,12 +4168,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3874,7 +4228,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3884,7 +4241,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3934,7 +4294,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3943,7 +4306,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3990,7 +4356,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4023,11 +4392,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4074,7 +4449,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4111,7 +4489,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4131,7 +4512,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4169,7 +4553,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4185,7 +4572,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4216,7 +4606,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4628,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4275,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4304,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4341,7 +4743,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4360,7 +4765,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4379,7 +4787,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4409,7 +4820,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4472,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4940,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4539,7 +4959,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4573,7 +4996,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4595,7 +5021,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4607,7 +5036,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4630,7 +5062,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4848,7 +5283,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4953,7 +5391,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5086,7 +5527,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5191,7 +5635,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/podpreset-settings-v1alpha1.json b/v1.12.2-standalone/podpreset-settings-v1alpha1.json index a90b37c92b..e5502dbff8 100644 --- a/v1.12.2-standalone/podpreset-settings-v1alpha1.json +++ b/v1.12.2-standalone/podpreset-settings-v1alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -408,7 +432,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -453,7 +480,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -482,7 +512,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -512,7 +545,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -535,7 +571,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -586,7 +625,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -626,7 +668,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -665,12 +710,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -716,7 +767,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -729,7 +783,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -766,7 +823,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -811,7 +871,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -836,7 +899,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -858,7 +924,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -877,7 +946,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -886,7 +958,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -922,7 +997,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -951,7 +1029,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -985,7 +1066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1003,12 +1087,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1057,7 +1147,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1067,7 +1160,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1117,7 +1213,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1126,7 +1225,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1173,7 +1275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1206,11 +1311,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1257,7 +1368,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1294,7 +1408,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1314,7 +1431,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1352,7 +1472,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1368,7 +1491,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1399,7 +1525,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1418,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1458,7 +1590,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1487,7 +1622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1662,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1543,7 +1684,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1562,7 +1706,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1592,7 +1739,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1655,7 +1805,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1706,7 +1859,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1722,7 +1878,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1756,7 +1915,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1778,7 +1940,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1790,7 +1955,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1813,7 +1981,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podpreset.json b/v1.12.2-standalone/podpreset.json index eb2fe19374..bcafc98c3d 100644 --- a/v1.12.2-standalone/podpreset.json +++ b/v1.12.2-standalone/podpreset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -402,7 +426,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -447,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -476,7 +506,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -506,7 +539,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -529,7 +565,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -580,7 +619,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -620,7 +662,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -659,12 +704,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -710,7 +761,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -723,7 +777,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -760,7 +817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -805,7 +865,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -830,7 +893,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -852,7 +918,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -871,7 +940,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -880,7 +952,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -916,7 +991,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -945,7 +1023,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -979,7 +1060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -997,12 +1081,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1051,7 +1141,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1061,7 +1154,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1111,7 +1207,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1120,7 +1219,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1167,7 +1269,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,11 +1305,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1251,7 +1362,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1288,7 +1402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1308,7 +1425,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1346,7 +1466,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1362,7 +1485,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1393,7 +1519,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1412,7 +1541,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1452,7 +1584,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1481,7 +1616,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1518,7 +1656,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1537,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1556,7 +1700,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1586,7 +1733,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1649,7 +1799,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1700,7 +1853,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1716,7 +1872,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1750,7 +1909,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1772,7 +1934,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1784,7 +1949,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1807,7 +1975,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podpresetlist-settings-v1alpha1.json b/v1.12.2-standalone/podpresetlist-settings-v1alpha1.json index fbd5943ead..cfa3e3c49e 100644 --- a/v1.12.2-standalone/podpresetlist-settings-v1alpha1.json +++ b/v1.12.2-standalone/podpresetlist-settings-v1alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -430,7 +454,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -475,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -504,7 +534,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -534,7 +567,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -557,7 +593,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -608,7 +647,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -648,7 +690,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -687,12 +732,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -738,7 +789,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -751,7 +805,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -788,7 +845,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -833,7 +893,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -858,7 +921,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -880,7 +946,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -899,7 +968,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -908,7 +980,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -944,7 +1019,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -973,7 +1051,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1007,7 +1088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1025,12 +1109,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1079,7 +1169,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1089,7 +1182,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1139,7 +1235,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1148,7 +1247,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1195,7 +1297,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1228,11 +1333,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1279,7 +1390,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1316,7 +1430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1336,7 +1453,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1374,7 +1494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1390,7 +1513,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1421,7 +1547,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1440,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1480,7 +1612,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1509,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1684,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1565,7 +1706,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1728,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1614,7 +1761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1677,7 +1827,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1728,7 +1881,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1744,7 +1900,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1778,7 +1937,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1800,7 +1962,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1812,7 +1977,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1835,7 +2003,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podpresetlist.json b/v1.12.2-standalone/podpresetlist.json index be88cb521f..df3fa41013 100644 --- a/v1.12.2-standalone/podpresetlist.json +++ b/v1.12.2-standalone/podpresetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -421,7 +445,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -466,7 +493,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -495,7 +525,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -525,7 +558,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -548,7 +584,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -599,7 +638,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -639,7 +681,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -678,12 +723,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -729,7 +780,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -742,7 +796,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -779,7 +836,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -824,7 +884,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -849,7 +912,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -871,7 +937,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -890,7 +959,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -899,7 +971,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -935,7 +1010,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -964,7 +1042,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -998,7 +1079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1016,12 +1100,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1070,7 +1160,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1080,7 +1173,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1130,7 +1226,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1139,7 +1238,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1186,7 +1288,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1219,11 +1324,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1270,7 +1381,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1307,7 +1421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1327,7 +1444,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1365,7 +1485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1381,7 +1504,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1412,7 +1538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1431,7 +1560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1471,7 +1603,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1500,7 +1635,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1675,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1556,7 +1697,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1575,7 +1719,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1605,7 +1752,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1668,7 +1818,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1719,7 +1872,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1735,7 +1891,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1769,7 +1928,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1791,7 +1953,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1803,7 +1968,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1826,7 +1994,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podpresetspec-settings-v1alpha1.json b/v1.12.2-standalone/podpresetspec-settings-v1alpha1.json index 28be5ab994..5d514e8c31 100644 --- a/v1.12.2-standalone/podpresetspec-settings-v1alpha1.json +++ b/v1.12.2-standalone/podpresetspec-settings-v1alpha1.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -91,7 +94,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -120,7 +126,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -150,7 +159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -173,7 +185,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -224,7 +239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -264,7 +282,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -303,12 +324,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -354,7 +381,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -367,7 +397,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -404,7 +437,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -449,7 +485,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -474,7 +513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -496,7 +538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -515,7 +560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -524,7 +572,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -560,7 +611,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -589,7 +643,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -623,7 +680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -641,12 +701,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -695,7 +761,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -705,7 +774,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -755,7 +827,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -764,7 +839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -811,7 +889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -844,11 +925,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -895,7 +982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -932,7 +1022,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -952,7 +1045,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -990,7 +1086,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1006,7 +1105,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1037,7 +1139,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1056,7 +1161,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1096,7 +1204,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1125,7 +1236,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1181,7 +1298,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1320,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1230,7 +1353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1293,7 +1419,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1344,7 +1473,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1360,7 +1492,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1394,7 +1529,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1416,7 +1554,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1428,7 +1569,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1451,7 +1595,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podpresetspec.json b/v1.12.2-standalone/podpresetspec.json index 28be5ab994..5d514e8c31 100644 --- a/v1.12.2-standalone/podpresetspec.json +++ b/v1.12.2-standalone/podpresetspec.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -91,7 +94,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -120,7 +126,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -150,7 +159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -173,7 +185,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -224,7 +239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -264,7 +282,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -303,12 +324,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -354,7 +381,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -367,7 +397,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -404,7 +437,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -449,7 +485,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -474,7 +513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -496,7 +538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -515,7 +560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -524,7 +572,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -560,7 +611,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -589,7 +643,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -623,7 +680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -641,12 +701,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -695,7 +761,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -705,7 +774,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -755,7 +827,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -764,7 +839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -811,7 +889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -844,11 +925,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -895,7 +982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -932,7 +1022,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -952,7 +1045,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -990,7 +1086,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1006,7 +1105,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1037,7 +1139,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1056,7 +1161,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1096,7 +1204,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1125,7 +1236,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1181,7 +1298,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1320,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1230,7 +1353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1293,7 +1419,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1344,7 +1473,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1360,7 +1492,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1394,7 +1529,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1416,7 +1554,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1428,7 +1569,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1451,7 +1595,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podsecuritycontext-v1.json b/v1.12.2-standalone/podsecuritycontext-v1.json index 6700ec64a9..4d7da595ac 100644 --- a/v1.12.2-standalone/podsecuritycontext-v1.json +++ b/v1.12.2-standalone/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -60,7 +72,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/podsecuritycontext.json b/v1.12.2-standalone/podsecuritycontext.json index 6700ec64a9..4d7da595ac 100644 --- a/v1.12.2-standalone/podsecuritycontext.json +++ b/v1.12.2-standalone/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -60,7 +72,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/podsecuritypolicy-extensions-v1beta1.json b/v1.12.2-standalone/podsecuritypolicy-extensions-v1beta1.json index eb6e67f4be..0df82a806b 100644 --- a/v1.12.2-standalone/podsecuritypolicy-extensions-v1beta1.json +++ b/v1.12.2-standalone/podsecuritypolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,7 +395,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -423,7 +450,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -469,7 +499,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -524,15 +557,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -562,11 +604,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicy-policy-v1beta1.json b/v1.12.2-standalone/podsecuritypolicy-policy-v1beta1.json index 7ffbd863b4..d2fc6eaedd 100644 --- a/v1.12.2-standalone/podsecuritypolicy-policy-v1beta1.json +++ b/v1.12.2-standalone/podsecuritypolicy-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,7 +395,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -423,7 +450,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -469,7 +499,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -524,15 +557,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -562,11 +604,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicy.json b/v1.12.2-standalone/podsecuritypolicy.json index 5a9a8a1a7b..7bff16c038 100644 --- a/v1.12.2-standalone/podsecuritypolicy.json +++ b/v1.12.2-standalone/podsecuritypolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -417,7 +444,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -463,7 +493,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -518,15 +551,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -556,11 +598,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicylist-extensions-v1beta1.json b/v1.12.2-standalone/podsecuritypolicylist-extensions-v1beta1.json index c4ad94c690..e776a6689f 100644 --- a/v1.12.2-standalone/podsecuritypolicylist-extensions-v1beta1.json +++ b/v1.12.2-standalone/podsecuritypolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -445,7 +472,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -491,7 +521,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -546,15 +579,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -584,11 +626,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicylist-policy-v1beta1.json b/v1.12.2-standalone/podsecuritypolicylist-policy-v1beta1.json index cf0ca211a2..6300a3dff1 100644 --- a/v1.12.2-standalone/podsecuritypolicylist-policy-v1beta1.json +++ b/v1.12.2-standalone/podsecuritypolicylist-policy-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -445,7 +472,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -491,7 +521,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -546,15 +579,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -584,11 +626,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicylist.json b/v1.12.2-standalone/podsecuritypolicylist.json index 1d8e46df3e..65fc4d866c 100644 --- a/v1.12.2-standalone/podsecuritypolicylist.json +++ b/v1.12.2-standalone/podsecuritypolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -436,7 +463,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -482,7 +512,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -537,15 +570,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -575,11 +617,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.2-standalone/podsecuritypolicyspec-extensions-v1beta1.json index 26e1672bb3..d1c5747129 100644 --- a/v1.12.2-standalone/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.2-standalone/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -61,7 +64,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -107,7 +113,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -162,15 +171,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -200,11 +218,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.2-standalone/podsecuritypolicyspec-policy-v1beta1.json index 5931f8a184..27191f304d 100644 --- a/v1.12.2-standalone/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.2-standalone/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -61,7 +64,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -107,7 +113,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -162,15 +171,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -200,11 +218,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsecuritypolicyspec.json b/v1.12.2-standalone/podsecuritypolicyspec.json index 5931f8a184..27191f304d 100644 --- a/v1.12.2-standalone/podsecuritypolicyspec.json +++ b/v1.12.2-standalone/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -61,7 +64,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -107,7 +113,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -162,15 +171,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -200,11 +218,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta1.json index e668896249..84afd943a5 100644 --- a/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta1.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +78,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta2.json index 65c3e50d01..d02be46199 100644 --- a/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/podsmetricsource-autoscaling-v2beta2.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/podsmetricsource.json b/v1.12.2-standalone/podsmetricsource.json index 65c3e50d01..d02be46199 100644 --- a/v1.12.2-standalone/podsmetricsource.json +++ b/v1.12.2-standalone/podsmetricsource.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta1.json index e24bdc17b9..1a1fb93140 100644 --- a/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -69,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta2.json index 98b6980fd6..2408d41193 100644 --- a/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/podsmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podsmetricstatus.json b/v1.12.2-standalone/podsmetricstatus.json index 98b6980fd6..2408d41193 100644 --- a/v1.12.2-standalone/podsmetricstatus.json +++ b/v1.12.2-standalone/podsmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/podspec-v1.json b/v1.12.2-standalone/podspec-v1.json index f2bdc33306..437c0d7d98 100644 --- a/v1.12.2-standalone/podspec-v1.json +++ b/v1.12.2-standalone/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -274,7 +277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -367,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -558,7 +570,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -594,7 +609,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -679,7 +697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -724,7 +745,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -753,7 +777,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -785,7 +812,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -808,7 +838,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -906,7 +939,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -941,7 +977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1023,7 +1062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1058,7 +1100,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1091,7 +1136,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1147,7 +1195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1162,17 +1213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1197,7 +1257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1205,7 +1268,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1240,7 +1306,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1285,7 +1354,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1341,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1356,17 +1431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1391,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1399,7 +1486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1409,7 +1499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1419,14 +1512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1436,7 +1535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1448,7 +1550,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1483,7 +1588,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1494,20 +1602,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1547,11 +1667,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1569,7 +1695,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1627,7 +1756,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1752,15 +1884,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1873,7 +2014,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1918,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1947,7 +2094,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1979,7 +2129,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2002,7 +2155,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2100,7 +2256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2135,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2217,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2252,7 +2417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2285,7 +2453,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2341,7 +2512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2356,17 +2530,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2391,7 +2574,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2399,7 +2585,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2434,7 +2623,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2479,7 +2671,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2535,7 +2730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2550,17 +2748,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2585,7 +2792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2593,7 +2803,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2603,7 +2816,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2613,14 +2829,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2630,7 +2852,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2642,7 +2867,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2677,7 +2905,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2688,20 +2919,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2741,11 +2984,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2763,7 +3012,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2821,7 +3073,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2856,7 +3111,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2866,7 +3124,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -2921,21 +3182,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2978,7 +3251,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3024,7 +3300,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3035,7 +3314,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3070,7 +3352,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3110,12 +3395,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3161,7 +3452,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3174,7 +3468,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3211,7 +3508,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3256,7 +3556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3281,7 +3584,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3303,7 +3609,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3322,7 +3631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3331,7 +3643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3367,7 +3682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3396,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3430,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3448,12 +3772,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3502,7 +3832,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3512,7 +3845,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3562,7 +3898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3571,7 +3910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3618,7 +3960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3651,11 +3996,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3702,7 +4053,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3739,7 +4093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3759,7 +4116,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3797,7 +4157,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3813,7 +4176,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3844,7 +4210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4232,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3903,7 +4275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3932,7 +4307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3969,7 +4347,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3988,7 +4369,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4007,7 +4391,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4037,7 +4424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4100,7 +4490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4151,7 +4544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4167,7 +4563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4201,7 +4600,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4625,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4258,7 +4666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podspec.json b/v1.12.2-standalone/podspec.json index f2bdc33306..437c0d7d98 100644 --- a/v1.12.2-standalone/podspec.json +++ b/v1.12.2-standalone/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -274,7 +277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -367,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -558,7 +570,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -594,7 +609,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -679,7 +697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -724,7 +745,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -753,7 +777,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -785,7 +812,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -808,7 +838,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -906,7 +939,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -941,7 +977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1023,7 +1062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1058,7 +1100,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1091,7 +1136,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1147,7 +1195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1162,17 +1213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1197,7 +1257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1205,7 +1268,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1240,7 +1306,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1285,7 +1354,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1341,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1356,17 +1431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1391,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1399,7 +1486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1409,7 +1499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1419,14 +1512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1436,7 +1535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1448,7 +1550,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1483,7 +1588,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1494,20 +1602,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1547,11 +1667,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1569,7 +1695,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1627,7 +1756,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1752,15 +1884,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1873,7 +2014,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1918,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1947,7 +2094,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1979,7 +2129,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2002,7 +2155,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2100,7 +2256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2135,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2217,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2252,7 +2417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2285,7 +2453,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2341,7 +2512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2356,17 +2530,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2391,7 +2574,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2399,7 +2585,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2434,7 +2623,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2479,7 +2671,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2535,7 +2730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2550,17 +2748,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2585,7 +2792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2593,7 +2803,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2603,7 +2816,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2613,14 +2829,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2630,7 +2852,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2642,7 +2867,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2677,7 +2905,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2688,20 +2919,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2741,11 +2984,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2763,7 +3012,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2821,7 +3073,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2856,7 +3111,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2866,7 +3124,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -2921,21 +3182,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2978,7 +3251,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3024,7 +3300,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3035,7 +3314,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3070,7 +3352,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3110,12 +3395,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3161,7 +3452,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3174,7 +3468,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3211,7 +3508,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3256,7 +3556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3281,7 +3584,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3303,7 +3609,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3322,7 +3631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3331,7 +3643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3367,7 +3682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3396,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3430,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3448,12 +3772,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3502,7 +3832,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3512,7 +3845,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3562,7 +3898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3571,7 +3910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3618,7 +3960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3651,11 +3996,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3702,7 +4053,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3739,7 +4093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3759,7 +4116,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3797,7 +4157,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3813,7 +4176,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3844,7 +4210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4232,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3903,7 +4275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3932,7 +4307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3969,7 +4347,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3988,7 +4369,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4007,7 +4391,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4037,7 +4424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4100,7 +4490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4151,7 +4544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4167,7 +4563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4201,7 +4600,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4625,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4258,7 +4666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podstatus-v1.json b/v1.12.2-standalone/podstatus-v1.json index ba6877fca4..d8b52c713a 100644 --- a/v1.12.2-standalone/podstatus-v1.json +++ b/v1.12.2-standalone/podstatus-v1.json @@ -146,7 +146,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -251,7 +254,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -384,7 +390,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -489,7 +498,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/podstatus.json b/v1.12.2-standalone/podstatus.json index ba6877fca4..d8b52c713a 100644 --- a/v1.12.2-standalone/podstatus.json +++ b/v1.12.2-standalone/podstatus.json @@ -146,7 +146,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -251,7 +254,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -384,7 +390,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -489,7 +498,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2-standalone/podtemplate-v1.json b/v1.12.2-standalone/podtemplate-v1.json index 7c3854fdbf..5674633940 100644 --- a/v1.12.2-standalone/podtemplate-v1.json +++ b/v1.12.2-standalone/podtemplate-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,7 +420,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -427,7 +457,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -469,7 +502,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -531,7 +567,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -613,7 +652,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -656,11 +698,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -710,7 +758,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -978,7 +1029,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1071,7 +1125,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1169,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1262,7 +1322,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1298,7 +1361,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1380,7 +1446,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1425,7 +1494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1454,7 +1526,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1486,7 +1561,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1509,7 +1587,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1607,7 +1688,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1642,7 +1726,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1724,7 +1811,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1759,7 +1849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1792,7 +1885,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1848,7 +1944,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,17 +1962,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1898,7 +2006,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1906,7 +2017,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1941,7 +2055,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1986,7 +2103,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2042,7 +2162,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2057,17 +2180,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2092,7 +2224,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2100,7 +2235,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2110,7 +2248,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2120,14 +2261,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2137,7 +2284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2149,7 +2299,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2184,7 +2337,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2195,20 +2351,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2248,11 +2416,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2270,7 +2444,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2328,7 +2505,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2453,15 +2633,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2574,7 +2763,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2619,7 +2811,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2648,7 +2843,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2680,7 +2878,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2703,7 +2904,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2801,7 +3005,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2836,7 +3043,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2918,7 +3128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2953,7 +3166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2986,7 +3202,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3042,7 +3261,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3057,17 +3279,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3092,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3100,7 +3334,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3135,7 +3372,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3180,7 +3420,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3236,7 +3479,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3251,17 +3497,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3286,7 +3541,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3294,7 +3552,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3304,7 +3565,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3314,14 +3578,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3331,7 +3601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3343,7 +3616,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3378,7 +3654,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3389,20 +3668,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3442,11 +3733,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3464,7 +3761,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3522,7 +3822,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3557,7 +3860,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3567,7 +3873,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3622,21 +3931,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3679,7 +4000,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3725,7 +4049,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3736,7 +4063,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3771,7 +4101,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3811,12 +4144,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3862,7 +4201,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3875,7 +4217,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3912,7 +4257,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3957,7 +4305,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3982,7 +4333,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4004,7 +4358,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4023,7 +4380,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4032,7 +4392,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4068,7 +4431,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4097,7 +4463,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4131,7 +4500,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4149,12 +4521,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4203,7 +4581,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4213,7 +4594,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4263,7 +4647,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4272,7 +4659,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4319,7 +4709,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4352,11 +4745,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4403,7 +4802,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4440,7 +4842,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4460,7 +4865,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4498,7 +4906,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4514,7 +4925,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4545,7 +4959,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4981,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4604,7 +5024,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4633,7 +5056,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4670,7 +5096,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4689,7 +5118,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4708,7 +5140,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4738,7 +5173,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4801,7 +5239,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4852,7 +5293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4868,7 +5312,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4902,7 +5349,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4924,7 +5374,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5389,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4959,7 +5415,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podtemplate.json b/v1.12.2-standalone/podtemplate.json index ce778f1a66..828c957779 100644 --- a/v1.12.2-standalone/podtemplate.json +++ b/v1.12.2-standalone/podtemplate.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -387,7 +414,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -421,7 +451,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -460,7 +493,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -522,7 +558,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -604,7 +643,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -647,11 +689,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -701,7 +749,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -969,7 +1020,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1116,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1160,7 +1217,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1253,7 +1313,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1289,7 +1352,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1371,7 +1437,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1416,7 +1485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1445,7 +1517,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1477,7 +1552,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1500,7 +1578,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1598,7 +1679,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1633,7 +1717,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1715,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1750,7 +1840,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1783,7 +1876,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1839,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1854,17 +1953,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1889,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1897,7 +2008,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1932,7 +2046,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1977,7 +2094,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2033,7 +2153,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2048,17 +2171,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2083,7 +2215,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2091,7 +2226,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2101,7 +2239,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2111,14 +2252,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2128,7 +2275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2140,7 +2290,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2175,7 +2328,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2186,20 +2342,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2239,11 +2407,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2261,7 +2435,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2319,7 +2496,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2444,15 +2624,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2565,7 +2754,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2610,7 +2802,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2639,7 +2834,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2671,7 +2869,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2694,7 +2895,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2792,7 +2996,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2827,7 +3034,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2909,7 +3119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2944,7 +3157,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2977,7 +3193,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3033,7 +3252,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3048,17 +3270,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3083,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3325,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3126,7 +3363,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3171,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3227,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3242,17 +3488,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3277,7 +3532,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3285,7 +3543,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3295,7 +3556,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3305,14 +3569,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3322,7 +3592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3334,7 +3607,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3369,7 +3645,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3380,20 +3659,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3433,11 +3724,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3455,7 +3752,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3513,7 +3813,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3548,7 +3851,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3558,7 +3864,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3613,21 +3922,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3670,7 +3991,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3716,7 +4040,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3727,7 +4054,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3762,7 +4092,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3802,12 +4135,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3853,7 +4192,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3866,7 +4208,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3903,7 +4248,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3948,7 +4296,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3973,7 +4324,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3995,7 +4349,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4014,7 +4371,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4023,7 +4383,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4059,7 +4422,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4088,7 +4454,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4122,7 +4491,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4140,12 +4512,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4194,7 +4572,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4204,7 +4585,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4254,7 +4638,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4263,7 +4650,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4310,7 +4700,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4343,11 +4736,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4394,7 +4793,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4431,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4451,7 +4856,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4489,7 +4897,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4505,7 +4916,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4536,7 +4950,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4555,7 +4972,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4595,7 +5015,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4624,7 +5047,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4661,7 +5087,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4680,7 +5109,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4699,7 +5131,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4729,7 +5164,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4792,7 +5230,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4843,7 +5284,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4859,7 +5303,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4893,7 +5340,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4915,7 +5365,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4927,7 +5380,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4950,7 +5406,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podtemplatelist-v1.json b/v1.12.2-standalone/podtemplatelist-v1.json index 9d5231efa0..9cc978c193 100644 --- a/v1.12.2-standalone/podtemplatelist-v1.json +++ b/v1.12.2-standalone/podtemplatelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -415,7 +442,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -449,7 +479,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -491,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -553,7 +589,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -635,7 +674,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -678,11 +720,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -732,7 +780,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1000,7 +1051,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1093,7 +1147,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1191,7 +1248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1284,7 +1344,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1320,7 +1383,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1402,7 +1468,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1447,7 +1516,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1476,7 +1548,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1508,7 +1583,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1531,7 +1609,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1629,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1664,7 +1748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1746,7 +1833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1814,7 +1907,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1870,7 +1966,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1885,17 +1984,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1920,7 +2028,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1928,7 +2039,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1963,7 +2077,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2008,7 +2125,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2064,7 +2184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2079,17 +2202,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2114,7 +2246,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2122,7 +2257,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2132,7 +2270,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2142,14 +2283,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2159,7 +2306,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2171,7 +2321,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2206,7 +2359,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2217,20 +2373,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2270,11 +2438,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2292,7 +2466,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2350,7 +2527,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2475,15 +2655,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2596,7 +2785,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2641,7 +2833,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2670,7 +2865,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2702,7 +2900,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2725,7 +2926,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2823,7 +3027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2858,7 +3065,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2940,7 +3150,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2975,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3008,7 +3224,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3064,7 +3283,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3079,17 +3301,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3114,7 +3345,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3122,7 +3356,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3157,7 +3394,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3202,7 +3442,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3258,7 +3501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3273,17 +3519,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3308,7 +3563,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3316,7 +3574,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3326,7 +3587,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3336,14 +3600,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3353,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3365,7 +3638,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3400,7 +3676,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3411,20 +3690,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3464,11 +3755,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3486,7 +3783,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3544,7 +3844,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3579,7 +3882,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3589,7 +3895,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3644,21 +3953,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3701,7 +4022,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3747,7 +4071,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3758,7 +4085,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3793,7 +4123,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3833,12 +4166,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3884,7 +4223,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3897,7 +4239,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3934,7 +4279,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3979,7 +4327,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4004,7 +4355,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4026,7 +4380,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4045,7 +4402,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4054,7 +4414,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4090,7 +4453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4119,7 +4485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4153,7 +4522,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4171,12 +4543,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4225,7 +4603,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4235,7 +4616,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4285,7 +4669,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4294,7 +4681,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4341,7 +4731,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4374,11 +4767,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4425,7 +4824,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4462,7 +4864,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4482,7 +4887,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4520,7 +4928,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4536,7 +4947,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4567,7 +4981,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4586,7 +5003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5046,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4655,7 +5078,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4692,7 +5118,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5140,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4730,7 +5162,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4760,7 +5195,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4823,7 +5261,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4874,7 +5315,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4890,7 +5334,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4924,7 +5371,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4946,7 +5396,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4958,7 +5411,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4981,7 +5437,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podtemplatelist.json b/v1.12.2-standalone/podtemplatelist.json index ef4af45fc8..74fadfe156 100644 --- a/v1.12.2-standalone/podtemplatelist.json +++ b/v1.12.2-standalone/podtemplatelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +405,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,7 +433,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -440,7 +470,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -479,7 +512,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -541,7 +577,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -623,7 +662,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -666,11 +708,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -720,7 +768,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -988,7 +1039,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1081,7 +1135,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1179,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1272,7 +1332,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1308,7 +1371,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1390,7 +1456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1435,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1464,7 +1536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1496,7 +1571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1519,7 +1597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1617,7 +1698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1652,7 +1736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1734,7 +1821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1769,7 +1859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1802,7 +1895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1858,7 +1954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1873,17 +1972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1908,7 +2016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1916,7 +2027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1951,7 +2065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1996,7 +2113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2052,7 +2172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2067,17 +2190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2102,7 +2234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2110,7 +2245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2120,7 +2258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2130,14 +2271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2147,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2159,7 +2309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2194,7 +2347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2205,20 +2361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2258,11 +2426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2280,7 +2454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2338,7 +2515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2463,15 +2643,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2584,7 +2773,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2629,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2658,7 +2853,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2690,7 +2888,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2713,7 +2914,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2811,7 +3015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2846,7 +3053,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2928,7 +3138,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2963,7 +3176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2996,7 +3212,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3052,7 +3271,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3067,17 +3289,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3102,7 +3333,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3344,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3145,7 +3382,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3190,7 +3430,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3246,7 +3489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3261,17 +3507,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3296,7 +3551,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3304,7 +3562,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3314,7 +3575,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3324,14 +3588,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3341,7 +3611,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3353,7 +3626,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3388,7 +3664,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3399,20 +3678,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3452,11 +3743,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3474,7 +3771,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3532,7 +3832,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3567,7 +3870,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3577,7 +3883,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3632,21 +3941,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3689,7 +4010,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3735,7 +4059,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3746,7 +4073,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3781,7 +4111,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3821,12 +4154,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3872,7 +4211,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3885,7 +4227,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3922,7 +4267,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3967,7 +4315,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3992,7 +4343,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4014,7 +4368,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4033,7 +4390,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4042,7 +4402,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4078,7 +4441,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4107,7 +4473,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4141,7 +4510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4159,12 +4531,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4213,7 +4591,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4223,7 +4604,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4273,7 +4657,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4282,7 +4669,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4329,7 +4719,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4362,11 +4755,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4413,7 +4812,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4450,7 +4852,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4470,7 +4875,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4508,7 +4916,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4524,7 +4935,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4555,7 +4969,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4574,7 +4991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4614,7 +5034,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4643,7 +5066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4680,7 +5106,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4699,7 +5128,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4718,7 +5150,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4748,7 +5183,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4811,7 +5249,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4862,7 +5303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4878,7 +5322,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4912,7 +5359,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4934,7 +5384,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4946,7 +5399,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4969,7 +5425,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podtemplatespec-v1.json b/v1.12.2-standalone/podtemplatespec-v1.json index 492b22f2b6..f91bfc53db 100644 --- a/v1.12.2-standalone/podtemplatespec-v1.json +++ b/v1.12.2-standalone/podtemplatespec-v1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -107,7 +116,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -169,7 +181,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -348,7 +372,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -616,7 +643,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -709,7 +739,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -807,7 +840,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -900,7 +936,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -936,7 +975,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1018,7 +1060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1063,7 +1108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1092,7 +1140,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1147,7 +1201,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1245,7 +1302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1280,7 +1340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1362,7 +1425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1397,7 +1463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1430,7 +1499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1486,7 +1558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1501,17 +1576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1536,7 +1620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1544,7 +1631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1579,7 +1669,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1624,7 +1717,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1680,7 +1776,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1695,17 +1794,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1730,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1738,7 +1849,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1748,7 +1862,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1758,14 +1875,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1775,7 +1898,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1787,7 +1913,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1822,7 +1951,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1833,20 +1965,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1886,11 +2030,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1908,7 +2058,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1966,7 +2119,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2091,15 +2247,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2212,7 +2377,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2257,7 +2425,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2286,7 +2457,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2318,7 +2492,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2341,7 +2518,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2439,7 +2619,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2474,7 +2657,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2556,7 +2742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2591,7 +2780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2624,7 +2816,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2680,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2695,17 +2893,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2730,7 +2937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2738,7 +2948,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2773,7 +2986,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2818,7 +3034,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2874,7 +3093,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2889,17 +3111,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2924,7 +3155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2932,7 +3166,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2942,7 +3179,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2952,14 +3192,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2969,7 +3215,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2981,7 +3230,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3016,7 +3268,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3027,20 +3282,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3080,11 +3347,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3102,7 +3375,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3160,7 +3436,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3195,7 +3474,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3205,7 +3487,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3260,21 +3545,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3317,7 +3614,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3363,7 +3663,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3374,7 +3677,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3409,7 +3715,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3449,12 +3758,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3500,7 +3815,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3513,7 +3831,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3550,7 +3871,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3595,7 +3919,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3620,7 +3947,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3642,7 +3972,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3661,7 +3994,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3670,7 +4006,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3706,7 +4045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3735,7 +4077,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3769,7 +4114,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3787,12 +4135,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3841,7 +4195,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3851,7 +4208,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3901,7 +4261,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3910,7 +4273,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3957,7 +4323,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3990,11 +4359,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4041,7 +4416,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4078,7 +4456,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4098,7 +4479,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4136,7 +4520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4152,7 +4539,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4183,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4202,7 +4595,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4242,7 +4638,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4271,7 +4670,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4308,7 +4710,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4327,7 +4732,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4346,7 +4754,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4376,7 +4787,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4439,7 +4853,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4490,7 +4907,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4506,7 +4926,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4540,7 +4963,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4562,7 +4988,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4574,7 +5003,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4597,7 +5029,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/podtemplatespec.json b/v1.12.2-standalone/podtemplatespec.json index 2163c5353e..67ca944cff 100644 --- a/v1.12.2-standalone/podtemplatespec.json +++ b/v1.12.2-standalone/podtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -104,7 +113,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -166,7 +178,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -248,7 +263,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,11 +309,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -345,7 +369,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -613,7 +640,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -706,7 +736,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +837,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -897,7 +933,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -933,7 +972,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1015,7 +1057,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1060,7 +1105,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1089,7 +1137,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1121,7 +1172,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1144,7 +1198,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1242,7 +1299,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1277,7 +1337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1359,7 +1422,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1394,7 +1460,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1427,7 +1496,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1483,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1498,17 +1573,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1533,7 +1617,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1541,7 +1628,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1576,7 +1666,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1621,7 +1714,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1677,7 +1773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1692,17 +1791,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1727,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1735,7 +1846,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1745,7 +1859,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1755,14 +1872,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1772,7 +1895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1784,7 +1910,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1819,7 +1948,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1830,20 +1962,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1883,11 +2027,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1905,7 +2055,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1963,7 +2116,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2088,15 +2244,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2209,7 +2374,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2254,7 +2422,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2283,7 +2454,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2315,7 +2489,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2338,7 +2515,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2436,7 +2616,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2471,7 +2654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2553,7 +2739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2588,7 +2777,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2621,7 +2813,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2677,7 +2872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2692,17 +2890,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2727,7 +2934,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2735,7 +2945,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2770,7 +2983,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2815,7 +3031,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2871,7 +3090,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2886,17 +3108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2921,7 +3152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2929,7 +3163,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2939,7 +3176,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2949,14 +3189,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2966,7 +3212,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2978,7 +3227,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3013,7 +3265,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3024,20 +3279,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3077,11 +3344,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3099,7 +3372,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3157,7 +3433,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3192,7 +3471,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3202,7 +3484,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3257,21 +3542,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3314,7 +3611,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3360,7 +3660,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3371,7 +3674,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3406,7 +3712,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3446,12 +3755,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3497,7 +3812,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3510,7 +3828,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3547,7 +3868,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3592,7 +3916,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3617,7 +3944,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3639,7 +3969,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3658,7 +3991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3667,7 +4003,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3703,7 +4042,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3732,7 +4074,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3766,7 +4111,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3784,12 +4132,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3838,7 +4192,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3848,7 +4205,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3898,7 +4258,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3907,7 +4270,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3954,7 +4320,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3987,11 +4356,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4038,7 +4413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4075,7 +4453,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4095,7 +4476,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4133,7 +4517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4149,7 +4536,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4180,7 +4570,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4199,7 +4592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4239,7 +4635,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4268,7 +4667,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4305,7 +4707,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4324,7 +4729,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4343,7 +4751,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4373,7 +4784,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4436,7 +4850,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4487,7 +4904,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4503,7 +4923,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4537,7 +4960,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4559,7 +4985,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4571,7 +5000,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4594,7 +5026,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/portworxvolumesource-v1.json b/v1.12.2-standalone/portworxvolumesource-v1.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.2-standalone/portworxvolumesource-v1.json +++ b/v1.12.2-standalone/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2-standalone/portworxvolumesource.json b/v1.12.2-standalone/portworxvolumesource.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.2-standalone/portworxvolumesource.json +++ b/v1.12.2-standalone/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2-standalone/preferredschedulingterm-v1.json b/v1.12.2-standalone/preferredschedulingterm-v1.json index 0cf18bab7e..d021b432b4 100644 --- a/v1.12.2-standalone/preferredschedulingterm-v1.json +++ b/v1.12.2-standalone/preferredschedulingterm-v1.json @@ -86,7 +86,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/preferredschedulingterm.json b/v1.12.2-standalone/preferredschedulingterm.json index 0cf18bab7e..d021b432b4 100644 --- a/v1.12.2-standalone/preferredschedulingterm.json +++ b/v1.12.2-standalone/preferredschedulingterm.json @@ -86,7 +86,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/priorityclass-scheduling-v1alpha1.json b/v1.12.2-standalone/priorityclass-scheduling-v1alpha1.json index 14001226d6..4bc81639fb 100644 --- a/v1.12.2-standalone/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.2-standalone/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +218,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -285,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -328,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +403,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/priorityclass-scheduling-v1beta1.json b/v1.12.2-standalone/priorityclass-scheduling-v1beta1.json index 9cfb3a26db..e516ebdf1c 100644 --- a/v1.12.2-standalone/priorityclass-scheduling-v1beta1.json +++ b/v1.12.2-standalone/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +218,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -285,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -328,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +403,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/priorityclass.json b/v1.12.2-standalone/priorityclass.json index 51aa295f7b..719c99c1c4 100644 --- a/v1.12.2-standalone/priorityclass.json +++ b/v1.12.2-standalone/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -135,7 +147,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -197,7 +212,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -279,7 +297,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -322,11 +343,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +397,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/priorityclasslist-scheduling-v1alpha1.json b/v1.12.2-standalone/priorityclasslist-scheduling-v1alpha1.json index 82e9d8b84c..b6cd464a32 100644 --- a/v1.12.2-standalone/priorityclasslist-scheduling-v1alpha1.json +++ b/v1.12.2-standalone/priorityclasslist-scheduling-v1alpha1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +175,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +240,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +325,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +371,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/priorityclasslist-scheduling-v1beta1.json b/v1.12.2-standalone/priorityclasslist-scheduling-v1beta1.json index cdc346eaad..e16fac8cb0 100644 --- a/v1.12.2-standalone/priorityclasslist-scheduling-v1beta1.json +++ b/v1.12.2-standalone/priorityclasslist-scheduling-v1beta1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +175,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +240,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +325,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +371,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/priorityclasslist.json b/v1.12.2-standalone/priorityclasslist.json index a1ddf9a99b..dc26ba76f6 100644 --- a/v1.12.2-standalone/priorityclasslist.json +++ b/v1.12.2-standalone/priorityclasslist.json @@ -39,7 +39,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -56,7 +59,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -81,7 +87,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -115,7 +124,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -154,7 +166,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +231,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +316,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +362,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/probe-v1.json b/v1.12.2-standalone/probe-v1.json index d934e4c81b..508c30ea6f 100644 --- a/v1.12.2-standalone/probe-v1.json +++ b/v1.12.2-standalone/probe-v1.json @@ -21,7 +21,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -92,17 +98,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -135,7 +153,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/probe.json b/v1.12.2-standalone/probe.json index d934e4c81b..508c30ea6f 100644 --- a/v1.12.2-standalone/probe.json +++ b/v1.12.2-standalone/probe.json @@ -21,7 +21,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -92,17 +98,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -135,7 +153,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/projectedvolumesource-v1.json b/v1.12.2-standalone/projectedvolumesource-v1.json index 40498b467a..2ef76130b6 100644 --- a/v1.12.2-standalone/projectedvolumesource-v1.json +++ b/v1.12.2-standalone/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -59,7 +65,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -99,7 +108,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -128,7 +140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -165,7 +180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -184,7 +202,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -203,7 +224,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone/projectedvolumesource.json b/v1.12.2-standalone/projectedvolumesource.json index 40498b467a..2ef76130b6 100644 --- a/v1.12.2-standalone/projectedvolumesource.json +++ b/v1.12.2-standalone/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -59,7 +65,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -99,7 +108,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -128,7 +140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -165,7 +180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -184,7 +202,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -203,7 +224,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone/quantity-resource.json b/v1.12.2-standalone/quantity-resource.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.2-standalone/quantity-resource.json +++ b/v1.12.2-standalone/quantity-resource.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/quantity.json b/v1.12.2-standalone/quantity.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.2-standalone/quantity.json +++ b/v1.12.2-standalone/quantity.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/quobytevolumesource-v1.json b/v1.12.2-standalone/quobytevolumesource-v1.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.2-standalone/quobytevolumesource-v1.json +++ b/v1.12.2-standalone/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2-standalone/quobytevolumesource.json b/v1.12.2-standalone/quobytevolumesource.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.2-standalone/quobytevolumesource.json +++ b/v1.12.2-standalone/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2-standalone/rbdpersistentvolumesource-v1.json b/v1.12.2-standalone/rbdpersistentvolumesource-v1.json index 8c7da15d7d..18ead06e8d 100644 --- a/v1.12.2-standalone/rbdpersistentvolumesource-v1.json +++ b/v1.12.2-standalone/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/rbdpersistentvolumesource.json b/v1.12.2-standalone/rbdpersistentvolumesource.json index 8c7da15d7d..18ead06e8d 100644 --- a/v1.12.2-standalone/rbdpersistentvolumesource.json +++ b/v1.12.2-standalone/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.2-standalone/rbdvolumesource-v1.json b/v1.12.2-standalone/rbdvolumesource-v1.json index 1c94b25b8a..888f0ed49f 100644 --- a/v1.12.2-standalone/rbdvolumesource-v1.json +++ b/v1.12.2-standalone/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/rbdvolumesource.json b/v1.12.2-standalone/rbdvolumesource.json index 1c94b25b8a..888f0ed49f 100644 --- a/v1.12.2-standalone/rbdvolumesource.json +++ b/v1.12.2-standalone/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicaset-apps-v1.json b/v1.12.2-standalone/replicaset-apps-v1.json index 39e02125ae..b8bd7009da 100644 --- a/v1.12.2-standalone/replicaset-apps-v1.json +++ b/v1.12.2-standalone/replicaset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,12 +392,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -497,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -539,7 +581,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -683,7 +731,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,11 +777,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -780,7 +837,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1048,7 +1108,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1141,7 +1204,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1239,7 +1305,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1332,7 +1401,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1440,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1450,7 +1525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1495,7 +1573,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1605,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1556,7 +1640,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1579,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1677,7 +1767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1712,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1794,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1862,7 +1964,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1918,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1933,17 +2041,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1968,7 +2085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1976,7 +2096,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2011,7 +2134,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2056,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2127,17 +2259,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2162,7 +2303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2170,7 +2314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2180,7 +2327,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2190,14 +2340,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,7 +2363,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2219,7 +2378,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2254,7 +2416,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2265,20 +2430,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2318,11 +2495,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2340,7 +2523,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2398,7 +2584,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2523,15 +2712,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2644,7 +2842,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2689,7 +2890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2718,7 +2922,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2750,7 +2957,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2773,7 +2983,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2871,7 +3084,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2906,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2988,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3056,7 +3281,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3112,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,17 +3358,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3162,7 +3402,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3205,7 +3451,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3250,7 +3499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3306,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3321,17 +3576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3356,7 +3620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3364,7 +3631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3374,7 +3644,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3384,14 +3657,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3401,7 +3680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3413,7 +3695,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3448,7 +3733,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3459,20 +3747,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3512,11 +3812,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3534,7 +3840,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3592,7 +3901,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3627,7 +3939,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3637,7 +3952,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3692,21 +4010,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3749,7 +4079,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3795,7 +4128,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3806,7 +4142,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3841,7 +4180,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3881,12 +4223,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3932,7 +4280,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3945,7 +4296,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3982,7 +4336,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4074,7 +4437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4093,7 +4459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4102,7 +4471,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4167,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4201,7 +4579,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4219,12 +4600,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4273,7 +4660,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4283,7 +4673,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4333,7 +4726,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4342,7 +4738,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4389,7 +4788,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,11 +4824,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4473,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4530,7 +4944,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4568,7 +4985,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4584,7 +5004,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4615,7 +5038,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4634,7 +5060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4674,7 +5103,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5135,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4740,7 +5175,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4759,7 +5197,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4778,7 +5219,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4808,7 +5252,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4871,7 +5318,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4922,7 +5372,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4938,7 +5391,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4972,7 +5428,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4994,7 +5453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5006,7 +5468,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5029,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5579,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5164,17 +5635,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicaset-apps-v1beta2.json b/v1.12.2-standalone/replicaset-apps-v1beta2.json index a8e7794446..6160b29ee6 100644 --- a/v1.12.2-standalone/replicaset-apps-v1beta2.json +++ b/v1.12.2-standalone/replicaset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,12 +392,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -497,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -539,7 +581,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -683,7 +731,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,11 +777,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -780,7 +837,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1048,7 +1108,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1141,7 +1204,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1239,7 +1305,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1332,7 +1401,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1440,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1450,7 +1525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1495,7 +1573,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1605,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1556,7 +1640,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1579,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1677,7 +1767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1712,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1794,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1862,7 +1964,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1918,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1933,17 +2041,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1968,7 +2085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1976,7 +2096,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2011,7 +2134,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2056,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2127,17 +2259,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2162,7 +2303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2170,7 +2314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2180,7 +2327,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2190,14 +2340,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,7 +2363,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2219,7 +2378,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2254,7 +2416,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2265,20 +2430,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2318,11 +2495,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2340,7 +2523,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2398,7 +2584,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2523,15 +2712,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2644,7 +2842,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2689,7 +2890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2718,7 +2922,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2750,7 +2957,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2773,7 +2983,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2871,7 +3084,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2906,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2988,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3056,7 +3281,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3112,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,17 +3358,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3162,7 +3402,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3205,7 +3451,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3250,7 +3499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3306,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3321,17 +3576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3356,7 +3620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3364,7 +3631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3374,7 +3644,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3384,14 +3657,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3401,7 +3680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3413,7 +3695,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3448,7 +3733,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3459,20 +3747,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3512,11 +3812,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3534,7 +3840,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3592,7 +3901,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3627,7 +3939,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3637,7 +3952,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3692,21 +4010,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3749,7 +4079,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3795,7 +4128,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3806,7 +4142,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3841,7 +4180,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3881,12 +4223,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3932,7 +4280,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3945,7 +4296,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3982,7 +4336,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4074,7 +4437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4093,7 +4459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4102,7 +4471,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4167,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4201,7 +4579,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4219,12 +4600,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4273,7 +4660,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4283,7 +4673,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4333,7 +4726,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4342,7 +4738,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4389,7 +4788,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,11 +4824,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4473,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4530,7 +4944,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4568,7 +4985,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4584,7 +5004,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4615,7 +5038,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4634,7 +5060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4674,7 +5103,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5135,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4740,7 +5175,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4759,7 +5197,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4778,7 +5219,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4808,7 +5252,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4871,7 +5318,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4922,7 +5372,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4938,7 +5391,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4972,7 +5428,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4994,7 +5453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5006,7 +5468,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5029,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5579,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5164,17 +5635,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicaset-extensions-v1beta1.json b/v1.12.2-standalone/replicaset-extensions-v1beta1.json index 359d098950..c69d094760 100644 --- a/v1.12.2-standalone/replicaset-extensions-v1beta1.json +++ b/v1.12.2-standalone/replicaset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,12 +389,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -417,7 +447,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -435,7 +468,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +496,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -494,7 +533,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -536,7 +578,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -598,7 +643,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -680,7 +728,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -723,11 +774,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -777,7 +834,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1045,7 +1105,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1138,7 +1201,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1236,7 +1302,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1329,7 +1398,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1365,7 +1437,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1447,7 +1522,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1492,7 +1570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1521,7 +1602,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1553,7 +1637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1576,7 +1663,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1674,7 +1764,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1709,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1791,7 +1887,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1826,7 +1925,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1859,7 +1961,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1915,7 +2020,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1930,17 +2038,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1965,7 +2082,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1973,7 +2093,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2008,7 +2131,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2053,7 +2179,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2109,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2124,17 +2256,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2159,7 +2300,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2167,7 +2311,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2177,7 +2324,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2187,14 +2337,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2204,7 +2360,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2216,7 +2375,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2251,7 +2413,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2262,20 +2427,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2315,11 +2492,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2337,7 +2520,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2395,7 +2581,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2520,15 +2709,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2641,7 +2839,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2686,7 +2887,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2715,7 +2919,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2747,7 +2954,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2770,7 +2980,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2868,7 +3081,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2903,7 +3119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2985,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3020,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3053,7 +3278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3109,7 +3337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3124,17 +3355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3159,7 +3399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3167,7 +3410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3202,7 +3448,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3247,7 +3496,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3303,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3318,17 +3573,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3353,7 +3617,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3361,7 +3628,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3371,7 +3641,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3381,14 +3654,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3398,7 +3677,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3410,7 +3692,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3445,7 +3730,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3456,20 +3744,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3509,11 +3809,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3531,7 +3837,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3589,7 +3898,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3624,7 +3936,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3634,7 +3949,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3689,21 +4007,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3746,7 +4076,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3792,7 +4125,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3803,7 +4139,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3838,7 +4177,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3878,12 +4220,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3929,7 +4277,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3942,7 +4293,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3979,7 +4333,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4024,7 +4381,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4049,7 +4409,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4071,7 +4434,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4090,7 +4456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4099,7 +4468,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4135,7 +4507,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4164,7 +4539,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4198,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4216,12 +4597,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4270,7 +4657,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4280,7 +4670,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4330,7 +4723,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4339,7 +4735,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4386,7 +4785,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4419,11 +4821,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4470,7 +4878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4507,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4527,7 +4941,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4565,7 +4982,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4581,7 +5001,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4612,7 +5035,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4631,7 +5057,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4671,7 +5100,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4700,7 +5132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4737,7 +5172,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4756,7 +5194,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4775,7 +5216,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4805,7 +5249,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4868,7 +5315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4919,7 +5369,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5388,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4969,7 +5425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4991,7 +5450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5003,7 +5465,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5026,7 +5491,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5108,7 +5576,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5161,17 +5632,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicaset.json b/v1.12.2-standalone/replicaset.json index e9d362300d..49d9c17ab3 100644 --- a/v1.12.2-standalone/replicaset.json +++ b/v1.12.2-standalone/replicaset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,12 +383,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -411,7 +441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -429,7 +462,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +490,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -488,7 +527,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -527,7 +569,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -589,7 +634,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -671,7 +719,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -714,11 +765,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -768,7 +825,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1036,7 +1096,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1129,7 +1192,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1227,7 +1293,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1320,7 +1389,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1356,7 +1428,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1438,7 +1513,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1483,7 +1561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1512,7 +1593,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1544,7 +1628,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1567,7 +1654,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1665,7 +1755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,7 +1793,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1782,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1817,7 +1916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1850,7 +1952,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1906,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1921,17 +2029,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1956,7 +2073,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1964,7 +2084,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1999,7 +2122,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2044,7 +2170,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2100,7 +2229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2115,17 +2247,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2150,7 +2291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2158,7 +2302,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2168,7 +2315,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2178,14 +2328,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2195,7 +2351,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2207,7 +2366,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2242,7 +2404,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2253,20 +2418,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2306,11 +2483,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2328,7 +2511,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2386,7 +2572,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2511,15 +2700,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2632,7 +2830,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2677,7 +2878,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2706,7 +2910,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2738,7 +2945,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2761,7 +2971,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2859,7 +3072,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2894,7 +3110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2976,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3233,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3044,7 +3269,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3100,7 +3328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3115,17 +3346,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3150,7 +3390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3158,7 +3401,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3193,7 +3439,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3238,7 +3487,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3294,7 +3546,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3309,17 +3564,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3344,7 +3608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3352,7 +3619,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3362,7 +3632,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3372,14 +3645,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3389,7 +3668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3401,7 +3683,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3436,7 +3721,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3447,20 +3735,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3500,11 +3800,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3522,7 +3828,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3580,7 +3889,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3615,7 +3927,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3625,7 +3940,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3680,21 +3998,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3737,7 +4067,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3783,7 +4116,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3794,7 +4130,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3829,7 +4168,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3869,12 +4211,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3920,7 +4268,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3933,7 +4284,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3970,7 +4324,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4015,7 +4372,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4040,7 +4400,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4062,7 +4425,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4081,7 +4447,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4090,7 +4459,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4126,7 +4498,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4155,7 +4530,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4189,7 +4567,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4207,12 +4588,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4261,7 +4648,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4271,7 +4661,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4714,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4330,7 +4726,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4377,7 +4776,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4410,11 +4812,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4461,7 +4869,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4498,7 +4909,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4518,7 +4932,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4556,7 +4973,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4572,7 +4992,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4603,7 +5026,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4622,7 +5048,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4662,7 +5091,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4691,7 +5123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4728,7 +5163,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4747,7 +5185,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4766,7 +5207,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4796,7 +5240,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4859,7 +5306,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4910,7 +5360,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4926,7 +5379,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4960,7 +5416,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4982,7 +5441,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4994,7 +5456,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5017,7 +5482,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5099,7 +5567,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5152,17 +5623,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicasetlist-apps-v1.json b/v1.12.2-standalone/replicasetlist-apps-v1.json index 9497ef9917..81fc21c0b4 100644 --- a/v1.12.2-standalone/replicasetlist-apps-v1.json +++ b/v1.12.2-standalone/replicasetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,12 +414,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5601,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5186,17 +5657,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicasetlist-apps-v1beta2.json b/v1.12.2-standalone/replicasetlist-apps-v1beta2.json index 36720af243..89a2b91b0e 100644 --- a/v1.12.2-standalone/replicasetlist-apps-v1beta2.json +++ b/v1.12.2-standalone/replicasetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,12 +414,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5601,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5186,17 +5657,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicasetlist-extensions-v1beta1.json b/v1.12.2-standalone/replicasetlist-extensions-v1beta1.json index d96e5e64a2..f00d54a7c7 100644 --- a/v1.12.2-standalone/replicasetlist-extensions-v1beta1.json +++ b/v1.12.2-standalone/replicasetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,12 +411,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -439,7 +469,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +490,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +518,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -516,7 +555,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -558,7 +600,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -620,7 +665,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -702,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -745,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -799,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1067,7 +1127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1160,7 +1223,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1258,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1351,7 +1420,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1387,7 +1459,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1469,7 +1544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1514,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1543,7 +1624,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1575,7 +1659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1598,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1696,7 +1786,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1731,7 +1824,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1813,7 +1909,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1848,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1881,7 +1983,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1937,7 +2042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1952,17 +2060,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1987,7 +2104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1995,7 +2115,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2030,7 +2153,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2075,7 +2201,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2131,7 +2260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2146,17 +2278,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2181,7 +2322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2189,7 +2333,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2199,7 +2346,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2209,14 +2359,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2226,7 +2382,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2238,7 +2397,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2273,7 +2435,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2284,20 +2449,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2337,11 +2514,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2359,7 +2542,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2417,7 +2603,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2542,15 +2731,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2663,7 +2861,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2708,7 +2909,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2737,7 +2941,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2769,7 +2976,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2792,7 +3002,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2890,7 +3103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2925,7 +3141,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3007,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3042,7 +3264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3075,7 +3300,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3131,7 +3359,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3146,17 +3377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3181,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3189,7 +3432,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3224,7 +3470,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3269,7 +3518,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3325,7 +3577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3340,17 +3595,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3375,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3383,7 +3650,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3393,7 +3663,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3403,14 +3676,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3420,7 +3699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3432,7 +3714,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3467,7 +3752,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3478,20 +3766,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3531,11 +3831,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3553,7 +3859,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3611,7 +3920,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3646,7 +3958,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3656,7 +3971,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3711,21 +4029,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3768,7 +4098,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3814,7 +4147,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3825,7 +4161,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3860,7 +4199,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3900,12 +4242,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3951,7 +4299,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3964,7 +4315,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4001,7 +4355,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4046,7 +4403,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4071,7 +4431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4093,7 +4456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4112,7 +4478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4121,7 +4490,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4157,7 +4529,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4186,7 +4561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4220,7 +4598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4238,12 +4619,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4292,7 +4679,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4302,7 +4692,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4352,7 +4745,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4361,7 +4757,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4408,7 +4807,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4441,11 +4843,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4492,7 +4900,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4529,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4549,7 +4963,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4587,7 +5004,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4603,7 +5023,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4634,7 +5057,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4653,7 +5079,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4693,7 +5122,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4722,7 +5154,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4759,7 +5194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4778,7 +5216,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4797,7 +5238,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4827,7 +5271,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4890,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4941,7 +5391,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4957,7 +5410,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4991,7 +5447,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5013,7 +5472,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5025,7 +5487,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5048,7 +5513,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5130,7 +5598,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5183,17 +5654,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicasetlist.json b/v1.12.2-standalone/replicasetlist.json index 77f4fdf0c6..5f71866c78 100644 --- a/v1.12.2-standalone/replicasetlist.json +++ b/v1.12.2-standalone/replicasetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,12 +402,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -546,7 +588,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -608,7 +653,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -690,7 +738,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -733,11 +784,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -787,7 +844,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1055,7 +1115,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1148,7 +1211,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1246,7 +1312,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1339,7 +1408,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1375,7 +1447,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1457,7 +1532,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1502,7 +1580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1531,7 +1612,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1563,7 +1647,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1586,7 +1673,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1684,7 +1774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1719,7 +1812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1801,7 +1897,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1836,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1869,7 +1971,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1925,7 +2030,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1940,17 +2048,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1975,7 +2092,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1983,7 +2103,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2018,7 +2141,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2063,7 +2189,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2119,7 +2248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2134,17 +2266,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2169,7 +2310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2177,7 +2321,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2187,7 +2334,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2197,14 +2347,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2214,7 +2370,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2226,7 +2385,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2261,7 +2423,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2272,20 +2437,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2325,11 +2502,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2347,7 +2530,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2405,7 +2591,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2530,15 +2719,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2651,7 +2849,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2696,7 +2897,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2725,7 +2929,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2757,7 +2964,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2780,7 +2990,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2878,7 +3091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2913,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2995,7 +3214,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3030,7 +3252,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3063,7 +3288,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3119,7 +3347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3134,17 +3365,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3169,7 +3409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3420,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3212,7 +3458,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3257,7 +3506,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3313,7 +3565,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3583,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3371,7 +3638,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3381,7 +3651,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3391,14 +3664,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3408,7 +3687,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3420,7 +3702,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3455,7 +3740,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3466,20 +3754,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3519,11 +3819,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3541,7 +3847,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3599,7 +3908,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3634,7 +3946,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3644,7 +3959,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3699,21 +4017,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3756,7 +4086,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3802,7 +4135,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3813,7 +4149,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3848,7 +4187,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3888,12 +4230,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3939,7 +4287,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3952,7 +4303,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3989,7 +4343,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4034,7 +4391,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4059,7 +4419,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4081,7 +4444,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4100,7 +4466,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4109,7 +4478,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4145,7 +4517,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4174,7 +4549,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4208,7 +4586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4226,12 +4607,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4280,7 +4667,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4290,7 +4680,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4340,7 +4733,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4349,7 +4745,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4396,7 +4795,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4429,11 +4831,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4480,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4517,7 +4928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4537,7 +4951,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4575,7 +4992,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4591,7 +5011,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4622,7 +5045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5067,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4681,7 +5110,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4710,7 +5142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4747,7 +5182,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4766,7 +5204,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4785,7 +5226,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4815,7 +5259,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4878,7 +5325,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4929,7 +5379,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5398,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4979,7 +5435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5001,7 +5460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5013,7 +5475,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5036,7 +5501,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5118,7 +5586,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5171,17 +5642,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicasetspec-apps-v1.json b/v1.12.2-standalone/replicasetspec-apps-v1.json index 70bce57ef3..c26757f8b3 100644 --- a/v1.12.2-standalone/replicasetspec-apps-v1.json +++ b/v1.12.2-standalone/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -239,7 +260,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -321,7 +345,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,11 +391,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +451,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -686,7 +722,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -779,7 +818,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -877,7 +919,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1015,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1006,7 +1054,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1088,7 +1139,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1133,7 +1187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1194,7 +1254,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1217,7 +1280,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1315,7 +1381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1350,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1467,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1578,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1637,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1571,17 +1655,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1606,7 +1699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1614,7 +1710,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1649,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1694,7 +1796,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1750,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,17 +1873,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1800,7 +1917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1928,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1818,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1828,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1845,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1857,7 +1992,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1892,7 +2030,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1903,20 +2044,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1956,11 +2109,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1978,7 +2137,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2198,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2161,15 +2326,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2282,7 +2456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2327,7 +2504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2356,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2388,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2411,7 +2597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2509,7 +2698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2544,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2626,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2661,7 +2859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2694,7 +2895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2750,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2765,17 +2972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2800,7 +3016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2843,7 +3065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2888,7 +3113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2944,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2959,17 +3190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2994,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3012,7 +3258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3022,14 +3271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3039,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3051,7 +3309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3086,7 +3347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3097,20 +3361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3150,11 +3426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3172,7 +3454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3230,7 +3515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3265,7 +3553,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3275,7 +3566,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3330,21 +3624,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3387,7 +3693,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3433,7 +3742,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3444,7 +3756,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3479,7 +3794,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3519,12 +3837,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3570,7 +3894,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3583,7 +3910,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3620,7 +3950,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3665,7 +3998,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3712,7 +4051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3731,7 +4073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3740,7 +4085,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3805,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3839,7 +4193,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3857,12 +4214,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3911,7 +4274,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3921,7 +4287,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3971,7 +4340,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3980,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4027,7 +4402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4060,11 +4438,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4111,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4148,7 +4535,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4168,7 +4558,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4206,7 +4599,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4222,7 +4618,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4253,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4272,7 +4674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4312,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4378,7 +4789,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4397,7 +4811,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,7 +4833,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4446,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4509,7 +4932,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5005,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4610,7 +5042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4632,7 +5067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5082,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4667,7 +5108,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicasetspec-apps-v1beta2.json b/v1.12.2-standalone/replicasetspec-apps-v1beta2.json index 70bce57ef3..c26757f8b3 100644 --- a/v1.12.2-standalone/replicasetspec-apps-v1beta2.json +++ b/v1.12.2-standalone/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -239,7 +260,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -321,7 +345,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,11 +391,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +451,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -686,7 +722,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -779,7 +818,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -877,7 +919,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1015,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1006,7 +1054,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1088,7 +1139,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1133,7 +1187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1194,7 +1254,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1217,7 +1280,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1315,7 +1381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1350,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1467,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1578,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1637,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1571,17 +1655,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1606,7 +1699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1614,7 +1710,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1649,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1694,7 +1796,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1750,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,17 +1873,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1800,7 +1917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1928,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1818,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1828,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1845,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1857,7 +1992,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1892,7 +2030,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1903,20 +2044,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1956,11 +2109,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1978,7 +2137,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2198,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2161,15 +2326,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2282,7 +2456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2327,7 +2504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2356,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2388,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2411,7 +2597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2509,7 +2698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2544,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2626,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2661,7 +2859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2694,7 +2895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2750,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2765,17 +2972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2800,7 +3016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2843,7 +3065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2888,7 +3113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2944,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2959,17 +3190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2994,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3012,7 +3258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3022,14 +3271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3039,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3051,7 +3309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3086,7 +3347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3097,20 +3361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3150,11 +3426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3172,7 +3454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3230,7 +3515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3265,7 +3553,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3275,7 +3566,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3330,21 +3624,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3387,7 +3693,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3433,7 +3742,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3444,7 +3756,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3479,7 +3794,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3519,12 +3837,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3570,7 +3894,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3583,7 +3910,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3620,7 +3950,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3665,7 +3998,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3712,7 +4051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3731,7 +4073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3740,7 +4085,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3805,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3839,7 +4193,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3857,12 +4214,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3911,7 +4274,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3921,7 +4287,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3971,7 +4340,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3980,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4027,7 +4402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4060,11 +4438,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4111,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4148,7 +4535,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4168,7 +4558,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4206,7 +4599,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4222,7 +4618,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4253,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4272,7 +4674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4312,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4378,7 +4789,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4397,7 +4811,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,7 +4833,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4446,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4509,7 +4932,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5005,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4610,7 +5042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4632,7 +5067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5082,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4667,7 +5108,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicasetspec-extensions-v1beta1.json b/v1.12.2-standalone/replicasetspec-extensions-v1beta1.json index 4fa8989375..4178302a69 100644 --- a/v1.12.2-standalone/replicasetspec-extensions-v1beta1.json +++ b/v1.12.2-standalone/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -55,7 +61,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +82,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +110,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -132,7 +147,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +192,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -236,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -318,7 +342,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -361,11 +388,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +448,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -683,7 +719,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,7 +815,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -874,7 +916,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -967,7 +1012,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1051,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1085,7 +1136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1130,7 +1184,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1159,7 +1216,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1191,7 +1251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1214,7 +1277,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1312,7 +1378,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1347,7 +1416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1429,7 +1501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1464,7 +1539,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1497,7 +1575,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1553,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1568,17 +1652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1603,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1611,7 +1707,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1646,7 +1745,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1691,7 +1793,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1747,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,17 +1870,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1797,7 +1914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1805,7 +1925,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1815,7 +1938,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1825,14 +1951,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1842,7 +1974,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1854,7 +1989,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1889,7 +2027,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1900,20 +2041,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1953,11 +2106,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1975,7 +2134,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2033,7 +2195,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2158,15 +2323,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2279,7 +2453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2324,7 +2501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2353,7 +2533,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2385,7 +2568,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2408,7 +2594,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2506,7 +2695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2541,7 +2733,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2623,7 +2818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2658,7 +2856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2892,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2747,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2762,17 +2969,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2797,7 +3013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2805,7 +3024,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2840,7 +3062,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2885,7 +3110,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2941,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2956,17 +3187,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2991,7 +3231,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2999,7 +3242,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3009,7 +3255,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3019,14 +3268,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3036,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3048,7 +3306,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3083,7 +3344,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3094,20 +3358,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3147,11 +3423,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3169,7 +3451,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3227,7 +3512,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3262,7 +3550,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3272,7 +3563,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3327,21 +3621,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3384,7 +3690,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3430,7 +3739,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3441,7 +3753,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3476,7 +3791,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3516,12 +3834,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3567,7 +3891,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3580,7 +3907,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3617,7 +3947,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3662,7 +3995,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3687,7 +4023,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3709,7 +4048,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3728,7 +4070,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3737,7 +4082,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3773,7 +4121,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3802,7 +4153,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3836,7 +4190,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3854,12 +4211,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3908,7 +4271,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3918,7 +4284,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3968,7 +4337,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3977,7 +4349,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4024,7 +4399,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4057,11 +4435,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4108,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4145,7 +4532,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4165,7 +4555,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4203,7 +4596,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4219,7 +4615,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4250,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4269,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4309,7 +4714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4338,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4375,7 +4786,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4394,7 +4808,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,7 +4830,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4443,7 +4863,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4506,7 +4929,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4557,7 +4983,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4573,7 +5002,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4607,7 +5039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4629,7 +5064,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5079,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4664,7 +5105,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicasetspec.json b/v1.12.2-standalone/replicasetspec.json index d31997d3a5..a240f6b218 100644 --- a/v1.12.2-standalone/replicasetspec.json +++ b/v1.12.2-standalone/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -55,7 +61,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +82,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +110,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -132,7 +147,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -171,7 +189,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -233,7 +254,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -315,7 +339,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -358,11 +385,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -412,7 +445,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -680,7 +716,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -773,7 +812,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -871,7 +913,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -964,7 +1009,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1000,7 +1048,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1082,7 +1133,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1127,7 +1181,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1156,7 +1213,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1188,7 +1248,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1211,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1309,7 +1375,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1344,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1426,7 +1498,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1461,7 +1536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1494,7 +1572,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1550,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1565,17 +1649,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1600,7 +1693,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1608,7 +1704,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1643,7 +1742,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1688,7 +1790,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1744,7 +1849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1759,17 +1867,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1794,7 +1911,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1802,7 +1922,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1812,7 +1935,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1822,14 +1948,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1839,7 +1971,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1851,7 +1986,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1886,7 +2024,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1897,20 +2038,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1950,11 +2103,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1972,7 +2131,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2030,7 +2192,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2155,15 +2320,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2276,7 +2450,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2321,7 +2498,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2350,7 +2530,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2382,7 +2565,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2405,7 +2591,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2503,7 +2692,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2538,7 +2730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2620,7 +2815,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2655,7 +2853,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2688,7 +2889,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2744,7 +2948,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2759,17 +2966,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2794,7 +3010,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2802,7 +3021,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2837,7 +3059,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2882,7 +3107,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2938,7 +3166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2953,17 +3184,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2988,7 +3228,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2996,7 +3239,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3006,7 +3252,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3016,14 +3265,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3033,7 +3288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3045,7 +3303,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3080,7 +3341,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3091,20 +3355,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3144,11 +3420,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3166,7 +3448,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3224,7 +3509,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3259,7 +3547,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3269,7 +3560,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3324,21 +3618,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3381,7 +3687,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3427,7 +3736,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3438,7 +3750,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3473,7 +3788,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3513,12 +3831,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3564,7 +3888,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3577,7 +3904,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3614,7 +3944,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3659,7 +3992,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3684,7 +4020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3706,7 +4045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3725,7 +4067,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3734,7 +4079,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3770,7 +4118,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3799,7 +4150,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3833,7 +4187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3851,12 +4208,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3905,7 +4268,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3915,7 +4281,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3965,7 +4334,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3974,7 +4346,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4021,7 +4396,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4054,11 +4432,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4105,7 +4489,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4142,7 +4529,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4162,7 +4552,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4200,7 +4593,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4216,7 +4612,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4247,7 +4646,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4266,7 +4668,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4306,7 +4711,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4335,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4372,7 +4783,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4391,7 +4805,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4410,7 +4827,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4440,7 +4860,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4503,7 +4926,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4554,7 +4980,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4570,7 +4999,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4604,7 +5036,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4626,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4638,7 +5076,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4661,7 +5102,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicasetstatus-apps-v1.json b/v1.12.2-standalone/replicasetstatus-apps-v1.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.2-standalone/replicasetstatus-apps-v1.json +++ b/v1.12.2-standalone/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/replicasetstatus-apps-v1beta2.json b/v1.12.2-standalone/replicasetstatus-apps-v1beta2.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.2-standalone/replicasetstatus-apps-v1beta2.json +++ b/v1.12.2-standalone/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/replicasetstatus-extensions-v1beta1.json b/v1.12.2-standalone/replicasetstatus-extensions-v1beta1.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.2-standalone/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.2-standalone/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/replicasetstatus.json b/v1.12.2-standalone/replicasetstatus.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.2-standalone/replicasetstatus.json +++ b/v1.12.2-standalone/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/replicationcontroller-v1.json b/v1.12.2-standalone/replicationcontroller-v1.json index dbbd84e371..4ff60c8f36 100644 --- a/v1.12.2-standalone/replicationcontroller-v1.json +++ b/v1.12.2-standalone/replicationcontroller-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,17 +389,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -391,7 +424,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -416,7 +452,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -450,7 +489,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -492,7 +534,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -554,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -636,7 +684,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -679,11 +730,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -733,7 +790,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1001,7 +1061,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1094,7 +1157,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1192,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1285,7 +1354,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1321,7 +1393,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1403,7 +1478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1448,7 +1526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1477,7 +1558,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1509,7 +1593,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1532,7 +1619,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1630,7 +1720,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1747,7 +1843,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1782,7 +1881,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1815,7 +1917,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1871,7 +1976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1886,17 +1994,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1921,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1929,7 +2049,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1964,7 +2087,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2009,7 +2135,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2065,7 +2194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2080,17 +2212,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2115,7 +2256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2123,7 +2267,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2133,7 +2280,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2143,14 +2293,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2160,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2172,7 +2331,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2207,7 +2369,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2218,20 +2383,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2271,11 +2448,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2293,7 +2476,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2351,7 +2537,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2476,15 +2665,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2597,7 +2795,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2642,7 +2843,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2671,7 +2875,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2703,7 +2910,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2726,7 +2936,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2824,7 +3037,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2859,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2941,7 +3160,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2976,7 +3198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3009,7 +3234,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3065,7 +3293,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3080,17 +3311,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3115,7 +3355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3123,7 +3366,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3158,7 +3404,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3203,7 +3452,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3259,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3274,17 +3529,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3309,7 +3573,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3317,7 +3584,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3327,7 +3597,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3337,14 +3610,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3354,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3366,7 +3648,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3401,7 +3686,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3412,20 +3700,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3465,11 +3765,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3487,7 +3793,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3545,7 +3854,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3580,7 +3892,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3590,7 +3905,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3645,21 +3963,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3702,7 +4032,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3748,7 +4081,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3759,7 +4095,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3794,7 +4133,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3834,12 +4176,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3885,7 +4233,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3898,7 +4249,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3935,7 +4289,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3980,7 +4337,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4005,7 +4365,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4027,7 +4390,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4046,7 +4412,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4055,7 +4424,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4091,7 +4463,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4120,7 +4495,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4154,7 +4532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4172,12 +4553,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4226,7 +4613,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4236,7 +4626,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4286,7 +4679,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4295,7 +4691,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4342,7 +4741,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4375,11 +4777,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4426,7 +4834,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4463,7 +4874,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4483,7 +4897,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4521,7 +4938,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4537,7 +4957,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4568,7 +4991,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4587,7 +5013,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4627,7 +5056,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4693,7 +5128,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4712,7 +5150,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4731,7 +5172,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4761,7 +5205,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4824,7 +5271,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4875,7 +5325,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4891,7 +5344,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4925,7 +5381,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4947,7 +5406,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4959,7 +5421,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4982,7 +5447,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5064,7 +5532,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5117,17 +5588,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicationcontroller.json b/v1.12.2-standalone/replicationcontroller.json index 34d9968922..f1eb5259d0 100644 --- a/v1.12.2-standalone/replicationcontroller.json +++ b/v1.12.2-standalone/replicationcontroller.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,17 +383,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,7 +418,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -410,7 +446,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -444,7 +483,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -483,7 +525,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -545,7 +590,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -627,7 +675,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -670,11 +721,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -724,7 +781,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -992,7 +1052,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1085,7 +1148,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1183,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1276,7 +1345,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1312,7 +1384,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1394,7 +1469,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1439,7 +1517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1468,7 +1549,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1500,7 +1584,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1523,7 +1610,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1621,7 +1711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1656,7 +1749,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1738,7 +1834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1773,7 +1872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1806,7 +1908,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1862,7 +1967,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1877,17 +1985,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1912,7 +2029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2040,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1955,7 +2078,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2000,7 +2126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2056,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2071,17 +2203,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2106,7 +2247,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2114,7 +2258,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2124,7 +2271,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2134,14 +2284,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2151,7 +2307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2163,7 +2322,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2198,7 +2360,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2209,20 +2374,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2262,11 +2439,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2284,7 +2467,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2342,7 +2528,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2467,15 +2656,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2588,7 +2786,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2633,7 +2834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2662,7 +2866,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2694,7 +2901,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2717,7 +2927,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2815,7 +3028,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2850,7 +3066,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2932,7 +3151,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2967,7 +3189,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3000,7 +3225,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3056,7 +3284,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3071,17 +3302,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3106,7 +3346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,7 +3357,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3149,7 +3395,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3194,7 +3443,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3250,7 +3502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3265,17 +3520,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3300,7 +3564,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3308,7 +3575,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3318,7 +3588,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3328,14 +3601,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3345,7 +3624,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3357,7 +3639,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3392,7 +3677,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3403,20 +3691,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3456,11 +3756,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3478,7 +3784,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3536,7 +3845,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3571,7 +3883,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3581,7 +3896,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3636,21 +3954,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3693,7 +4023,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3739,7 +4072,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3750,7 +4086,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3785,7 +4124,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3825,12 +4167,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3876,7 +4224,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3889,7 +4240,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3926,7 +4280,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3971,7 +4328,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3996,7 +4356,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4018,7 +4381,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4037,7 +4403,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4046,7 +4415,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4082,7 +4454,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4111,7 +4486,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4145,7 +4523,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4163,12 +4544,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4217,7 +4604,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4227,7 +4617,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4277,7 +4670,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4286,7 +4682,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4333,7 +4732,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4366,11 +4768,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4417,7 +4825,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4454,7 +4865,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4474,7 +4888,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4512,7 +4929,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4528,7 +4948,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4559,7 +4982,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4578,7 +5004,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4618,7 +5047,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4684,7 +5119,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5141,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4722,7 +5163,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4752,7 +5196,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4815,7 +5262,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4866,7 +5316,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4882,7 +5335,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4916,7 +5372,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4938,7 +5397,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4950,7 +5412,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4973,7 +5438,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5055,7 +5523,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5108,17 +5579,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicationcontrollerlist-v1.json b/v1.12.2-standalone/replicationcontrollerlist-v1.json index 2fb69ba534..722f3b26c2 100644 --- a/v1.12.2-standalone/replicationcontrollerlist-v1.json +++ b/v1.12.2-standalone/replicationcontrollerlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,17 +411,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -413,7 +446,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +474,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -472,7 +511,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -514,7 +556,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -576,7 +621,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -658,7 +706,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -701,11 +752,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -755,7 +812,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1023,7 +1083,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1116,7 +1179,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1214,7 +1280,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1307,7 +1376,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1343,7 +1415,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1425,7 +1500,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1470,7 +1548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1499,7 +1580,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1531,7 +1615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1554,7 +1641,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1652,7 +1742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1687,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1769,7 +1865,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1804,7 +1903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1837,7 +1939,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1893,7 +1998,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1908,17 +2016,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1943,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2071,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1986,7 +2109,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2031,7 +2157,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2087,7 +2216,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2102,17 +2234,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2137,7 +2278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2145,7 +2289,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2155,7 +2302,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2165,14 +2315,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2182,7 +2338,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2194,7 +2353,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2229,7 +2391,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2240,20 +2405,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2293,11 +2470,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2315,7 +2498,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2373,7 +2559,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2498,15 +2687,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2619,7 +2817,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2664,7 +2865,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2693,7 +2897,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2725,7 +2932,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2748,7 +2958,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2846,7 +3059,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2881,7 +3097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2963,7 +3182,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2998,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3031,7 +3256,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3087,7 +3315,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3102,17 +3333,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3137,7 +3377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3145,7 +3388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3180,7 +3426,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3225,7 +3474,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3281,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3296,17 +3551,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3331,7 +3595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3339,7 +3606,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3349,7 +3619,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3359,14 +3632,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3376,7 +3655,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3388,7 +3670,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3423,7 +3708,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3434,20 +3722,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3487,11 +3787,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3509,7 +3815,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3567,7 +3876,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3602,7 +3914,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3612,7 +3927,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3667,21 +3985,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3724,7 +4054,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3770,7 +4103,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3781,7 +4117,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3816,7 +4155,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3856,12 +4198,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3907,7 +4255,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3920,7 +4271,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3957,7 +4311,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4002,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4027,7 +4387,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4049,7 +4412,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4068,7 +4434,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4077,7 +4446,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4113,7 +4485,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4142,7 +4517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4176,7 +4554,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4194,12 +4575,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4248,7 +4635,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4258,7 +4648,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4308,7 +4701,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4317,7 +4713,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4364,7 +4763,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4397,11 +4799,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4448,7 +4856,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4485,7 +4896,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4505,7 +4919,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4543,7 +4960,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4559,7 +4979,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4590,7 +5013,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4609,7 +5035,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4649,7 +5078,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4678,7 +5110,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4715,7 +5150,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4734,7 +5172,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4753,7 +5194,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4783,7 +5227,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4846,7 +5293,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4897,7 +5347,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4913,7 +5366,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4947,7 +5403,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4969,7 +5428,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4981,7 +5443,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5004,7 +5469,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5086,7 +5554,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5139,17 +5610,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicationcontrollerlist.json b/v1.12.2-standalone/replicationcontrollerlist.json index 1f646ff399..a01451398a 100644 --- a/v1.12.2-standalone/replicationcontrollerlist.json +++ b/v1.12.2-standalone/replicationcontrollerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,17 +402,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -404,7 +437,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -429,7 +465,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -463,7 +502,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -502,7 +544,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -564,7 +609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -646,7 +694,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -689,11 +740,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -743,7 +800,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1011,7 +1071,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1104,7 +1167,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1202,7 +1268,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1295,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1331,7 +1403,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1413,7 +1488,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1458,7 +1536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1487,7 +1568,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1519,7 +1603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1542,7 +1629,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1640,7 +1730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1675,7 +1768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1757,7 +1853,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1825,7 +1927,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1881,7 +1986,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1896,17 +2004,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1931,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1939,7 +2059,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1974,7 +2097,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2019,7 +2145,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2075,7 +2204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2090,17 +2222,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2125,7 +2266,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2133,7 +2277,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2143,7 +2290,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2153,14 +2303,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2170,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2182,7 +2341,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2217,7 +2379,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2228,20 +2393,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2281,11 +2458,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2303,7 +2486,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2361,7 +2547,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2486,15 +2675,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2607,7 +2805,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2652,7 +2853,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2681,7 +2885,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2713,7 +2920,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2736,7 +2946,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2834,7 +3047,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2869,7 +3085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2951,7 +3170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2986,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3019,7 +3244,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3075,7 +3303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3090,17 +3321,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3125,7 +3365,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3133,7 +3376,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3168,7 +3414,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3213,7 +3462,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3269,7 +3521,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3284,17 +3539,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3319,7 +3583,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3327,7 +3594,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3337,7 +3607,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3347,14 +3620,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3364,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3376,7 +3658,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3411,7 +3696,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3422,20 +3710,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3475,11 +3775,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3497,7 +3803,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3555,7 +3864,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3590,7 +3902,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3600,7 +3915,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3655,21 +3973,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3712,7 +4042,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3758,7 +4091,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3769,7 +4105,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3804,7 +4143,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3844,12 +4186,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3895,7 +4243,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3908,7 +4259,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3945,7 +4299,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3990,7 +4347,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4015,7 +4375,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4037,7 +4400,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4056,7 +4422,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4065,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4101,7 +4473,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4130,7 +4505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4164,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4182,12 +4563,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4236,7 +4623,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4246,7 +4636,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4296,7 +4689,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4305,7 +4701,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4352,7 +4751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4385,11 +4787,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4436,7 +4844,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4473,7 +4884,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4493,7 +4907,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4531,7 +4948,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4547,7 +4967,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4578,7 +5001,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4597,7 +5023,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4637,7 +5066,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4666,7 +5098,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4703,7 +5138,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4722,7 +5160,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4741,7 +5182,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4771,7 +5215,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4834,7 +5281,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5335,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4901,7 +5354,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4935,7 +5391,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4957,7 +5416,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4969,7 +5431,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4992,7 +5457,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5074,7 +5542,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5127,17 +5598,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.2-standalone/replicationcontrollerspec-v1.json b/v1.12.2-standalone/replicationcontrollerspec-v1.json index 97efdc8d6d..d023406a4f 100644 --- a/v1.12.2-standalone/replicationcontrollerspec-v1.json +++ b/v1.12.2-standalone/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,7 +404,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -639,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -732,7 +771,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -830,7 +872,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -923,7 +968,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -959,7 +1007,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1041,7 +1092,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1086,7 +1140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1115,7 +1172,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1147,7 +1207,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1170,7 +1233,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1268,7 +1334,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1303,7 +1372,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1385,7 +1457,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1420,7 +1495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1453,7 +1531,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1509,7 +1590,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1524,17 +1608,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1559,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1567,7 +1663,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1602,7 +1701,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1647,7 +1749,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1703,7 +1808,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1718,17 +1826,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1753,7 +1870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1761,7 +1881,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1771,7 +1894,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1781,14 +1907,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1798,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1810,7 +1945,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1845,7 +1983,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1856,20 +1997,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1909,11 +2062,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1931,7 +2090,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1989,7 +2151,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2114,15 +2279,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2235,7 +2409,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2280,7 +2457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2309,7 +2489,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2341,7 +2524,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2364,7 +2550,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2462,7 +2651,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2497,7 +2689,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2579,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2614,7 +2812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2647,7 +2848,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2703,7 +2907,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2718,17 +2925,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2753,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2761,7 +2980,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2796,7 +3018,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2841,7 +3066,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2897,7 +3125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2912,17 +3143,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2947,7 +3187,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2955,7 +3198,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2965,7 +3211,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2975,14 +3224,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2992,7 +3247,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3004,7 +3262,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3039,7 +3300,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3050,20 +3314,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3103,11 +3379,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3125,7 +3407,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3183,7 +3468,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3218,7 +3506,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3228,7 +3519,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3283,21 +3577,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3340,7 +3646,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3386,7 +3695,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3397,7 +3709,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3432,7 +3747,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3472,12 +3790,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3523,7 +3847,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3536,7 +3863,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3573,7 +3903,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3618,7 +3951,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3643,7 +3979,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3665,7 +4004,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3684,7 +4026,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3693,7 +4038,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3729,7 +4077,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3758,7 +4109,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3792,7 +4146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3810,12 +4167,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3864,7 +4227,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3874,7 +4240,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3924,7 +4293,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3933,7 +4305,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3980,7 +4355,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4013,11 +4391,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4064,7 +4448,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4101,7 +4488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4121,7 +4511,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4159,7 +4552,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4175,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4206,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4627,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4265,7 +4670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4294,7 +4702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4331,7 +4742,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4350,7 +4764,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4369,7 +4786,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4399,7 +4819,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4462,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4513,7 +4939,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4529,7 +4958,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4563,7 +4995,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4585,7 +5020,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4597,7 +5035,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4620,7 +5061,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicationcontrollerspec.json b/v1.12.2-standalone/replicationcontrollerspec.json index 056e934ea4..23d8201612 100644 --- a/v1.12.2-standalone/replicationcontrollerspec.json +++ b/v1.12.2-standalone/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +145,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +210,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +401,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -636,7 +672,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -729,7 +768,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -827,7 +869,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -920,7 +965,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -956,7 +1004,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1038,7 +1089,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1083,7 +1137,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1112,7 +1169,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1144,7 +1204,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1167,7 +1230,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1265,7 +1331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1300,7 +1369,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1382,7 +1454,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1492,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1450,7 +1528,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1506,7 +1587,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,17 +1605,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1556,7 +1649,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1564,7 +1660,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1599,7 +1698,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1644,7 +1746,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1700,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1715,17 +1823,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1750,7 +1867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1758,7 +1878,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1768,7 +1891,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1778,14 +1904,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1795,7 +1927,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1807,7 +1942,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1842,7 +1980,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1853,20 +1994,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1906,11 +2059,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1928,7 +2087,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1986,7 +2148,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2111,15 +2276,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2232,7 +2406,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2277,7 +2454,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2306,7 +2486,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2338,7 +2521,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2361,7 +2547,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2459,7 +2648,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2494,7 +2686,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2576,7 +2771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2644,7 +2845,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2700,7 +2904,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2715,17 +2922,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2750,7 +2966,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2758,7 +2977,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2793,7 +3015,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2838,7 +3063,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2894,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2909,17 +3140,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2944,7 +3184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2952,7 +3195,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2962,7 +3208,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2972,14 +3221,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2989,7 +3244,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3001,7 +3259,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3036,7 +3297,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3047,20 +3311,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3100,11 +3376,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3122,7 +3404,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3180,7 +3465,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3215,7 +3503,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3225,7 +3516,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3280,21 +3574,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3337,7 +3643,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3383,7 +3692,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3394,7 +3706,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3429,7 +3744,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3469,12 +3787,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3520,7 +3844,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3533,7 +3860,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3570,7 +3900,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3615,7 +3948,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3640,7 +3976,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3662,7 +4001,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3681,7 +4023,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3690,7 +4035,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3726,7 +4074,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3755,7 +4106,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3789,7 +4143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3807,12 +4164,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3861,7 +4224,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3871,7 +4237,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3921,7 +4290,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3930,7 +4302,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3977,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4010,11 +4388,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4061,7 +4445,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4098,7 +4485,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4118,7 +4508,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4156,7 +4549,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4172,7 +4568,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4203,7 +4602,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4222,7 +4624,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4262,7 +4667,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4291,7 +4699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4328,7 +4739,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4347,7 +4761,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4366,7 +4783,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4396,7 +4816,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4459,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4936,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4526,7 +4955,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4560,7 +4992,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4582,7 +5017,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4594,7 +5032,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4617,7 +5058,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/replicationcontrollerstatus-v1.json b/v1.12.2-standalone/replicationcontrollerstatus-v1.json index 12e6ba54e2..d2ad7bcfe0 100644 --- a/v1.12.2-standalone/replicationcontrollerstatus-v1.json +++ b/v1.12.2-standalone/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/replicationcontrollerstatus.json b/v1.12.2-standalone/replicationcontrollerstatus.json index 12e6ba54e2..d2ad7bcfe0 100644 --- a/v1.12.2-standalone/replicationcontrollerstatus.json +++ b/v1.12.2-standalone/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/resourcefieldselector-v1.json b/v1.12.2-standalone/resourcefieldselector-v1.json index b51c5c56e1..01ef1544ff 100644 --- a/v1.12.2-standalone/resourcefieldselector-v1.json +++ b/v1.12.2-standalone/resourcefieldselector-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/resourcefieldselector.json b/v1.12.2-standalone/resourcefieldselector.json index b51c5c56e1..01ef1544ff 100644 --- a/v1.12.2-standalone/resourcefieldselector.json +++ b/v1.12.2-standalone/resourcefieldselector.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta1.json index 2c35b15234..16d4510a9b 100644 --- a/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -25,7 +28,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta2.json b/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta2.json index 45bf3c3e9b..69532c03a8 100644 --- a/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/resourcemetricsource-autoscaling-v2beta2.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcemetricsource.json b/v1.12.2-standalone/resourcemetricsource.json index 45bf3c3e9b..69532c03a8 100644 --- a/v1.12.2-standalone/resourcemetricsource.json +++ b/v1.12.2-standalone/resourcemetricsource.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta1.json index 5b07c16aa9..6dfd00858c 100644 --- a/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -19,7 +22,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta2.json b/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta2.json index f85075a725..5a8d4cb72b 100644 --- a/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta2.json +++ b/v1.12.2-standalone/resourcemetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcemetricstatus.json b/v1.12.2-standalone/resourcemetricstatus.json index f85075a725..5a8d4cb72b 100644 --- a/v1.12.2-standalone/resourcemetricstatus.json +++ b/v1.12.2-standalone/resourcemetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequota-v1.json b/v1.12.2-standalone/resourcequota-v1.json index 617786f205..5e4248cbe4 100644 --- a/v1.12.2-standalone/resourcequota-v1.json +++ b/v1.12.2-standalone/resourcequota-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -375,7 +402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -442,7 +472,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -452,14 +485,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -469,7 +508,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequota.json b/v1.12.2-standalone/resourcequota.json index 933ba92d60..f4e762cafd 100644 --- a/v1.12.2-standalone/resourcequota.json +++ b/v1.12.2-standalone/resourcequota.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,7 +383,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -369,7 +396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -436,7 +466,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -446,14 +479,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -463,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequotalist-v1.json b/v1.12.2-standalone/resourcequotalist-v1.json index 79067e2120..7ecff12fe2 100644 --- a/v1.12.2-standalone/resourcequotalist-v1.json +++ b/v1.12.2-standalone/resourcequotalist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -397,7 +424,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -464,7 +494,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -474,14 +507,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -491,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequotalist.json b/v1.12.2-standalone/resourcequotalist.json index 43b88b9b04..e495299ee6 100644 --- a/v1.12.2-standalone/resourcequotalist.json +++ b/v1.12.2-standalone/resourcequotalist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -388,7 +415,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -455,7 +485,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -465,14 +498,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -482,7 +521,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequotaspec-v1.json b/v1.12.2-standalone/resourcequotaspec-v1.json index b653573320..6c2e9a07e8 100644 --- a/v1.12.2-standalone/resourcequotaspec-v1.json +++ b/v1.12.2-standalone/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequotaspec.json b/v1.12.2-standalone/resourcequotaspec.json index b653573320..6c2e9a07e8 100644 --- a/v1.12.2-standalone/resourcequotaspec.json +++ b/v1.12.2-standalone/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequotastatus-v1.json b/v1.12.2-standalone/resourcequotastatus-v1.json index 3785625a21..c517c0c4d6 100644 --- a/v1.12.2-standalone/resourcequotastatus-v1.json +++ b/v1.12.2-standalone/resourcequotastatus-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcequotastatus.json b/v1.12.2-standalone/resourcequotastatus.json index 3785625a21..c517c0c4d6 100644 --- a/v1.12.2-standalone/resourcequotastatus.json +++ b/v1.12.2-standalone/resourcequotastatus.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcerequirements-v1.json b/v1.12.2-standalone/resourcerequirements-v1.json index 34ffae47a1..87c256e1a5 100644 --- a/v1.12.2-standalone/resourcerequirements-v1.json +++ b/v1.12.2-standalone/resourcerequirements-v1.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/resourcerequirements.json b/v1.12.2-standalone/resourcerequirements.json index 34ffae47a1..87c256e1a5 100644 --- a/v1.12.2-standalone/resourcerequirements.json +++ b/v1.12.2-standalone/resourcerequirements.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/role-rbac-v1.json b/v1.12.2-standalone/role-rbac-v1.json index 267f49ac9e..d521c21276 100644 --- a/v1.12.2-standalone/role-rbac-v1.json +++ b/v1.12.2-standalone/role-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/role-rbac-v1alpha1.json b/v1.12.2-standalone/role-rbac-v1alpha1.json index b372713a7e..7a9b1023f3 100644 --- a/v1.12.2-standalone/role-rbac-v1alpha1.json +++ b/v1.12.2-standalone/role-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/role-rbac-v1beta1.json b/v1.12.2-standalone/role-rbac-v1beta1.json index 3f3b1071fd..6e890d9fc3 100644 --- a/v1.12.2-standalone/role-rbac-v1beta1.json +++ b/v1.12.2-standalone/role-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/role.json b/v1.12.2-standalone/role.json index 52e50c40ed..ca214435f5 100644 --- a/v1.12.2-standalone/role.json +++ b/v1.12.2-standalone/role.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebinding-rbac-v1.json b/v1.12.2-standalone/rolebinding-rbac-v1.json index 90fdedd0cb..7f5b0a5b84 100644 --- a/v1.12.2-standalone/rolebinding-rbac-v1.json +++ b/v1.12.2-standalone/rolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebinding-rbac-v1alpha1.json b/v1.12.2-standalone/rolebinding-rbac-v1alpha1.json index 9f4a0cf9e7..19ff35a7ed 100644 --- a/v1.12.2-standalone/rolebinding-rbac-v1alpha1.json +++ b/v1.12.2-standalone/rolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebinding-rbac-v1beta1.json b/v1.12.2-standalone/rolebinding-rbac-v1beta1.json index b8b7e92fb6..b3f66a0018 100644 --- a/v1.12.2-standalone/rolebinding-rbac-v1beta1.json +++ b/v1.12.2-standalone/rolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebinding.json b/v1.12.2-standalone/rolebinding.json index a3323b66ff..39f808e5d3 100644 --- a/v1.12.2-standalone/rolebinding.json +++ b/v1.12.2-standalone/rolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebindinglist-rbac-v1.json b/v1.12.2-standalone/rolebindinglist-rbac-v1.json index 2d33c2cf9d..d54109a526 100644 --- a/v1.12.2-standalone/rolebindinglist-rbac-v1.json +++ b/v1.12.2-standalone/rolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebindinglist-rbac-v1alpha1.json b/v1.12.2-standalone/rolebindinglist-rbac-v1alpha1.json index 0b3924f11c..016cf7cb53 100644 --- a/v1.12.2-standalone/rolebindinglist-rbac-v1alpha1.json +++ b/v1.12.2-standalone/rolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebindinglist-rbac-v1beta1.json b/v1.12.2-standalone/rolebindinglist-rbac-v1beta1.json index 5175934e04..757683e384 100644 --- a/v1.12.2-standalone/rolebindinglist-rbac-v1beta1.json +++ b/v1.12.2-standalone/rolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolebindinglist.json b/v1.12.2-standalone/rolebindinglist.json index d941666c07..5e7fa8b317 100644 --- a/v1.12.2-standalone/rolebindinglist.json +++ b/v1.12.2-standalone/rolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolelist-rbac-v1.json b/v1.12.2-standalone/rolelist-rbac-v1.json index d58583b466..0a1dc7c83e 100644 --- a/v1.12.2-standalone/rolelist-rbac-v1.json +++ b/v1.12.2-standalone/rolelist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolelist-rbac-v1alpha1.json b/v1.12.2-standalone/rolelist-rbac-v1alpha1.json index f755d3499a..5783516a17 100644 --- a/v1.12.2-standalone/rolelist-rbac-v1alpha1.json +++ b/v1.12.2-standalone/rolelist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolelist-rbac-v1beta1.json b/v1.12.2-standalone/rolelist-rbac-v1beta1.json index 9a26e97b1c..75ba7c45f7 100644 --- a/v1.12.2-standalone/rolelist-rbac-v1beta1.json +++ b/v1.12.2-standalone/rolelist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rolelist.json b/v1.12.2-standalone/rolelist.json index bb86af2fb0..8d1099ccff 100644 --- a/v1.12.2-standalone/rolelist.json +++ b/v1.12.2-standalone/rolelist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/rollbackconfig-apps-v1beta1.json b/v1.12.2-standalone/rollbackconfig-apps-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2-standalone/rollbackconfig-apps-v1beta1.json +++ b/v1.12.2-standalone/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/rollbackconfig-extensions-v1beta1.json b/v1.12.2-standalone/rollbackconfig-extensions-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2-standalone/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.2-standalone/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/rollbackconfig.json b/v1.12.2-standalone/rollbackconfig.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2-standalone/rollbackconfig.json +++ b/v1.12.2-standalone/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2-standalone/rollingupdatedaemonset-apps-v1.json b/v1.12.2-standalone/rollingupdatedaemonset-apps-v1.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.2-standalone/rollingupdatedaemonset-apps-v1.json +++ b/v1.12.2-standalone/rollingupdatedaemonset-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedaemonset-apps-v1beta2.json b/v1.12.2-standalone/rollingupdatedaemonset-apps-v1beta2.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.2-standalone/rollingupdatedaemonset-apps-v1beta2.json +++ b/v1.12.2-standalone/rollingupdatedaemonset-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedaemonset-extensions-v1beta1.json b/v1.12.2-standalone/rollingupdatedaemonset-extensions-v1beta1.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.2-standalone/rollingupdatedaemonset-extensions-v1beta1.json +++ b/v1.12.2-standalone/rollingupdatedaemonset-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedaemonset.json b/v1.12.2-standalone/rollingupdatedaemonset.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.2-standalone/rollingupdatedaemonset.json +++ b/v1.12.2-standalone/rollingupdatedaemonset.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedeployment-apps-v1.json b/v1.12.2-standalone/rollingupdatedeployment-apps-v1.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.2-standalone/rollingupdatedeployment-apps-v1.json +++ b/v1.12.2-standalone/rollingupdatedeployment-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta1.json b/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta1.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta1.json +++ b/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta2.json b/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta2.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta2.json +++ b/v1.12.2-standalone/rollingupdatedeployment-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedeployment-extensions-v1beta1.json b/v1.12.2-standalone/rollingupdatedeployment-extensions-v1beta1.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.2-standalone/rollingupdatedeployment-extensions-v1beta1.json +++ b/v1.12.2-standalone/rollingupdatedeployment-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatedeployment.json b/v1.12.2-standalone/rollingupdatedeployment.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.2-standalone/rollingupdatedeployment.json +++ b/v1.12.2-standalone/rollingupdatedeployment.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json index 77aec86a21..fcfd73afd8 100644 --- a/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.2-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/rollingupdatestatefulsetstrategy.json b/v1.12.2-standalone/rollingupdatestatefulsetstrategy.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2-standalone/rollingupdatestatefulsetstrategy.json +++ b/v1.12.2-standalone/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/scale-apps-v1beta1.json b/v1.12.2-standalone/scale-apps-v1beta1.json index 01573eb53a..d1bf0dc33e 100644 --- a/v1.12.2-standalone/scale-apps-v1beta1.json +++ b/v1.12.2-standalone/scale-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -383,7 +410,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scale-apps-v1beta2.json b/v1.12.2-standalone/scale-apps-v1beta2.json index d47256d768..3b26ab0405 100644 --- a/v1.12.2-standalone/scale-apps-v1beta2.json +++ b/v1.12.2-standalone/scale-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -383,7 +410,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scale-autoscaling-v1.json b/v1.12.2-standalone/scale-autoscaling-v1.json index a9f74cb3b3..9b513df910 100644 --- a/v1.12.2-standalone/scale-autoscaling-v1.json +++ b/v1.12.2-standalone/scale-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/scale-extensions-v1beta1.json b/v1.12.2-standalone/scale-extensions-v1beta1.json index 407272105d..ecccd08f5d 100644 --- a/v1.12.2-standalone/scale-extensions-v1beta1.json +++ b/v1.12.2-standalone/scale-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -383,7 +410,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scale.json b/v1.12.2-standalone/scale.json index b63768c370..699b3e65a1 100644 --- a/v1.12.2-standalone/scale.json +++ b/v1.12.2-standalone/scale.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,7 +383,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -377,7 +404,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scaleiopersistentvolumesource-v1.json b/v1.12.2-standalone/scaleiopersistentvolumesource-v1.json index 672fbcacb2..a1234836ad 100644 --- a/v1.12.2-standalone/scaleiopersistentvolumesource-v1.json +++ b/v1.12.2-standalone/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -52,7 +55,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone/scaleiopersistentvolumesource.json b/v1.12.2-standalone/scaleiopersistentvolumesource.json index 672fbcacb2..a1234836ad 100644 --- a/v1.12.2-standalone/scaleiopersistentvolumesource.json +++ b/v1.12.2-standalone/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -52,7 +55,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone/scaleiovolumesource-v1.json b/v1.12.2-standalone/scaleiovolumesource-v1.json index f74fc8babc..e9f0a8ff0f 100644 --- a/v1.12.2-standalone/scaleiovolumesource-v1.json +++ b/v1.12.2-standalone/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -45,7 +48,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone/scaleiovolumesource.json b/v1.12.2-standalone/scaleiovolumesource.json index f74fc8babc..e9f0a8ff0f 100644 --- a/v1.12.2-standalone/scaleiovolumesource.json +++ b/v1.12.2-standalone/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -45,7 +48,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2-standalone/scalespec-apps-v1beta1.json b/v1.12.2-standalone/scalespec-apps-v1beta1.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.2-standalone/scalespec-apps-v1beta1.json +++ b/v1.12.2-standalone/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/scalespec-apps-v1beta2.json b/v1.12.2-standalone/scalespec-apps-v1beta2.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.2-standalone/scalespec-apps-v1beta2.json +++ b/v1.12.2-standalone/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/scalespec-autoscaling-v1.json b/v1.12.2-standalone/scalespec-autoscaling-v1.json index f65424ab17..9b4feb4953 100644 --- a/v1.12.2-standalone/scalespec-autoscaling-v1.json +++ b/v1.12.2-standalone/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/scalespec-extensions-v1beta1.json b/v1.12.2-standalone/scalespec-extensions-v1beta1.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.2-standalone/scalespec-extensions-v1beta1.json +++ b/v1.12.2-standalone/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/scalespec.json b/v1.12.2-standalone/scalespec.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.2-standalone/scalespec.json +++ b/v1.12.2-standalone/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/scalestatus-apps-v1beta1.json b/v1.12.2-standalone/scalestatus-apps-v1beta1.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.2-standalone/scalestatus-apps-v1beta1.json +++ b/v1.12.2-standalone/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scalestatus-apps-v1beta2.json b/v1.12.2-standalone/scalestatus-apps-v1beta2.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.2-standalone/scalestatus-apps-v1beta2.json +++ b/v1.12.2-standalone/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scalestatus-autoscaling-v1.json b/v1.12.2-standalone/scalestatus-autoscaling-v1.json index db9afe18d2..5de93b19a3 100644 --- a/v1.12.2-standalone/scalestatus-autoscaling-v1.json +++ b/v1.12.2-standalone/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2-standalone/scalestatus-extensions-v1beta1.json b/v1.12.2-standalone/scalestatus-extensions-v1beta1.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.2-standalone/scalestatus-extensions-v1beta1.json +++ b/v1.12.2-standalone/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/scalestatus.json b/v1.12.2-standalone/scalestatus.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.2-standalone/scalestatus.json +++ b/v1.12.2-standalone/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/secret-v1.json b/v1.12.2-standalone/secret-v1.json index 1d992a87fc..759a0049d2 100644 --- a/v1.12.2-standalone/secret-v1.json +++ b/v1.12.2-standalone/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -138,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -200,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -282,7 +300,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -325,11 +346,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +400,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/secret.json b/v1.12.2-standalone/secret.json index d0e36fdc37..4d22470ec2 100644 --- a/v1.12.2-standalone/secret.json +++ b/v1.12.2-standalone/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -34,7 +37,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +65,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -93,7 +102,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -132,7 +144,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +209,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -276,7 +294,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -319,11 +340,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,7 +394,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/secretenvsource-v1.json b/v1.12.2-standalone/secretenvsource-v1.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.2-standalone/secretenvsource-v1.json +++ b/v1.12.2-standalone/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/secretenvsource.json b/v1.12.2-standalone/secretenvsource.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.2-standalone/secretenvsource.json +++ b/v1.12.2-standalone/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/secretkeyselector-v1.json b/v1.12.2-standalone/secretkeyselector-v1.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.2-standalone/secretkeyselector-v1.json +++ b/v1.12.2-standalone/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/secretkeyselector.json b/v1.12.2-standalone/secretkeyselector.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.2-standalone/secretkeyselector.json +++ b/v1.12.2-standalone/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/secretlist-v1.json b/v1.12.2-standalone/secretlist-v1.json index 5314d9b8ea..c294e7e783 100644 --- a/v1.12.2-standalone/secretlist-v1.json +++ b/v1.12.2-standalone/secretlist-v1.json @@ -35,7 +35,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +62,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -84,7 +90,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -118,7 +127,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -160,7 +172,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -222,7 +237,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -304,7 +322,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -347,11 +368,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +422,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/secretlist.json b/v1.12.2-standalone/secretlist.json index aa55dfb883..cba837dc91 100644 --- a/v1.12.2-standalone/secretlist.json +++ b/v1.12.2-standalone/secretlist.json @@ -29,7 +29,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -53,7 +56,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +84,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -112,7 +121,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -151,7 +163,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -295,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -338,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,7 +413,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/secretprojection-v1.json b/v1.12.2-standalone/secretprojection-v1.json index a500d6f60e..8346a6fb23 100644 --- a/v1.12.2-standalone/secretprojection-v1.json +++ b/v1.12.2-standalone/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/secretprojection.json b/v1.12.2-standalone/secretprojection.json index a500d6f60e..8346a6fb23 100644 --- a/v1.12.2-standalone/secretprojection.json +++ b/v1.12.2-standalone/secretprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2-standalone/secretvolumesource-v1.json b/v1.12.2-standalone/secretvolumesource-v1.json index 1aa5263232..9cd8aaa929 100644 --- a/v1.12.2-standalone/secretvolumesource-v1.json +++ b/v1.12.2-standalone/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -37,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2-standalone/secretvolumesource.json b/v1.12.2-standalone/secretvolumesource.json index 1aa5263232..9cd8aaa929 100644 --- a/v1.12.2-standalone/secretvolumesource.json +++ b/v1.12.2-standalone/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -37,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2-standalone/securitycontext-v1.json b/v1.12.2-standalone/securitycontext-v1.json index 0336d9d091..3338b64329 100644 --- a/v1.12.2-standalone/securitycontext-v1.json +++ b/v1.12.2-standalone/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -38,7 +41,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -49,20 +55,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2-standalone/securitycontext.json b/v1.12.2-standalone/securitycontext.json index 0336d9d091..3338b64329 100644 --- a/v1.12.2-standalone/securitycontext.json +++ b/v1.12.2-standalone/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -38,7 +41,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -49,20 +55,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1.json b/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1.json index 4289d12065..c908b74b5e 100644 --- a/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1.json +++ b/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -453,7 +477,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1beta1.json b/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1beta1.json index 84e472c337..b86d143dcc 100644 --- a/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.2-standalone/selfsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -453,7 +477,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/selfsubjectaccessreview.json b/v1.12.2-standalone/selfsubjectaccessreview.json index 064bbc0d58..4bdbf5f898 100644 --- a/v1.12.2-standalone/selfsubjectaccessreview.json +++ b/v1.12.2-standalone/selfsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1.json b/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1.json index 5831ad5a7d..ae636394d9 100644 --- a/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1.json +++ b/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1beta1.json b/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1beta1.json index ee5c795919..ebd57a87a3 100644 --- a/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1beta1.json +++ b/v1.12.2-standalone/selfsubjectrulesreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/selfsubjectrulesreview.json b/v1.12.2-standalone/selfsubjectrulesreview.json index 725d36809c..b23393fec1 100644 --- a/v1.12.2-standalone/selfsubjectrulesreview.json +++ b/v1.12.2-standalone/selfsubjectrulesreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/service-v1.json b/v1.12.2-standalone/service-v1.json index dde576691a..5892b4e86a 100644 --- a/v1.12.2-standalone/service-v1.json +++ b/v1.12.2-standalone/service-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,7 +423,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -443,7 +470,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -467,7 +497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -478,11 +511,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -505,7 +544,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/service.json b/v1.12.2-standalone/service.json index b4ad20981e..0dadacf310 100644 --- a/v1.12.2-standalone/service.json +++ b/v1.12.2-standalone/service.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -437,7 +464,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -461,7 +491,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -472,11 +505,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -499,7 +538,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/serviceaccount-v1.json b/v1.12.2-standalone/serviceaccount-v1.json index bae0c3d803..fba12e97d6 100644 --- a/v1.12.2-standalone/serviceaccount-v1.json +++ b/v1.12.2-standalone/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -49,7 +52,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -74,7 +80,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -108,7 +117,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +227,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +312,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +358,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/serviceaccount.json b/v1.12.2-standalone/serviceaccount.json index 89d45b480b..5226248283 100644 --- a/v1.12.2-standalone/serviceaccount.json +++ b/v1.12.2-standalone/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -46,7 +49,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -71,7 +77,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -105,7 +114,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +156,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -206,7 +221,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +306,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +352,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/serviceaccountlist-v1.json b/v1.12.2-standalone/serviceaccountlist-v1.json index c2db0a3f75..8c887ade36 100644 --- a/v1.12.2-standalone/serviceaccountlist-v1.json +++ b/v1.12.2-standalone/serviceaccountlist-v1.json @@ -35,7 +35,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -71,7 +74,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -96,7 +102,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -130,7 +139,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -172,7 +184,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -234,7 +249,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +334,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +380,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/serviceaccountlist.json b/v1.12.2-standalone/serviceaccountlist.json index ec7a23d013..db010fae42 100644 --- a/v1.12.2-standalone/serviceaccountlist.json +++ b/v1.12.2-standalone/serviceaccountlist.json @@ -29,7 +29,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -65,7 +68,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +96,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +133,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +175,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +240,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +325,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +371,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2-standalone/serviceaccounttokenprojection-v1.json b/v1.12.2-standalone/serviceaccounttokenprojection-v1.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.2-standalone/serviceaccounttokenprojection-v1.json +++ b/v1.12.2-standalone/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone/serviceaccounttokenprojection.json b/v1.12.2-standalone/serviceaccounttokenprojection.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.2-standalone/serviceaccounttokenprojection.json +++ b/v1.12.2-standalone/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone/servicelist-v1.json b/v1.12.2-standalone/servicelist-v1.json index e785cf4eed..caedfbf177 100644 --- a/v1.12.2-standalone/servicelist-v1.json +++ b/v1.12.2-standalone/servicelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -421,7 +445,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -465,7 +492,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -489,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -500,11 +533,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -527,7 +566,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/servicelist.json b/v1.12.2-standalone/servicelist.json index bc6f01d9c9..04184e58f4 100644 --- a/v1.12.2-standalone/servicelist.json +++ b/v1.12.2-standalone/servicelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -412,7 +436,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -456,7 +483,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -480,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -491,11 +524,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -518,7 +557,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/serviceport-v1.json b/v1.12.2-standalone/serviceport-v1.json index 27d9fd36fa..e226cb3b15 100644 --- a/v1.12.2-standalone/serviceport-v1.json +++ b/v1.12.2-standalone/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/serviceport.json b/v1.12.2-standalone/serviceport.json index 27d9fd36fa..e226cb3b15 100644 --- a/v1.12.2-standalone/serviceport.json +++ b/v1.12.2-standalone/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/servicespec-v1.json b/v1.12.2-standalone/servicespec-v1.json index 3c235ed58d..baa606684a 100644 --- a/v1.12.2-standalone/servicespec-v1.json +++ b/v1.12.2-standalone/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -116,11 +125,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -143,7 +158,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/servicespec.json b/v1.12.2-standalone/servicespec.json index 3c235ed58d..baa606684a 100644 --- a/v1.12.2-standalone/servicespec.json +++ b/v1.12.2-standalone/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -116,11 +125,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -143,7 +158,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/sessionaffinityconfig-v1.json b/v1.12.2-standalone/sessionaffinityconfig-v1.json index 3b3b1c3d05..6eb14ee97b 100644 --- a/v1.12.2-standalone/sessionaffinityconfig-v1.json +++ b/v1.12.2-standalone/sessionaffinityconfig-v1.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/sessionaffinityconfig.json b/v1.12.2-standalone/sessionaffinityconfig.json index 3b3b1c3d05..6eb14ee97b 100644 --- a/v1.12.2-standalone/sessionaffinityconfig.json +++ b/v1.12.2-standalone/sessionaffinityconfig.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulset-apps-v1.json b/v1.12.2-standalone/statefulset-apps-v1.json index 4a85bbf348..df4184cbcb 100644 --- a/v1.12.2-standalone/statefulset-apps-v1.json +++ b/v1.12.2-standalone/statefulset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +594,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +850,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1121,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1217,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1414,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1453,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1653,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1977,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2054,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2109,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2147,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2272,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2327,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2340,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2353,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2391,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2429,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2443,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2508,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2536,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2597,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2725,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2855,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2903,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2935,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2970,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +2996,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3135,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3258,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3294,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3140,17 +3371,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3426,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3464,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3512,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3589,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3644,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3657,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3670,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3708,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3746,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3760,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3825,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3853,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3914,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3952,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3965,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4023,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4092,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4141,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4155,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4193,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4236,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4309,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4349,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4397,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4484,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4523,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4555,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4613,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4673,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4686,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4739,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4801,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4837,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4894,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4957,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +4998,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5017,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5116,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5148,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5210,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5265,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5331,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5385,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5404,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5441,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5466,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5481,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5122,7 +5590,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5170,7 +5641,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5195,7 +5669,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5229,7 +5706,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5271,7 +5751,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5333,7 +5816,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5415,7 +5901,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5458,11 +5947,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5549,7 +6044,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5559,14 +6057,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5576,7 +6080,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5627,7 +6134,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5678,7 +6188,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5688,7 +6201,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5776,7 +6292,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5829,7 +6348,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5841,12 +6363,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5863,7 +6391,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulset-apps-v1beta1.json b/v1.12.2-standalone/statefulset-apps-v1beta1.json index f63dc98df0..518531e2b2 100644 --- a/v1.12.2-standalone/statefulset-apps-v1beta1.json +++ b/v1.12.2-standalone/statefulset-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -428,7 +458,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -450,7 +483,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -475,7 +511,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -509,7 +548,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -551,7 +593,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -695,7 +743,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -738,11 +789,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -792,7 +849,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1060,7 +1120,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1153,7 +1216,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1251,7 +1317,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1344,7 +1413,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1380,7 +1452,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1462,7 +1537,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1507,7 +1585,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1536,7 +1617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1568,7 +1652,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1591,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1689,7 +1779,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1724,7 +1817,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1806,7 +1902,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1841,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1976,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1930,7 +2035,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1945,17 +2053,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1980,7 +2097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1988,7 +2108,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2023,7 +2146,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2068,7 +2194,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2124,7 +2253,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2139,17 +2271,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2174,7 +2315,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2182,7 +2326,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2192,7 +2339,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2202,14 +2352,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2219,7 +2375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2231,7 +2390,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2266,7 +2428,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2277,20 +2442,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2330,11 +2507,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2352,7 +2535,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2410,7 +2596,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2535,15 +2724,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2656,7 +2854,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2701,7 +2902,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2730,7 +2934,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2762,7 +2969,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2785,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2883,7 +3096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2918,7 +3134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3000,7 +3219,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3035,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3068,7 +3293,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3124,7 +3352,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,17 +3370,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3174,7 +3414,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3425,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3217,7 +3463,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3262,7 +3511,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3318,7 +3570,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3333,17 +3588,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3368,7 +3632,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3376,7 +3643,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3386,7 +3656,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3396,14 +3669,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3413,7 +3692,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3425,7 +3707,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3460,7 +3745,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3471,20 +3759,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3524,11 +3824,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3546,7 +3852,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3604,7 +3913,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3639,7 +3951,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3649,7 +3964,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3704,21 +4022,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3761,7 +4091,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3807,7 +4140,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3818,7 +4154,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3853,7 +4192,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3893,12 +4235,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3944,7 +4292,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3957,7 +4308,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3994,7 +4348,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4039,7 +4396,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4064,7 +4424,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4086,7 +4449,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4105,7 +4471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4114,7 +4483,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4150,7 +4522,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4179,7 +4554,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4213,7 +4591,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4231,12 +4612,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4285,7 +4672,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4295,7 +4685,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4345,7 +4738,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4354,7 +4750,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4401,7 +4800,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4434,11 +4836,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4485,7 +4893,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4522,7 +4933,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4542,7 +4956,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4580,7 +4997,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4596,7 +5016,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4627,7 +5050,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4646,7 +5072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4686,7 +5115,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4715,7 +5147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4752,7 +5187,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4771,7 +5209,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4790,7 +5231,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4820,7 +5264,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4883,7 +5330,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4934,7 +5384,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4950,7 +5403,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4984,7 +5440,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5006,7 +5465,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5018,7 +5480,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5041,7 +5506,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5121,7 +5589,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5169,7 +5640,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5194,7 +5668,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5228,7 +5705,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5270,7 +5750,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5332,7 +5815,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5414,7 +5900,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5457,11 +5946,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5548,7 +6043,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5558,14 +6056,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5575,7 +6079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5626,7 +6133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5677,7 +6187,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5687,7 +6200,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5775,7 +6291,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5828,7 +6347,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5840,12 +6362,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5862,7 +6390,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulset-apps-v1beta2.json b/v1.12.2-standalone/statefulset-apps-v1beta2.json index c471370ee7..267c8acb59 100644 --- a/v1.12.2-standalone/statefulset-apps-v1beta2.json +++ b/v1.12.2-standalone/statefulset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +594,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +850,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1121,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1217,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1414,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1453,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1653,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1977,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2054,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2109,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2147,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2272,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2327,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2340,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2353,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2391,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2429,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2443,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2508,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2536,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2597,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2725,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2855,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2903,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2935,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2970,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +2996,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3135,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3258,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3294,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3140,17 +3371,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3426,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3464,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3512,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3589,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3644,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3657,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3670,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3708,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3746,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3760,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3825,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3853,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3914,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3952,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3965,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4023,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4092,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4141,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4155,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4193,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4236,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4309,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4349,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4397,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4484,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4523,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4555,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4613,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4673,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4686,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4739,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4801,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4837,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4894,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4957,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +4998,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5017,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5116,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5148,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5210,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5265,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5331,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5385,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5404,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5441,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5466,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5481,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5122,7 +5590,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5170,7 +5641,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5195,7 +5669,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5229,7 +5706,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5271,7 +5751,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5333,7 +5816,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5415,7 +5901,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5458,11 +5947,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5549,7 +6044,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5559,14 +6057,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5576,7 +6080,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5627,7 +6134,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5678,7 +6188,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5688,7 +6201,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5776,7 +6292,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5829,7 +6348,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5841,12 +6363,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5863,7 +6391,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulset.json b/v1.12.2-standalone/statefulset.json index ae33e1a87c..1962f2f799 100644 --- a/v1.12.2-standalone/statefulset.json +++ b/v1.12.2-standalone/statefulset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,12 +395,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -445,7 +478,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +506,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -504,7 +543,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -543,7 +585,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -605,7 +650,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -687,7 +735,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -730,11 +781,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -784,7 +841,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1052,7 +1112,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1145,7 +1208,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1243,7 +1309,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1336,7 +1405,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1444,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1454,7 +1529,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1499,7 +1577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1528,7 +1609,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1560,7 +1644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1583,7 +1670,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1681,7 +1771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1716,7 +1809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1798,7 +1894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1833,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +1968,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1922,7 +2027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1937,17 +2045,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1972,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1980,7 +2100,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2015,7 +2138,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2060,7 +2186,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2116,7 +2245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2131,17 +2263,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2166,7 +2307,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2174,7 +2318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2184,7 +2331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2194,14 +2344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2211,7 +2367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2223,7 +2382,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2258,7 +2420,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2269,20 +2434,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2322,11 +2499,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2344,7 +2527,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2402,7 +2588,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2527,15 +2716,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2648,7 +2846,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2693,7 +2894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2722,7 +2926,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2754,7 +2961,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2777,7 +2987,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2875,7 +3088,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2910,7 +3126,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2992,7 +3211,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,7 +3249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3060,7 +3285,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3116,7 +3344,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3131,17 +3362,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3166,7 +3406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3174,7 +3417,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3209,7 +3455,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3254,7 +3503,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3310,7 +3562,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3325,17 +3580,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3360,7 +3624,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3368,7 +3635,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3378,7 +3648,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3388,14 +3661,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3405,7 +3684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3417,7 +3699,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3452,7 +3737,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3463,20 +3751,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3516,11 +3816,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3538,7 +3844,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3596,7 +3905,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3631,7 +3943,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3641,7 +3956,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3696,21 +4014,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3753,7 +4083,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3799,7 +4132,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3810,7 +4146,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3845,7 +4184,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3885,12 +4227,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3936,7 +4284,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3949,7 +4300,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3986,7 +4340,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4031,7 +4388,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4056,7 +4416,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4078,7 +4441,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4097,7 +4463,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4106,7 +4475,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4142,7 +4514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4171,7 +4546,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4205,7 +4583,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4223,12 +4604,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4277,7 +4664,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4287,7 +4677,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4337,7 +4730,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4346,7 +4742,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4393,7 +4792,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4426,11 +4828,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4477,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4514,7 +4925,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4534,7 +4948,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4572,7 +4989,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4588,7 +5008,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4619,7 +5042,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4638,7 +5064,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4678,7 +5107,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4707,7 +5139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4744,7 +5179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4763,7 +5201,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4782,7 +5223,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4812,7 +5256,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4875,7 +5322,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4926,7 +5376,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4942,7 +5395,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4976,7 +5432,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4998,7 +5457,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5010,7 +5472,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5033,7 +5498,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5113,7 +5581,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5158,7 +5629,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5183,7 +5657,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5217,7 +5694,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5256,7 +5736,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5318,7 +5801,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5400,7 +5886,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5443,11 +5932,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5534,7 +6029,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5544,14 +6042,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5561,7 +6065,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5612,7 +6119,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5663,7 +6173,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5673,7 +6186,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5761,7 +6277,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5814,7 +6333,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5826,12 +6348,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5848,7 +6376,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetlist-apps-v1.json b/v1.12.2-standalone/statefulsetlist-apps-v1.json index 9cd9947cee..291cf5cb76 100644 --- a/v1.12.2-standalone/statefulsetlist-apps-v1.json +++ b/v1.12.2-standalone/statefulsetlist-apps-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -450,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +505,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -497,7 +533,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -531,7 +570,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -717,7 +765,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -760,11 +811,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -814,7 +871,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1082,7 +1142,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1175,7 +1238,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1273,7 +1339,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1435,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1402,7 +1474,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1484,7 +1559,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1529,7 +1607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1558,7 +1639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1590,7 +1674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1613,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1711,7 +1801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1746,7 +1839,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1828,7 +1924,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1896,7 +1998,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1952,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1967,17 +2075,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2002,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2010,7 +2130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2045,7 +2168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2090,7 +2216,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2146,7 +2275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2161,17 +2293,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2196,7 +2337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2204,7 +2348,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2214,7 +2361,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2224,14 +2374,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2241,7 +2397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2253,7 +2412,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2288,7 +2450,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2299,20 +2464,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2352,11 +2529,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2374,7 +2557,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2432,7 +2618,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2557,15 +2746,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2678,7 +2876,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2723,7 +2924,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2752,7 +2956,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2784,7 +2991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2807,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2905,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2940,7 +3156,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3022,7 +3241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3057,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3315,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3146,7 +3374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3161,17 +3392,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3196,7 +3436,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3204,7 +3447,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3239,7 +3485,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3284,7 +3533,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3340,7 +3592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3355,17 +3610,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3390,7 +3654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3398,7 +3665,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3408,7 +3678,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3418,14 +3691,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3435,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3447,7 +3729,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3482,7 +3767,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3493,20 +3781,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3546,11 +3846,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3568,7 +3874,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3626,7 +3935,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3661,7 +3973,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3671,7 +3986,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3726,21 +4044,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3783,7 +4113,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3829,7 +4162,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3840,7 +4176,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3875,7 +4214,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3915,12 +4257,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3966,7 +4314,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3979,7 +4330,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4016,7 +4370,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4061,7 +4418,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4086,7 +4446,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4108,7 +4471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4127,7 +4493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4136,7 +4505,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4172,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4201,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4235,7 +4613,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4253,12 +4634,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4307,7 +4694,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4317,7 +4707,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4367,7 +4760,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4376,7 +4772,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,7 +4822,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,11 +4858,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4507,7 +4915,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4544,7 +4955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4564,7 +4978,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4602,7 +5019,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4618,7 +5038,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4649,7 +5072,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4668,7 +5094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4708,7 +5137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4737,7 +5169,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4774,7 +5209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5231,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4812,7 +5253,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4842,7 +5286,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4905,7 +5352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4956,7 +5406,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4972,7 +5425,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5006,7 +5462,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5028,7 +5487,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5040,7 +5502,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5063,7 +5528,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5143,7 +5611,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5191,7 +5662,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5216,7 +5690,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5250,7 +5727,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5292,7 +5772,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5354,7 +5837,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5436,7 +5922,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5479,11 +5968,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5570,7 +6065,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5580,14 +6078,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5597,7 +6101,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5648,7 +6155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5699,7 +6209,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5709,7 +6222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5797,7 +6313,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5850,7 +6369,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5862,12 +6384,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5884,7 +6412,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetlist-apps-v1beta1.json b/v1.12.2-standalone/statefulsetlist-apps-v1beta1.json index 1158d273e3..2712eb120e 100644 --- a/v1.12.2-standalone/statefulsetlist-apps-v1beta1.json +++ b/v1.12.2-standalone/statefulsetlist-apps-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -397,12 +421,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -449,7 +479,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -496,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -530,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -634,7 +679,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -716,7 +764,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -759,11 +810,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -813,7 +870,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1081,7 +1141,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1174,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1272,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1365,7 +1434,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1401,7 +1473,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1483,7 +1558,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1528,7 +1606,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1557,7 +1638,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1589,7 +1673,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1612,7 +1699,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1710,7 +1800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1745,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1827,7 +1923,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1862,7 +1961,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1895,7 +1997,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1951,7 +2056,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1966,17 +2074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2001,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2009,7 +2129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2044,7 +2167,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2089,7 +2215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2145,7 +2274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2160,17 +2292,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2195,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2203,7 +2347,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2213,7 +2360,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2223,14 +2373,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2240,7 +2396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2252,7 +2411,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2287,7 +2449,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2298,20 +2463,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2351,11 +2528,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2373,7 +2556,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2431,7 +2617,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2556,15 +2745,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2677,7 +2875,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2722,7 +2923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2751,7 +2955,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2783,7 +2990,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2806,7 +3016,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2904,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2939,7 +3155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3021,7 +3240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3056,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3089,7 +3314,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3145,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3160,17 +3391,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3195,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3203,7 +3446,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3238,7 +3484,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3283,7 +3532,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3339,7 +3591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3354,17 +3609,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3389,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3397,7 +3664,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3407,7 +3677,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3417,14 +3690,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3434,7 +3713,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3446,7 +3728,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3481,7 +3766,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3492,20 +3780,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3545,11 +3845,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3567,7 +3873,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3625,7 +3934,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3660,7 +3972,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3670,7 +3985,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3725,21 +4043,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3782,7 +4112,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3828,7 +4161,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3839,7 +4175,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3874,7 +4213,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3914,12 +4256,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3965,7 +4313,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3978,7 +4329,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4015,7 +4369,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4060,7 +4417,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4085,7 +4445,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4107,7 +4470,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4126,7 +4492,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4135,7 +4504,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4171,7 +4543,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4200,7 +4575,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4234,7 +4612,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4252,12 +4633,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4306,7 +4693,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4316,7 +4706,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4366,7 +4759,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4375,7 +4771,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,7 +4821,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4455,11 +4857,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4506,7 +4914,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4543,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4563,7 +4977,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4601,7 +5018,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4617,7 +5037,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4648,7 +5071,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4667,7 +5093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4707,7 +5136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4736,7 +5168,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4773,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5230,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4811,7 +5252,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4841,7 +5285,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4904,7 +5351,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4955,7 +5405,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4971,7 +5424,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5005,7 +5461,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5027,7 +5486,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5039,7 +5501,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5062,7 +5527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5142,7 +5610,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5190,7 +5661,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5215,7 +5689,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5249,7 +5726,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5291,7 +5771,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5353,7 +5836,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5435,7 +5921,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5478,11 +5967,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5569,7 +6064,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5579,14 +6077,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5596,7 +6100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5647,7 +6154,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5698,7 +6208,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5708,7 +6221,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5796,7 +6312,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5849,7 +6368,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5861,12 +6383,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5883,7 +6411,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetlist-apps-v1beta2.json b/v1.12.2-standalone/statefulsetlist-apps-v1beta2.json index 3c2bffb285..2ed598fd09 100644 --- a/v1.12.2-standalone/statefulsetlist-apps-v1beta2.json +++ b/v1.12.2-standalone/statefulsetlist-apps-v1beta2.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -450,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +505,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -497,7 +533,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -531,7 +570,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -717,7 +765,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -760,11 +811,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -814,7 +871,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1082,7 +1142,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1175,7 +1238,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1273,7 +1339,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1435,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1402,7 +1474,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1484,7 +1559,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1529,7 +1607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1558,7 +1639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1590,7 +1674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1613,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1711,7 +1801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1746,7 +1839,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1828,7 +1924,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1896,7 +1998,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1952,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1967,17 +2075,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2002,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2010,7 +2130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2045,7 +2168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2090,7 +2216,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2146,7 +2275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2161,17 +2293,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2196,7 +2337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2204,7 +2348,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2214,7 +2361,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2224,14 +2374,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2241,7 +2397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2253,7 +2412,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2288,7 +2450,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2299,20 +2464,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2352,11 +2529,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2374,7 +2557,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2432,7 +2618,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2557,15 +2746,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2678,7 +2876,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2723,7 +2924,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2752,7 +2956,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2784,7 +2991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2807,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2905,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2940,7 +3156,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3022,7 +3241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3057,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3315,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3146,7 +3374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3161,17 +3392,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3196,7 +3436,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3204,7 +3447,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3239,7 +3485,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3284,7 +3533,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3340,7 +3592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3355,17 +3610,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3390,7 +3654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3398,7 +3665,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3408,7 +3678,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3418,14 +3691,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3435,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3447,7 +3729,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3482,7 +3767,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3493,20 +3781,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3546,11 +3846,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3568,7 +3874,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3626,7 +3935,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3661,7 +3973,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3671,7 +3986,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3726,21 +4044,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3783,7 +4113,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3829,7 +4162,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3840,7 +4176,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3875,7 +4214,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3915,12 +4257,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3966,7 +4314,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3979,7 +4330,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4016,7 +4370,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4061,7 +4418,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4086,7 +4446,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4108,7 +4471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4127,7 +4493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4136,7 +4505,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4172,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4201,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4235,7 +4613,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4253,12 +4634,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4307,7 +4694,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4317,7 +4707,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4367,7 +4760,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4376,7 +4772,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,7 +4822,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,11 +4858,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4507,7 +4915,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4544,7 +4955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4564,7 +4978,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4602,7 +5019,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4618,7 +5038,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4649,7 +5072,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4668,7 +5094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4708,7 +5137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4737,7 +5169,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4774,7 +5209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5231,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4812,7 +5253,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4842,7 +5286,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4905,7 +5352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4956,7 +5406,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4972,7 +5425,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5006,7 +5462,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5028,7 +5487,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5040,7 +5502,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5063,7 +5528,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5143,7 +5611,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5191,7 +5662,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5216,7 +5690,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5250,7 +5727,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5292,7 +5772,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5354,7 +5837,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5436,7 +5922,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5479,11 +5968,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5570,7 +6065,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5580,14 +6078,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5597,7 +6101,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5648,7 +6155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5699,7 +6209,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5709,7 +6222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5797,7 +6313,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5850,7 +6369,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5862,12 +6384,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5884,7 +6412,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetlist.json b/v1.12.2-standalone/statefulsetlist.json index a1c73477ef..8223c4e608 100644 --- a/v1.12.2-standalone/statefulsetlist.json +++ b/v1.12.2-standalone/statefulsetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -201,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -283,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -326,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,12 +413,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -441,7 +471,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +496,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -488,7 +524,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -522,7 +561,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5131,7 +5599,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5176,7 +5647,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5201,7 +5675,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5235,7 +5712,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5274,7 +5754,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5336,7 +5819,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5418,7 +5904,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5461,11 +5950,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5552,7 +6047,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5562,14 +6060,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5579,7 +6083,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5630,7 +6137,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5681,7 +6191,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5691,7 +6204,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5779,7 +6295,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5832,7 +6351,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5844,12 +6366,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5866,7 +6394,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetspec-apps-v1.json b/v1.12.2-standalone/statefulsetspec-apps-v1.json index f2edfd42c8..bbb3e4e2fc 100644 --- a/v1.12.2-standalone/statefulsetspec-apps-v1.json +++ b/v1.12.2-standalone/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +276,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -337,7 +361,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -380,11 +407,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +467,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -702,7 +738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -795,7 +834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -893,7 +935,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -986,7 +1031,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1022,7 +1070,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1104,7 +1155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1149,7 +1203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1178,7 +1235,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1210,7 +1270,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1233,7 +1296,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1331,7 +1397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1366,7 +1435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1448,7 +1520,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1483,7 +1558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1516,7 +1594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1572,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1587,17 +1671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1622,7 +1715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1630,7 +1726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1665,7 +1764,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1710,7 +1812,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1766,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,17 +1889,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1816,7 +1933,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1824,7 +1944,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1834,7 +1957,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1844,14 +1970,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1861,7 +1993,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +2008,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1908,7 +2046,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1919,20 +2060,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1972,11 +2125,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1994,7 +2153,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2052,7 +2214,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2177,15 +2342,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2298,7 +2472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2343,7 +2520,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2372,7 +2552,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2404,7 +2587,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2427,7 +2613,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2525,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2560,7 +2752,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2642,7 +2837,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2677,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2710,7 +2911,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2766,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2781,17 +2988,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2816,7 +3032,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2824,7 +3043,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2859,7 +3081,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2904,7 +3129,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2960,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2975,17 +3206,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3010,7 +3250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3018,7 +3261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3028,7 +3274,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3038,14 +3287,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3055,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3067,7 +3325,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3102,7 +3363,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3113,20 +3377,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3166,11 +3442,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3188,7 +3470,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3246,7 +3531,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3281,7 +3569,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3291,7 +3582,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3346,21 +3640,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3403,7 +3709,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3449,7 +3758,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3460,7 +3772,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3495,7 +3810,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3535,12 +3853,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3586,7 +3910,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3599,7 +3926,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3636,7 +3966,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3681,7 +4014,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3706,7 +4042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3728,7 +4067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3747,7 +4089,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3756,7 +4101,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3792,7 +4140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3821,7 +4172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3855,7 +4209,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3873,12 +4230,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3927,7 +4290,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3937,7 +4303,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3987,7 +4356,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3996,7 +4368,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4043,7 +4418,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4076,11 +4454,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4164,7 +4551,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4184,7 +4574,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4222,7 +4615,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4238,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4269,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4288,7 +4690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4328,7 +4733,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4357,7 +4765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4394,7 +4805,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4413,7 +4827,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4432,7 +4849,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4462,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4525,7 +4948,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5002,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4592,7 +5021,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4626,7 +5058,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4648,7 +5083,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4660,7 +5098,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4683,7 +5124,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4763,7 +5207,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4811,7 +5258,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4836,7 +5286,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4870,7 +5323,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4912,7 +5368,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4974,7 +5433,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5056,7 +5518,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5099,11 +5564,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5190,7 +5661,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5200,14 +5674,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5217,7 +5697,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5268,7 +5751,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5319,7 +5805,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5329,7 +5818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/statefulsetspec-apps-v1beta1.json b/v1.12.2-standalone/statefulsetspec-apps-v1beta1.json index 6e766ed60d..d3c15405b4 100644 --- a/v1.12.2-standalone/statefulsetspec-apps-v1beta1.json +++ b/v1.12.2-standalone/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -66,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -91,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -116,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -150,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -192,7 +210,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -254,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -336,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -433,7 +466,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -701,7 +737,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -794,7 +833,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -892,7 +934,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -985,7 +1030,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1021,7 +1069,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1103,7 +1154,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1148,7 +1202,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1177,7 +1234,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1209,7 +1269,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1232,7 +1295,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1330,7 +1396,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1365,7 +1434,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1447,7 +1519,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1482,7 +1557,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1515,7 +1593,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1571,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1586,17 +1670,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1621,7 +1714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1629,7 +1725,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1664,7 +1763,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1709,7 +1811,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1765,7 +1870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1780,17 +1888,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1815,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1823,7 +1943,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1833,7 +1956,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1843,14 +1969,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1860,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1872,7 +2007,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1907,7 +2045,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1918,20 +2059,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1971,11 +2124,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1993,7 +2152,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2051,7 +2213,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2176,15 +2341,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2297,7 +2471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2342,7 +2519,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2371,7 +2551,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2403,7 +2586,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2426,7 +2612,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2524,7 +2713,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2559,7 +2751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2641,7 +2836,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2676,7 +2874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2709,7 +2910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2765,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2780,17 +2987,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2815,7 +3031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2823,7 +3042,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2858,7 +3080,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2903,7 +3128,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2959,7 +3187,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2974,17 +3205,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3009,7 +3249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3017,7 +3260,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3027,7 +3273,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3037,14 +3286,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3054,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3066,7 +3324,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3101,7 +3362,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3112,20 +3376,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3165,11 +3441,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3187,7 +3469,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3245,7 +3530,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3280,7 +3568,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3290,7 +3581,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3345,21 +3639,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3402,7 +3708,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3448,7 +3757,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3459,7 +3771,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3494,7 +3809,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3534,12 +3852,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3585,7 +3909,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3598,7 +3925,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3635,7 +3965,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3680,7 +4013,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3705,7 +4041,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3727,7 +4066,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3746,7 +4088,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3755,7 +4100,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3791,7 +4139,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3820,7 +4171,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3854,7 +4208,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3872,12 +4229,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3926,7 +4289,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3936,7 +4302,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3986,7 +4355,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3995,7 +4367,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4042,7 +4417,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4075,11 +4453,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4126,7 +4510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4163,7 +4550,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4183,7 +4573,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4221,7 +4614,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4237,7 +4633,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4268,7 +4667,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4287,7 +4689,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4327,7 +4732,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4356,7 +4764,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4393,7 +4804,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4412,7 +4826,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4431,7 +4848,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4461,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4524,7 +4947,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4575,7 +5001,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4591,7 +5020,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4625,7 +5057,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4647,7 +5082,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4659,7 +5097,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4682,7 +5123,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4762,7 +5206,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4810,7 +5257,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4835,7 +5285,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4869,7 +5322,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4911,7 +5367,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4973,7 +5432,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5055,7 +5517,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5098,11 +5563,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5189,7 +5660,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5199,14 +5673,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5216,7 +5696,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5267,7 +5750,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5318,7 +5804,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5328,7 +5817,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/statefulsetspec-apps-v1beta2.json b/v1.12.2-standalone/statefulsetspec-apps-v1beta2.json index f2edfd42c8..bbb3e4e2fc 100644 --- a/v1.12.2-standalone/statefulsetspec-apps-v1beta2.json +++ b/v1.12.2-standalone/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +276,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -337,7 +361,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -380,11 +407,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +467,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -702,7 +738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -795,7 +834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -893,7 +935,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -986,7 +1031,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1022,7 +1070,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1104,7 +1155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1149,7 +1203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1178,7 +1235,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1210,7 +1270,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1233,7 +1296,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1331,7 +1397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1366,7 +1435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1448,7 +1520,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1483,7 +1558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1516,7 +1594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1572,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1587,17 +1671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1622,7 +1715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1630,7 +1726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1665,7 +1764,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1710,7 +1812,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1766,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,17 +1889,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1816,7 +1933,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1824,7 +1944,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1834,7 +1957,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1844,14 +1970,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1861,7 +1993,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +2008,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1908,7 +2046,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1919,20 +2060,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1972,11 +2125,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1994,7 +2153,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2052,7 +2214,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2177,15 +2342,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2298,7 +2472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2343,7 +2520,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2372,7 +2552,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2404,7 +2587,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2427,7 +2613,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2525,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2560,7 +2752,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2642,7 +2837,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2677,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2710,7 +2911,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2766,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2781,17 +2988,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2816,7 +3032,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2824,7 +3043,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2859,7 +3081,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2904,7 +3129,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2960,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2975,17 +3206,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3010,7 +3250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3018,7 +3261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3028,7 +3274,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3038,14 +3287,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3055,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3067,7 +3325,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3102,7 +3363,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3113,20 +3377,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3166,11 +3442,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3188,7 +3470,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3246,7 +3531,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3281,7 +3569,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3291,7 +3582,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3346,21 +3640,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3403,7 +3709,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3449,7 +3758,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3460,7 +3772,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3495,7 +3810,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3535,12 +3853,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3586,7 +3910,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3599,7 +3926,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3636,7 +3966,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3681,7 +4014,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3706,7 +4042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3728,7 +4067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3747,7 +4089,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3756,7 +4101,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3792,7 +4140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3821,7 +4172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3855,7 +4209,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3873,12 +4230,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3927,7 +4290,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3937,7 +4303,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3987,7 +4356,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3996,7 +4368,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4043,7 +4418,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4076,11 +4454,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4164,7 +4551,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4184,7 +4574,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4222,7 +4615,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4238,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4269,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4288,7 +4690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4328,7 +4733,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4357,7 +4765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4394,7 +4805,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4413,7 +4827,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4432,7 +4849,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4462,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4525,7 +4948,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5002,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4592,7 +5021,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4626,7 +5058,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4648,7 +5083,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4660,7 +5098,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4683,7 +5124,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4763,7 +5207,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4811,7 +5258,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4836,7 +5286,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4870,7 +5323,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4912,7 +5368,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4974,7 +5433,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5056,7 +5518,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5099,11 +5564,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5190,7 +5661,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5200,14 +5674,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5217,7 +5697,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5268,7 +5751,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5319,7 +5805,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5329,7 +5818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/statefulsetspec.json b/v1.12.2-standalone/statefulsetspec.json index 0f91e27bfb..e99ff28fa6 100644 --- a/v1.12.2-standalone/statefulsetspec.json +++ b/v1.12.2-standalone/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -190,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -252,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -334,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -377,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -431,7 +464,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -699,7 +735,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -792,7 +831,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -890,7 +932,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -983,7 +1028,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1019,7 +1067,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1101,7 +1152,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1146,7 +1200,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1175,7 +1232,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1207,7 +1267,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1230,7 +1293,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1328,7 +1394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1363,7 +1432,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1445,7 +1517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1480,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1513,7 +1591,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1569,7 +1650,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1584,17 +1668,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1619,7 +1712,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1627,7 +1723,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1662,7 +1761,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1707,7 +1809,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1763,7 +1868,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,17 +1886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1813,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1821,7 +1941,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1831,7 +1954,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1841,14 +1967,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1858,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1870,7 +2005,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1905,7 +2043,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1916,20 +2057,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1969,11 +2122,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1991,7 +2150,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2049,7 +2211,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2174,15 +2339,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2295,7 +2469,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2340,7 +2517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2369,7 +2549,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2401,7 +2584,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2424,7 +2610,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2522,7 +2711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2557,7 +2749,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2639,7 +2834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2674,7 +2872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2707,7 +2908,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2763,7 +2967,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2778,17 +2985,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2813,7 +3029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2821,7 +3040,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2856,7 +3078,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2901,7 +3126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2957,7 +3185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2972,17 +3203,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3007,7 +3247,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3015,7 +3258,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3025,7 +3271,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3035,14 +3284,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3052,7 +3307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3064,7 +3322,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3099,7 +3360,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3110,20 +3374,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3163,11 +3439,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3185,7 +3467,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3243,7 +3528,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3278,7 +3566,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3288,7 +3579,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3343,21 +3637,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3400,7 +3706,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3446,7 +3755,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3457,7 +3769,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3492,7 +3807,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3532,12 +3850,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3583,7 +3907,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3596,7 +3923,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3633,7 +3963,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3678,7 +4011,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3703,7 +4039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3725,7 +4064,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3744,7 +4086,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3753,7 +4098,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3789,7 +4137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3818,7 +4169,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3852,7 +4206,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3870,12 +4227,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3924,7 +4287,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3934,7 +4300,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3984,7 +4353,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3993,7 +4365,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4040,7 +4415,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4073,11 +4451,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4124,7 +4508,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4161,7 +4548,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4181,7 +4571,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4219,7 +4612,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4235,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4266,7 +4665,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4285,7 +4687,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4325,7 +4730,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4354,7 +4762,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4391,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4410,7 +4824,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4429,7 +4846,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4459,7 +4879,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4522,7 +4945,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4573,7 +4999,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4589,7 +5018,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4623,7 +5055,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4645,7 +5080,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4657,7 +5095,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4680,7 +5121,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4760,7 +5204,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4805,7 +5252,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4830,7 +5280,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4864,7 +5317,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4903,7 +5359,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4965,7 +5424,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5047,7 +5509,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5090,11 +5555,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5181,7 +5652,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5191,14 +5665,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5208,7 +5688,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5259,7 +5742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5310,7 +5796,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5320,7 +5809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.2-standalone/statefulsetstatus-apps-v1.json b/v1.12.2-standalone/statefulsetstatus-apps-v1.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.2-standalone/statefulsetstatus-apps-v1.json +++ b/v1.12.2-standalone/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/statefulsetstatus-apps-v1beta1.json b/v1.12.2-standalone/statefulsetstatus-apps-v1beta1.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.2-standalone/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.2-standalone/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/statefulsetstatus-apps-v1beta2.json b/v1.12.2-standalone/statefulsetstatus-apps-v1beta2.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.2-standalone/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.2-standalone/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/statefulsetstatus.json b/v1.12.2-standalone/statefulsetstatus.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.2-standalone/statefulsetstatus.json +++ b/v1.12.2-standalone/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1.json b/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1.json index d0eda64cca..88f48d7eee 100644 --- a/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1.json +++ b/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta1.json b/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta1.json index 4ec16aa272..a42e00f79b 100644 --- a/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta1.json +++ b/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta2.json b/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta2.json index d0eda64cca..88f48d7eee 100644 --- a/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.2-standalone/statefulsetupdatestrategy-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/statefulsetupdatestrategy.json b/v1.12.2-standalone/statefulsetupdatestrategy.json index d0eda64cca..88f48d7eee 100644 --- a/v1.12.2-standalone/statefulsetupdatestrategy.json +++ b/v1.12.2-standalone/statefulsetupdatestrategy.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.2-standalone/status-meta-v1.json b/v1.12.2-standalone/status-meta-v1.json index b5a74c6a33..e35dc8fef2 100644 --- a/v1.12.2-standalone/status-meta-v1.json +++ b/v1.12.2-standalone/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -75,7 +78,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone/status.json b/v1.12.2-standalone/status.json index b74dcf998b..17b27465d9 100644 --- a/v1.12.2-standalone/status.json +++ b/v1.12.2-standalone/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -72,7 +75,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone/statusdetails-meta-v1.json b/v1.12.2-standalone/statusdetails-meta-v1.json index 4f0f90e682..fb75c656f2 100644 --- a/v1.12.2-standalone/statusdetails-meta-v1.json +++ b/v1.12.2-standalone/statusdetails-meta-v1.json @@ -57,7 +57,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone/statusdetails.json b/v1.12.2-standalone/statusdetails.json index 4f0f90e682..fb75c656f2 100644 --- a/v1.12.2-standalone/statusdetails.json +++ b/v1.12.2-standalone/statusdetails.json @@ -57,7 +57,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2-standalone/storageclass-storage-v1.json b/v1.12.2-standalone/storageclass-storage-v1.json index 77f2463cf9..0bea9d31a3 100644 --- a/v1.12.2-standalone/storageclass-storage-v1.json +++ b/v1.12.2-standalone/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -75,7 +78,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +106,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +143,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -176,7 +188,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -238,7 +253,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -320,7 +338,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -363,11 +384,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -424,7 +451,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/storageclass-storage-v1beta1.json b/v1.12.2-standalone/storageclass-storage-v1beta1.json index e9fedce48b..af40bbf96e 100644 --- a/v1.12.2-standalone/storageclass-storage-v1beta1.json +++ b/v1.12.2-standalone/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -75,7 +78,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +106,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +143,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -176,7 +188,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -238,7 +253,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -320,7 +338,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -363,11 +384,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -424,7 +451,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/storageclass.json b/v1.12.2-standalone/storageclass.json index 207634648a..2e034b12a2 100644 --- a/v1.12.2-standalone/storageclass.json +++ b/v1.12.2-standalone/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -72,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -97,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -131,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -170,7 +182,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -232,7 +247,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -314,7 +332,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -357,11 +378,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +445,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/storageclasslist-storage-v1.json b/v1.12.2-standalone/storageclasslist-storage-v1.json index 7e454e7c73..777bf9b9c6 100644 --- a/v1.12.2-standalone/storageclasslist-storage-v1.json +++ b/v1.12.2-standalone/storageclasslist-storage-v1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -97,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -198,7 +210,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -260,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -342,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -446,7 +473,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/storageclasslist-storage-v1beta1.json b/v1.12.2-standalone/storageclasslist-storage-v1beta1.json index 1f6b2c941d..c9d4a23e6a 100644 --- a/v1.12.2-standalone/storageclasslist-storage-v1beta1.json +++ b/v1.12.2-standalone/storageclasslist-storage-v1beta1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -97,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -198,7 +210,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -260,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -342,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -446,7 +473,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/storageclasslist.json b/v1.12.2-standalone/storageclasslist.json index 358150ac24..413793d82b 100644 --- a/v1.12.2-standalone/storageclasslist.json +++ b/v1.12.2-standalone/storageclasslist.json @@ -25,7 +25,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -91,7 +94,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -116,7 +122,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -150,7 +159,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -189,7 +201,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -251,7 +266,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -333,7 +351,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -376,11 +397,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -437,7 +464,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/storageospersistentvolumesource-v1.json b/v1.12.2-standalone/storageospersistentvolumesource-v1.json index 52377fc6ee..c94e572fcb 100644 --- a/v1.12.2-standalone/storageospersistentvolumesource-v1.json +++ b/v1.12.2-standalone/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/storageospersistentvolumesource.json b/v1.12.2-standalone/storageospersistentvolumesource.json index 52377fc6ee..c94e572fcb 100644 --- a/v1.12.2-standalone/storageospersistentvolumesource.json +++ b/v1.12.2-standalone/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.2-standalone/storageosvolumesource-v1.json b/v1.12.2-standalone/storageosvolumesource-v1.json index 7cafcd72fd..ec921e89e3 100644 --- a/v1.12.2-standalone/storageosvolumesource-v1.json +++ b/v1.12.2-standalone/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/storageosvolumesource.json b/v1.12.2-standalone/storageosvolumesource.json index 7cafcd72fd..ec921e89e3 100644 --- a/v1.12.2-standalone/storageosvolumesource.json +++ b/v1.12.2-standalone/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/subjectaccessreview-authorization-v1.json b/v1.12.2-standalone/subjectaccessreview-authorization-v1.json index 9ea61f8324..62b99ba048 100644 --- a/v1.12.2-standalone/subjectaccessreview-authorization-v1.json +++ b/v1.12.2-standalone/subjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/subjectaccessreview-authorization-v1beta1.json b/v1.12.2-standalone/subjectaccessreview-authorization-v1beta1.json index b6c448e026..5900077f5b 100644 --- a/v1.12.2-standalone/subjectaccessreview-authorization-v1beta1.json +++ b/v1.12.2-standalone/subjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/subjectaccessreview.json b/v1.12.2-standalone/subjectaccessreview.json index 7c227634bf..6cb03ceb4a 100644 --- a/v1.12.2-standalone/subjectaccessreview.json +++ b/v1.12.2-standalone/subjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -490,7 +517,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1.json b/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1.json index 8470ed7896..d4e5e23564 100644 --- a/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1beta1.json index db9f6cd0fd..b98acb9319 100644 --- a/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.2-standalone/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/subjectaccessreviewspec.json b/v1.12.2-standalone/subjectaccessreviewspec.json index db9f6cd0fd..b98acb9319 100644 --- a/v1.12.2-standalone/subjectaccessreviewspec.json +++ b/v1.12.2-standalone/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1.json b/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1beta1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.2-standalone/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/subjectaccessreviewstatus.json b/v1.12.2-standalone/subjectaccessreviewstatus.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2-standalone/subjectaccessreviewstatus.json +++ b/v1.12.2-standalone/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1.json b/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1.json index b76a9aed1c..a44a79fb7a 100644 --- a/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1beta1.json index b76a9aed1c..a44a79fb7a 100644 --- a/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.2-standalone/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-standalone/subjectrulesreviewstatus.json b/v1.12.2-standalone/subjectrulesreviewstatus.json index b76a9aed1c..a44a79fb7a 100644 --- a/v1.12.2-standalone/subjectrulesreviewstatus.json +++ b/v1.12.2-standalone/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2-standalone/tcpsocketaction-v1.json b/v1.12.2-standalone/tcpsocketaction-v1.json index 7dcf649ff9..4f7a53d195 100644 --- a/v1.12.2-standalone/tcpsocketaction-v1.json +++ b/v1.12.2-standalone/tcpsocketaction-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/tcpsocketaction.json b/v1.12.2-standalone/tcpsocketaction.json index 7dcf649ff9..4f7a53d195 100644 --- a/v1.12.2-standalone/tcpsocketaction.json +++ b/v1.12.2-standalone/tcpsocketaction.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.2-standalone/tokenreview-authentication-v1.json b/v1.12.2-standalone/tokenreview-authentication-v1.json index 361a465bf9..578c7f6cba 100644 --- a/v1.12.2-standalone/tokenreview-authentication-v1.json +++ b/v1.12.2-standalone/tokenreview-authentication-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,7 +404,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -394,7 +421,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/tokenreview-authentication-v1beta1.json b/v1.12.2-standalone/tokenreview-authentication-v1beta1.json index cec207e125..810afed5d9 100644 --- a/v1.12.2-standalone/tokenreview-authentication-v1beta1.json +++ b/v1.12.2-standalone/tokenreview-authentication-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,7 +404,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -394,7 +421,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/tokenreview.json b/v1.12.2-standalone/tokenreview.json index a3f48abfcd..508e89e446 100644 --- a/v1.12.2-standalone/tokenreview.json +++ b/v1.12.2-standalone/tokenreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -388,7 +415,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/tokenreviewstatus-authentication-v1.json b/v1.12.2-standalone/tokenreviewstatus-authentication-v1.json index c289ed4496..0313129491 100644 --- a/v1.12.2-standalone/tokenreviewstatus-authentication-v1.json +++ b/v1.12.2-standalone/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/tokenreviewstatus-authentication-v1beta1.json b/v1.12.2-standalone/tokenreviewstatus-authentication-v1beta1.json index c289ed4496..0313129491 100644 --- a/v1.12.2-standalone/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.2-standalone/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/tokenreviewstatus.json b/v1.12.2-standalone/tokenreviewstatus.json index c289ed4496..0313129491 100644 --- a/v1.12.2-standalone/tokenreviewstatus.json +++ b/v1.12.2-standalone/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/toleration-v1.json b/v1.12.2-standalone/toleration-v1.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.2-standalone/toleration-v1.json +++ b/v1.12.2-standalone/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2-standalone/toleration.json b/v1.12.2-standalone/toleration.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.2-standalone/toleration.json +++ b/v1.12.2-standalone/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2-standalone/userinfo-authentication-v1.json b/v1.12.2-standalone/userinfo-authentication-v1.json index c2593de199..10c335b39d 100644 --- a/v1.12.2-standalone/userinfo-authentication-v1.json +++ b/v1.12.2-standalone/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/userinfo-authentication-v1beta1.json b/v1.12.2-standalone/userinfo-authentication-v1beta1.json index c2593de199..10c335b39d 100644 --- a/v1.12.2-standalone/userinfo-authentication-v1beta1.json +++ b/v1.12.2-standalone/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/userinfo.json b/v1.12.2-standalone/userinfo.json index c2593de199..10c335b39d 100644 --- a/v1.12.2-standalone/userinfo.json +++ b/v1.12.2-standalone/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.2-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json index 65eccbc886..86f83cb5aa 100644 --- a/v1.12.2-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -472,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/validatingwebhookconfiguration.json b/v1.12.2-standalone/validatingwebhookconfiguration.json index c7f4e144db..a5a24583e4 100644 --- a/v1.12.2-standalone/validatingwebhookconfiguration.json +++ b/v1.12.2-standalone/validatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -466,7 +490,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.2-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json index 6758987175..9d737213be 100644 --- a/v1.12.2-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -494,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/validatingwebhookconfigurationlist.json b/v1.12.2-standalone/validatingwebhookconfigurationlist.json index cd46ceb678..b83e38f613 100644 --- a/v1.12.2-standalone/validatingwebhookconfigurationlist.json +++ b/v1.12.2-standalone/validatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +509,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volume-v1.json b/v1.12.2-standalone/volume-v1.json index 9133104354..8d23b74764 100644 --- a/v1.12.2-standalone/volume-v1.json +++ b/v1.12.2-standalone/volume-v1.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -70,7 +76,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -83,7 +92,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -120,7 +132,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -165,7 +180,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -190,7 +208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -212,7 +233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -231,7 +255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -240,7 +267,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -276,7 +306,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -305,7 +338,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -339,7 +375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -357,12 +396,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -411,7 +456,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -421,7 +469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -471,7 +522,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -480,7 +534,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -527,7 +584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -560,11 +620,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -611,7 +677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -651,7 +720,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -671,7 +743,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -709,7 +784,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -725,7 +803,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -756,7 +837,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -775,7 +859,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -815,7 +902,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -844,7 +934,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -881,7 +974,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -900,7 +996,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -919,7 +1018,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -949,7 +1051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1012,7 +1117,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1063,7 +1171,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1079,7 +1190,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1113,7 +1227,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1135,7 +1252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1147,7 +1267,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1170,7 +1293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/volume.json b/v1.12.2-standalone/volume.json index 9133104354..8d23b74764 100644 --- a/v1.12.2-standalone/volume.json +++ b/v1.12.2-standalone/volume.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -70,7 +76,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -83,7 +92,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -120,7 +132,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -165,7 +180,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -190,7 +208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -212,7 +233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -231,7 +255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -240,7 +267,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -276,7 +306,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -305,7 +338,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -339,7 +375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -357,12 +396,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -411,7 +456,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -421,7 +469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -471,7 +522,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -480,7 +534,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -527,7 +584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -560,11 +620,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -611,7 +677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -651,7 +720,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -671,7 +743,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -709,7 +784,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -725,7 +803,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -756,7 +837,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -775,7 +859,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -815,7 +902,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -844,7 +934,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -881,7 +974,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -900,7 +996,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -919,7 +1018,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -949,7 +1051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1012,7 +1117,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1063,7 +1171,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1079,7 +1190,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1113,7 +1227,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1135,7 +1252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1147,7 +1267,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1170,7 +1293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.2-standalone/volumeattachment-storage-v1alpha1.json b/v1.12.2-standalone/volumeattachment-storage-v1alpha1.json index e677c1d85b..af4ae1ac57 100644 --- a/v1.12.2-standalone/volumeattachment-storage-v1alpha1.json +++ b/v1.12.2-standalone/volumeattachment-storage-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +449,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachment-storage-v1beta1.json b/v1.12.2-standalone/volumeattachment-storage-v1beta1.json index b0d8e8dc1d..525eac30c8 100644 --- a/v1.12.2-standalone/volumeattachment-storage-v1beta1.json +++ b/v1.12.2-standalone/volumeattachment-storage-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +449,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachment.json b/v1.12.2-standalone/volumeattachment.json index 58cdc88c54..f062ee65ea 100644 --- a/v1.12.2-standalone/volumeattachment.json +++ b/v1.12.2-standalone/volumeattachment.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +443,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachmentlist-storage-v1alpha1.json b/v1.12.2-standalone/volumeattachmentlist-storage-v1alpha1.json index 8e8b3e956c..0c3b4bfe72 100644 --- a/v1.12.2-standalone/volumeattachmentlist-storage-v1alpha1.json +++ b/v1.12.2-standalone/volumeattachmentlist-storage-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachmentlist-storage-v1beta1.json b/v1.12.2-standalone/volumeattachmentlist-storage-v1beta1.json index a5c8381464..e8fe680c63 100644 --- a/v1.12.2-standalone/volumeattachmentlist-storage-v1beta1.json +++ b/v1.12.2-standalone/volumeattachmentlist-storage-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachmentlist.json b/v1.12.2-standalone/volumeattachmentlist.json index 8ab8e253b1..7bdec0b8c9 100644 --- a/v1.12.2-standalone/volumeattachmentlist.json +++ b/v1.12.2-standalone/volumeattachmentlist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -438,7 +462,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.2-standalone/volumeattachmentstatus-storage-v1alpha1.json index 2056bd83d2..db8a128a17 100644 --- a/v1.12.2-standalone/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.2-standalone/volumeattachmentstatus-storage-v1alpha1.json @@ -26,11 +26,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachmentstatus-storage-v1beta1.json b/v1.12.2-standalone/volumeattachmentstatus-storage-v1beta1.json index 2056bd83d2..db8a128a17 100644 --- a/v1.12.2-standalone/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.2-standalone/volumeattachmentstatus-storage-v1beta1.json @@ -26,11 +26,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumeattachmentstatus.json b/v1.12.2-standalone/volumeattachmentstatus.json index 2056bd83d2..db8a128a17 100644 --- a/v1.12.2-standalone/volumeattachmentstatus.json +++ b/v1.12.2-standalone/volumeattachmentstatus.json @@ -26,11 +26,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/volumemount-v1.json b/v1.12.2-standalone/volumemount-v1.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.2-standalone/volumemount-v1.json +++ b/v1.12.2-standalone/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone/volumemount.json b/v1.12.2-standalone/volumemount.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.2-standalone/volumemount.json +++ b/v1.12.2-standalone/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2-standalone/volumeprojection-v1.json b/v1.12.2-standalone/volumeprojection-v1.json index 909c835f1d..fcfd350beb 100644 --- a/v1.12.2-standalone/volumeprojection-v1.json +++ b/v1.12.2-standalone/volumeprojection-v1.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -42,7 +45,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -82,7 +88,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -148,7 +160,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -167,7 +182,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -186,7 +204,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone/volumeprojection.json b/v1.12.2-standalone/volumeprojection.json index 909c835f1d..fcfd350beb 100644 --- a/v1.12.2-standalone/volumeprojection.json +++ b/v1.12.2-standalone/volumeprojection.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -42,7 +45,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -82,7 +88,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -148,7 +160,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -167,7 +182,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -186,7 +204,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2-standalone/webhook-admissionregistration-v1beta1.json b/v1.12.2-standalone/webhook-admissionregistration-v1beta1.json index f9997a4b49..a530573b84 100644 --- a/v1.12.2-standalone/webhook-admissionregistration-v1beta1.json +++ b/v1.12.2-standalone/webhook-admissionregistration-v1beta1.json @@ -107,7 +107,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/webhook.json b/v1.12.2-standalone/webhook.json index f9997a4b49..a530573b84 100644 --- a/v1.12.2-standalone/webhook.json +++ b/v1.12.2-standalone/webhook.json @@ -107,7 +107,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2-standalone/weightedpodaffinityterm-v1.json b/v1.12.2-standalone/weightedpodaffinityterm-v1.json index 66bfe6947f..283e471d22 100644 --- a/v1.12.2-standalone/weightedpodaffinityterm-v1.json +++ b/v1.12.2-standalone/weightedpodaffinityterm-v1.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -86,7 +89,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2-standalone/weightedpodaffinityterm.json b/v1.12.2-standalone/weightedpodaffinityterm.json index 66bfe6947f..283e471d22 100644 --- a/v1.12.2-standalone/weightedpodaffinityterm.json +++ b/v1.12.2-standalone/weightedpodaffinityterm.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -86,7 +89,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/_definitions.json b/v1.12.2/_definitions.json index a2ff3fbbf0..3109497043 100644 --- a/v1.12.2/_definitions.json +++ b/v1.12.2/_definitions.json @@ -15572,7 +15572,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.2/allowedhostpath-extensions-v1beta1.json b/v1.12.2/allowedhostpath-extensions-v1beta1.json index e3a663f0bb..492a7eb2fe 100644 --- a/v1.12.2/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.2/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/allowedhostpath-policy-v1beta1.json b/v1.12.2/allowedhostpath-policy-v1beta1.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.2/allowedhostpath-policy-v1beta1.json +++ b/v1.12.2/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/allowedhostpath.json b/v1.12.2/allowedhostpath.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.2/allowedhostpath.json +++ b/v1.12.2/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/apiresource-meta-v1.json b/v1.12.2/apiresource-meta-v1.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.2/apiresource-meta-v1.json +++ b/v1.12.2/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2/apiresource.json b/v1.12.2/apiresource.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.2/apiresource.json +++ b/v1.12.2/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.2/apiservicespec-apiregistration-v1.json b/v1.12.2/apiservicespec-apiregistration-v1.json index 018931b6f1..a18b7fbd70 100644 --- a/v1.12.2/apiservicespec-apiregistration-v1.json +++ b/v1.12.2/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/apiservicespec-apiregistration-v1beta1.json b/v1.12.2/apiservicespec-apiregistration-v1beta1.json index fee74cf854..c71553dffa 100644 --- a/v1.12.2/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.2/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/apiservicespec.json b/v1.12.2/apiservicespec.json index fee74cf854..c71553dffa 100644 --- a/v1.12.2/apiservicespec.json +++ b/v1.12.2/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/awselasticblockstorevolumesource-v1.json b/v1.12.2/awselasticblockstorevolumesource-v1.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.2/awselasticblockstorevolumesource-v1.json +++ b/v1.12.2/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2/awselasticblockstorevolumesource.json b/v1.12.2/awselasticblockstorevolumesource.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.2/awselasticblockstorevolumesource.json +++ b/v1.12.2/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.2/azurediskvolumesource-v1.json b/v1.12.2/azurediskvolumesource-v1.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.2/azurediskvolumesource-v1.json +++ b/v1.12.2/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/azurediskvolumesource.json b/v1.12.2/azurediskvolumesource.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.2/azurediskvolumesource.json +++ b/v1.12.2/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/azurefilepersistentvolumesource-v1.json b/v1.12.2/azurefilepersistentvolumesource-v1.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.2/azurefilepersistentvolumesource-v1.json +++ b/v1.12.2/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2/azurefilepersistentvolumesource.json b/v1.12.2/azurefilepersistentvolumesource.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.2/azurefilepersistentvolumesource.json +++ b/v1.12.2/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2/azurefilevolumesource-v1.json b/v1.12.2/azurefilevolumesource-v1.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.2/azurefilevolumesource-v1.json +++ b/v1.12.2/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2/azurefilevolumesource.json b/v1.12.2/azurefilevolumesource.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.2/azurefilevolumesource.json +++ b/v1.12.2/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.2/cephfspersistentvolumesource-v1.json b/v1.12.2/cephfspersistentvolumesource-v1.json index 976b1d827b..0fc2aaaf9d 100644 --- a/v1.12.2/cephfspersistentvolumesource-v1.json +++ b/v1.12.2/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2/cephfspersistentvolumesource.json b/v1.12.2/cephfspersistentvolumesource.json index 976b1d827b..0fc2aaaf9d 100644 --- a/v1.12.2/cephfspersistentvolumesource.json +++ b/v1.12.2/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2/cephfsvolumesource-v1.json b/v1.12.2/cephfsvolumesource-v1.json index de29b15339..ca2dadab91 100644 --- a/v1.12.2/cephfsvolumesource-v1.json +++ b/v1.12.2/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2/cephfsvolumesource.json b/v1.12.2/cephfsvolumesource.json index de29b15339..ca2dadab91 100644 --- a/v1.12.2/cephfsvolumesource.json +++ b/v1.12.2/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.2/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.2/certificatesigningrequestspec-certificates-v1beta1.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.2/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.2/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/certificatesigningrequestspec.json b/v1.12.2/certificatesigningrequestspec.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.2/certificatesigningrequestspec.json +++ b/v1.12.2/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/cinderpersistentvolumesource-v1.json b/v1.12.2/cinderpersistentvolumesource-v1.json index 18e924bebf..0b7234b107 100644 --- a/v1.12.2/cinderpersistentvolumesource-v1.json +++ b/v1.12.2/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2/cinderpersistentvolumesource.json b/v1.12.2/cinderpersistentvolumesource.json index 18e924bebf..0b7234b107 100644 --- a/v1.12.2/cinderpersistentvolumesource.json +++ b/v1.12.2/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2/cindervolumesource-v1.json b/v1.12.2/cindervolumesource-v1.json index db17f9dfa2..5cc77335a5 100644 --- a/v1.12.2/cindervolumesource-v1.json +++ b/v1.12.2/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2/cindervolumesource.json b/v1.12.2/cindervolumesource.json index db17f9dfa2..5cc77335a5 100644 --- a/v1.12.2/cindervolumesource.json +++ b/v1.12.2/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.2/clientipconfig-v1.json b/v1.12.2/clientipconfig-v1.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.2/clientipconfig-v1.json +++ b/v1.12.2/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/clientipconfig.json b/v1.12.2/clientipconfig.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.2/clientipconfig.json +++ b/v1.12.2/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/configmap-v1.json b/v1.12.2/configmap-v1.json index e7769738a0..c7374fa040 100644 --- a/v1.12.2/configmap-v1.json +++ b/v1.12.2/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/configmap.json b/v1.12.2/configmap.json index b1e3d132ca..25e19e15da 100644 --- a/v1.12.2/configmap.json +++ b/v1.12.2/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/configmapenvsource-v1.json b/v1.12.2/configmapenvsource-v1.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.2/configmapenvsource-v1.json +++ b/v1.12.2/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapenvsource.json b/v1.12.2/configmapenvsource.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.2/configmapenvsource.json +++ b/v1.12.2/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapkeyselector-v1.json b/v1.12.2/configmapkeyselector-v1.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.2/configmapkeyselector-v1.json +++ b/v1.12.2/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapkeyselector.json b/v1.12.2/configmapkeyselector.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.2/configmapkeyselector.json +++ b/v1.12.2/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapprojection-v1.json b/v1.12.2/configmapprojection-v1.json index fc493bbdc1..ef974fe2e6 100644 --- a/v1.12.2/configmapprojection-v1.json +++ b/v1.12.2/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapprojection.json b/v1.12.2/configmapprojection.json index fc493bbdc1..ef974fe2e6 100644 --- a/v1.12.2/configmapprojection.json +++ b/v1.12.2/configmapprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapvolumesource-v1.json b/v1.12.2/configmapvolumesource-v1.json index 650ff08c8f..84c0fa007a 100644 --- a/v1.12.2/configmapvolumesource-v1.json +++ b/v1.12.2/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/configmapvolumesource.json b/v1.12.2/configmapvolumesource.json index 650ff08c8f..84c0fa007a 100644 --- a/v1.12.2/configmapvolumesource.json +++ b/v1.12.2/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/container-v1.json b/v1.12.2/container-v1.json index 500c847eba..04351ab496 100644 --- a/v1.12.2/container-v1.json +++ b/v1.12.2/container-v1.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.2/container.json b/v1.12.2/container.json index 500c847eba..04351ab496 100644 --- a/v1.12.2/container.json +++ b/v1.12.2/container.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.2/containerimage-v1.json b/v1.12.2/containerimage-v1.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.2/containerimage-v1.json +++ b/v1.12.2/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/containerimage.json b/v1.12.2/containerimage.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.2/containerimage.json +++ b/v1.12.2/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/containerport-v1.json b/v1.12.2/containerport-v1.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.2/containerport-v1.json +++ b/v1.12.2/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2/containerport.json b/v1.12.2/containerport.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.2/containerport.json +++ b/v1.12.2/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.2/containerstateterminated-v1.json b/v1.12.2/containerstateterminated-v1.json index 53dcbb6e8a..cb70d787b0 100644 --- a/v1.12.2/containerstateterminated-v1.json +++ b/v1.12.2/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2/containerstateterminated.json b/v1.12.2/containerstateterminated.json index 53dcbb6e8a..cb70d787b0 100644 --- a/v1.12.2/containerstateterminated.json +++ b/v1.12.2/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.2/containerstatus-v1.json b/v1.12.2/containerstatus-v1.json index b432921759..1215a7301d 100644 --- a/v1.12.2/containerstatus-v1.json +++ b/v1.12.2/containerstatus-v1.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.2/containerstatus.json b/v1.12.2/containerstatus.json index b432921759..1215a7301d 100644 --- a/v1.12.2/containerstatus.json +++ b/v1.12.2/containerstatus.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.2/controllerrevision-apps-v1.json b/v1.12.2/controllerrevision-apps-v1.json index ccf5bf4a35..5e602a7ef1 100644 --- a/v1.12.2/controllerrevision-apps-v1.json +++ b/v1.12.2/controllerrevision-apps-v1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/controllerrevision-apps-v1beta1.json b/v1.12.2/controllerrevision-apps-v1beta1.json index ff3874d457..f51ca90c41 100644 --- a/v1.12.2/controllerrevision-apps-v1beta1.json +++ b/v1.12.2/controllerrevision-apps-v1beta1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/controllerrevision-apps-v1beta2.json b/v1.12.2/controllerrevision-apps-v1beta2.json index 588829b46b..29bbbbc8d3 100644 --- a/v1.12.2/controllerrevision-apps-v1beta2.json +++ b/v1.12.2/controllerrevision-apps-v1beta2.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/controllerrevision.json b/v1.12.2/controllerrevision.json index b2abb65efc..461f0fa66b 100644 --- a/v1.12.2/controllerrevision.json +++ b/v1.12.2/controllerrevision.json @@ -31,7 +31,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/cronjobspec-batch-v1beta1.json b/v1.12.2/cronjobspec-batch-v1beta1.json index 7014c742d6..358899289a 100644 --- a/v1.12.2/cronjobspec-batch-v1beta1.json +++ b/v1.12.2/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/cronjobspec-batch-v2alpha1.json b/v1.12.2/cronjobspec-batch-v2alpha1.json index e14429089e..7f3f4b314a 100644 --- a/v1.12.2/cronjobspec-batch-v2alpha1.json +++ b/v1.12.2/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/cronjobspec.json b/v1.12.2/cronjobspec.json index e14429089e..7f3f4b314a 100644 --- a/v1.12.2/cronjobspec.json +++ b/v1.12.2/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/csipersistentvolumesource-v1.json b/v1.12.2/csipersistentvolumesource-v1.json index 7042a16697..53474bf66f 100644 --- a/v1.12.2/csipersistentvolumesource-v1.json +++ b/v1.12.2/csipersistentvolumesource-v1.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/csipersistentvolumesource.json b/v1.12.2/csipersistentvolumesource.json index 7042a16697..53474bf66f 100644 --- a/v1.12.2/csipersistentvolumesource.json +++ b/v1.12.2/csipersistentvolumesource.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.2/customresourcecolumndefinition-apiextensions-v1beta1.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.2/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.2/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2/customresourcecolumndefinition.json b/v1.12.2/customresourcecolumndefinition.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.2/customresourcecolumndefinition.json +++ b/v1.12.2/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.2/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.2/customresourcedefinitionversion-apiextensions-v1beta1.json index 374ed744c6..a89101639e 100644 --- a/v1.12.2/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.2/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/customresourcedefinitionversion.json b/v1.12.2/customresourcedefinitionversion.json index 374ed744c6..a89101639e 100644 --- a/v1.12.2/customresourcedefinitionversion.json +++ b/v1.12.2/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/daemonendpoint-v1.json b/v1.12.2/daemonendpoint-v1.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.2/daemonendpoint-v1.json +++ b/v1.12.2/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/daemonendpoint.json b/v1.12.2/daemonendpoint.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.2/daemonendpoint.json +++ b/v1.12.2/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/daemonsetspec-apps-v1.json b/v1.12.2/daemonsetspec-apps-v1.json index 95aa5a7c60..e6347dacda 100644 --- a/v1.12.2/daemonsetspec-apps-v1.json +++ b/v1.12.2/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/daemonsetspec-apps-v1beta2.json b/v1.12.2/daemonsetspec-apps-v1beta2.json index ce7815ef50..9fbffc915c 100644 --- a/v1.12.2/daemonsetspec-apps-v1beta2.json +++ b/v1.12.2/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/daemonsetspec-extensions-v1beta1.json b/v1.12.2/daemonsetspec-extensions-v1beta1.json index d6d6dde988..0aeea39b2f 100644 --- a/v1.12.2/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.2/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.2/daemonsetspec.json b/v1.12.2/daemonsetspec.json index d6d6dde988..0aeea39b2f 100644 --- a/v1.12.2/daemonsetspec.json +++ b/v1.12.2/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.2/daemonsetstatus-apps-v1.json b/v1.12.2/daemonsetstatus-apps-v1.json index 8f69458b16..1f4b626609 100644 --- a/v1.12.2/daemonsetstatus-apps-v1.json +++ b/v1.12.2/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/daemonsetstatus-apps-v1beta2.json b/v1.12.2/daemonsetstatus-apps-v1beta2.json index da9e887364..6b8ee92477 100644 --- a/v1.12.2/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.2/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/daemonsetstatus-extensions-v1beta1.json b/v1.12.2/daemonsetstatus-extensions-v1beta1.json index 084e81fe70..6bbab28794 100644 --- a/v1.12.2/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.2/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/daemonsetstatus.json b/v1.12.2/daemonsetstatus.json index 084e81fe70..6bbab28794 100644 --- a/v1.12.2/daemonsetstatus.json +++ b/v1.12.2/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/deleteoptions-meta-v1.json b/v1.12.2/deleteoptions-meta-v1.json index 89672709c2..64b0e66ed5 100644 --- a/v1.12.2/deleteoptions-meta-v1.json +++ b/v1.12.2/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.2/deleteoptions.json b/v1.12.2/deleteoptions.json index 3d42cb7846..98f65a3df4 100644 --- a/v1.12.2/deleteoptions.json +++ b/v1.12.2/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.2/deploymentrollback-apps-v1beta1.json b/v1.12.2/deploymentrollback-apps-v1beta1.json index 2faca63ce7..e2c63b773b 100644 --- a/v1.12.2/deploymentrollback-apps-v1beta1.json +++ b/v1.12.2/deploymentrollback-apps-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/deploymentrollback-extensions-v1beta1.json b/v1.12.2/deploymentrollback-extensions-v1beta1.json index 261d4b6ed5..2478efd796 100644 --- a/v1.12.2/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.2/deploymentrollback-extensions-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/deploymentrollback.json b/v1.12.2/deploymentrollback.json index 38534ac98b..10609996b9 100644 --- a/v1.12.2/deploymentrollback.json +++ b/v1.12.2/deploymentrollback.json @@ -35,7 +35,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/deploymentspec-apps-v1.json b/v1.12.2/deploymentspec-apps-v1.json index afff34a16d..0a46ce1cca 100644 --- a/v1.12.2/deploymentspec-apps-v1.json +++ b/v1.12.2/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/deploymentspec-apps-v1beta1.json b/v1.12.2/deploymentspec-apps-v1beta1.json index e3a0da11cf..ccc2a965b8 100644 --- a/v1.12.2/deploymentspec-apps-v1beta1.json +++ b/v1.12.2/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.2/deploymentspec-apps-v1beta2.json b/v1.12.2/deploymentspec-apps-v1beta2.json index 5354b0599d..48fafd906a 100644 --- a/v1.12.2/deploymentspec-apps-v1beta2.json +++ b/v1.12.2/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/deploymentspec-extensions-v1beta1.json b/v1.12.2/deploymentspec-extensions-v1beta1.json index 91636a843a..978c49a1cf 100644 --- a/v1.12.2/deploymentspec-extensions-v1beta1.json +++ b/v1.12.2/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.2/deploymentspec.json b/v1.12.2/deploymentspec.json index 91636a843a..978c49a1cf 100644 --- a/v1.12.2/deploymentspec.json +++ b/v1.12.2/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.2/deploymentstatus-apps-v1.json b/v1.12.2/deploymentstatus-apps-v1.json index 3404230893..84bdcc4d46 100644 --- a/v1.12.2/deploymentstatus-apps-v1.json +++ b/v1.12.2/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/deploymentstatus-apps-v1beta1.json b/v1.12.2/deploymentstatus-apps-v1beta1.json index 8b748907e6..8ebee7ce4e 100644 --- a/v1.12.2/deploymentstatus-apps-v1beta1.json +++ b/v1.12.2/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/deploymentstatus-apps-v1beta2.json b/v1.12.2/deploymentstatus-apps-v1beta2.json index eccf4afbe1..3c0da29c26 100644 --- a/v1.12.2/deploymentstatus-apps-v1beta2.json +++ b/v1.12.2/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/deploymentstatus-extensions-v1beta1.json b/v1.12.2/deploymentstatus-extensions-v1beta1.json index 7f1a836129..c847906212 100644 --- a/v1.12.2/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.2/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/deploymentstatus.json b/v1.12.2/deploymentstatus.json index 7f1a836129..c847906212 100644 --- a/v1.12.2/deploymentstatus.json +++ b/v1.12.2/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/downwardapivolumefile-v1.json b/v1.12.2/downwardapivolumefile-v1.json index 6127c74ef3..43216b5f24 100644 --- a/v1.12.2/downwardapivolumefile-v1.json +++ b/v1.12.2/downwardapivolumefile-v1.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2/downwardapivolumefile.json b/v1.12.2/downwardapivolumefile.json index 6127c74ef3..43216b5f24 100644 --- a/v1.12.2/downwardapivolumefile.json +++ b/v1.12.2/downwardapivolumefile.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2/downwardapivolumesource-v1.json b/v1.12.2/downwardapivolumesource-v1.json index 02344085c4..5b682be799 100644 --- a/v1.12.2/downwardapivolumesource-v1.json +++ b/v1.12.2/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.2/downwardapivolumesource.json b/v1.12.2/downwardapivolumesource.json index 02344085c4..5b682be799 100644 --- a/v1.12.2/downwardapivolumesource.json +++ b/v1.12.2/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.2/endpointport-v1.json b/v1.12.2/endpointport-v1.json index f972b838b7..07ab862b85 100644 --- a/v1.12.2/endpointport-v1.json +++ b/v1.12.2/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2/endpointport.json b/v1.12.2/endpointport.json index f972b838b7..07ab862b85 100644 --- a/v1.12.2/endpointport.json +++ b/v1.12.2/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2/event-events-v1beta1.json b/v1.12.2/event-events-v1beta1.json index 5b2e443b3d..877e49883d 100644 --- a/v1.12.2/event-events-v1beta1.json +++ b/v1.12.2/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.2/event-v1.json b/v1.12.2/event-v1.json index cbec7290bc..6d3ce04d33 100644 --- a/v1.12.2/event-v1.json +++ b/v1.12.2/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { diff --git a/v1.12.2/event.json b/v1.12.2/event.json index 218b575d6f..e1672d9bab 100644 --- a/v1.12.2/event.json +++ b/v1.12.2/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.2/eventseries-events-v1beta1.json b/v1.12.2/eventseries-events-v1beta1.json index 3711fc1b36..acf613b3ea 100644 --- a/v1.12.2/eventseries-events-v1beta1.json +++ b/v1.12.2/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2/eventseries-v1.json b/v1.12.2/eventseries-v1.json index c9851ac47c..bc1ce52a58 100644 --- a/v1.12.2/eventseries-v1.json +++ b/v1.12.2/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2/eventseries.json b/v1.12.2/eventseries.json index 3711fc1b36..acf613b3ea 100644 --- a/v1.12.2/eventseries.json +++ b/v1.12.2/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.2/fcvolumesource-v1.json b/v1.12.2/fcvolumesource-v1.json index f956dfb4a6..018067f431 100644 --- a/v1.12.2/fcvolumesource-v1.json +++ b/v1.12.2/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2/fcvolumesource.json b/v1.12.2/fcvolumesource.json index f956dfb4a6..018067f431 100644 --- a/v1.12.2/fcvolumesource.json +++ b/v1.12.2/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.2/flexpersistentvolumesource-v1.json b/v1.12.2/flexpersistentvolumesource-v1.json index 75f7c74eb6..92c1035c45 100644 --- a/v1.12.2/flexpersistentvolumesource-v1.json +++ b/v1.12.2/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2/flexpersistentvolumesource.json b/v1.12.2/flexpersistentvolumesource.json index 75f7c74eb6..92c1035c45 100644 --- a/v1.12.2/flexpersistentvolumesource.json +++ b/v1.12.2/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2/flexvolumesource-v1.json b/v1.12.2/flexvolumesource-v1.json index acd4559d0d..91ef5efefb 100644 --- a/v1.12.2/flexvolumesource-v1.json +++ b/v1.12.2/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2/flexvolumesource.json b/v1.12.2/flexvolumesource.json index acd4559d0d..91ef5efefb 100644 --- a/v1.12.2/flexvolumesource.json +++ b/v1.12.2/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.2/gcepersistentdiskvolumesource-v1.json b/v1.12.2/gcepersistentdiskvolumesource-v1.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.2/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.2/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/gcepersistentdiskvolumesource.json b/v1.12.2/gcepersistentdiskvolumesource.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.2/gcepersistentdiskvolumesource.json +++ b/v1.12.2/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/glusterfsvolumesource-v1.json b/v1.12.2/glusterfsvolumesource-v1.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.2/glusterfsvolumesource-v1.json +++ b/v1.12.2/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/glusterfsvolumesource.json b/v1.12.2/glusterfsvolumesource.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.2/glusterfsvolumesource.json +++ b/v1.12.2/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.2/horizontalpodautoscalerspec-autoscaling-v1.json index 455e51a10b..56e0000cad 100644 --- a/v1.12.2/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.2/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -21,7 +27,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta1.json index 2049b64d41..6c193f3ad4 100644 --- a/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 662f36a9c8..2e864feeea 100644 --- a/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.2/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2/horizontalpodautoscalerspec.json b/v1.12.2/horizontalpodautoscalerspec.json index 662f36a9c8..2e864feeea 100644 --- a/v1.12.2/horizontalpodautoscalerspec.json +++ b/v1.12.2/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v1.json index d69a5f808d..5311ff4e49 100644 --- a/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -26,7 +35,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index 8a054d41d8..4fca990673 100644 --- a/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index 5465591dfb..f9a8ffc5c9 100644 --- a/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.2/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/horizontalpodautoscalerstatus.json b/v1.12.2/horizontalpodautoscalerstatus.json index 5465591dfb..f9a8ffc5c9 100644 --- a/v1.12.2/horizontalpodautoscalerstatus.json +++ b/v1.12.2/horizontalpodautoscalerstatus.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/hostportrange-extensions-v1beta1.json b/v1.12.2/hostportrange-extensions-v1beta1.json index 626d06d2ad..25785003e9 100644 --- a/v1.12.2/hostportrange-extensions-v1beta1.json +++ b/v1.12.2/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/hostportrange-policy-v1beta1.json b/v1.12.2/hostportrange-policy-v1beta1.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.2/hostportrange-policy-v1beta1.json +++ b/v1.12.2/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/hostportrange.json b/v1.12.2/hostportrange.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.2/hostportrange.json +++ b/v1.12.2/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/idrange-extensions-v1beta1.json b/v1.12.2/idrange-extensions-v1beta1.json index a3a41068ce..e0a7a3debf 100644 --- a/v1.12.2/idrange-extensions-v1beta1.json +++ b/v1.12.2/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/idrange-policy-v1beta1.json b/v1.12.2/idrange-policy-v1beta1.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.2/idrange-policy-v1beta1.json +++ b/v1.12.2/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/idrange.json b/v1.12.2/idrange.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.2/idrange.json +++ b/v1.12.2/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/iscsipersistentvolumesource-v1.json b/v1.12.2/iscsipersistentvolumesource-v1.json index 42a7008fca..219cf41648 100644 --- a/v1.12.2/iscsipersistentvolumesource-v1.json +++ b/v1.12.2/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2/iscsipersistentvolumesource.json b/v1.12.2/iscsipersistentvolumesource.json index 42a7008fca..219cf41648 100644 --- a/v1.12.2/iscsipersistentvolumesource.json +++ b/v1.12.2/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2/iscsivolumesource-v1.json b/v1.12.2/iscsivolumesource-v1.json index bab8d96300..2e77916e2d 100644 --- a/v1.12.2/iscsivolumesource-v1.json +++ b/v1.12.2/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2/iscsivolumesource.json b/v1.12.2/iscsivolumesource.json index bab8d96300..2e77916e2d 100644 --- a/v1.12.2/iscsivolumesource.json +++ b/v1.12.2/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.2/jobspec-batch-v1.json b/v1.12.2/jobspec-batch-v1.json index c2df9a925a..de0414ad6b 100644 --- a/v1.12.2/jobspec-batch-v1.json +++ b/v1.12.2/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/jobspec.json b/v1.12.2/jobspec.json index c2df9a925a..de0414ad6b 100644 --- a/v1.12.2/jobspec.json +++ b/v1.12.2/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/jobstatus-batch-v1.json b/v1.12.2/jobstatus-batch-v1.json index 346c3c4c85..77aba48ffd 100644 --- a/v1.12.2/jobstatus-batch-v1.json +++ b/v1.12.2/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/jobstatus.json b/v1.12.2/jobstatus.json index 346c3c4c85..77aba48ffd 100644 --- a/v1.12.2/jobstatus.json +++ b/v1.12.2/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/jsonschemaprops-apiextensions-v1beta1.json b/v1.12.2/jsonschemaprops-apiextensions-v1beta1.json index 12694e2217..eca7c6c206 100644 --- a/v1.12.2/jsonschemaprops-apiextensions-v1beta1.json +++ b/v1.12.2/jsonschemaprops-apiextensions-v1beta1.json @@ -41,13 +41,19 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/jsonschemaprops.json b/v1.12.2/jsonschemaprops.json index 12694e2217..eca7c6c206 100644 --- a/v1.12.2/jsonschemaprops.json +++ b/v1.12.2/jsonschemaprops.json @@ -41,13 +41,19 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/keytopath-v1.json b/v1.12.2/keytopath-v1.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.2/keytopath-v1.json +++ b/v1.12.2/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2/keytopath.json b/v1.12.2/keytopath.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.2/keytopath.json +++ b/v1.12.2/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.2/labelselector-meta-v1.json b/v1.12.2/labelselector-meta-v1.json index 2178d9421b..1b0df7fabe 100644 --- a/v1.12.2/labelselector-meta-v1.json +++ b/v1.12.2/labelselector-meta-v1.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/labelselector.json b/v1.12.2/labelselector.json index 2178d9421b..1b0df7fabe 100644 --- a/v1.12.2/labelselector.json +++ b/v1.12.2/labelselector.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/leasespec-coordination-v1beta1.json b/v1.12.2/leasespec-coordination-v1beta1.json index 5af58b49f4..f17dfc0e8f 100644 --- a/v1.12.2/leasespec-coordination-v1beta1.json +++ b/v1.12.2/leasespec-coordination-v1beta1.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2/leasespec.json b/v1.12.2/leasespec.json index 5af58b49f4..f17dfc0e8f 100644 --- a/v1.12.2/leasespec.json +++ b/v1.12.2/leasespec.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.2/limitrangeitem-v1.json b/v1.12.2/limitrangeitem-v1.json index b889fbff58..1508afe34b 100644 --- a/v1.12.2/limitrangeitem-v1.json +++ b/v1.12.2/limitrangeitem-v1.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/limitrangeitem.json b/v1.12.2/limitrangeitem.json index b889fbff58..1508afe34b 100644 --- a/v1.12.2/limitrangeitem.json +++ b/v1.12.2/limitrangeitem.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/metrictarget-autoscaling-v2beta2.json b/v1.12.2/metrictarget-autoscaling-v2beta2.json index 6d2b6cfc72..e30cc92d95 100644 --- a/v1.12.2/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.2/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2/metrictarget.json b/v1.12.2/metrictarget.json index 6d2b6cfc72..e30cc92d95 100644 --- a/v1.12.2/metrictarget.json +++ b/v1.12.2/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.2/metricvaluestatus-autoscaling-v2beta2.json index e75ddad0d1..a37328ec1c 100644 --- a/v1.12.2/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.2/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2/metricvaluestatus.json b/v1.12.2/metricvaluestatus.json index e75ddad0d1..a37328ec1c 100644 --- a/v1.12.2/metricvaluestatus.json +++ b/v1.12.2/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.2/nfsvolumesource-v1.json b/v1.12.2/nfsvolumesource-v1.json index b3e166d6ee..122d722664 100644 --- a/v1.12.2/nfsvolumesource-v1.json +++ b/v1.12.2/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2/nfsvolumesource.json b/v1.12.2/nfsvolumesource.json index b3e166d6ee..122d722664 100644 --- a/v1.12.2/nfsvolumesource.json +++ b/v1.12.2/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.2/nodespec-v1.json b/v1.12.2/nodespec-v1.json index bbcfd83e52..4c2f7ddbaa 100644 --- a/v1.12.2/nodespec-v1.json +++ b/v1.12.2/nodespec-v1.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/nodespec.json b/v1.12.2/nodespec.json index bbcfd83e52..4c2f7ddbaa 100644 --- a/v1.12.2/nodespec.json +++ b/v1.12.2/nodespec.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/nodestatus-v1.json b/v1.12.2/nodestatus-v1.json index 2a11220097..4ad8d6b692 100644 --- a/v1.12.2/nodestatus-v1.json +++ b/v1.12.2/nodestatus-v1.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/nodestatus.json b/v1.12.2/nodestatus.json index 2a11220097..4ad8d6b692 100644 --- a/v1.12.2/nodestatus.json +++ b/v1.12.2/nodestatus.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/objectmeta-meta-v1.json b/v1.12.2/objectmeta-meta-v1.json index e9d7b0c38b..eed9597aca 100644 --- a/v1.12.2/objectmeta-meta-v1.json +++ b/v1.12.2/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/objectmeta.json b/v1.12.2/objectmeta.json index e9d7b0c38b..eed9597aca 100644 --- a/v1.12.2/objectmeta.json +++ b/v1.12.2/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/ownerreference-meta-v1.json b/v1.12.2/ownerreference-meta-v1.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.2/ownerreference-meta-v1.json +++ b/v1.12.2/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2/ownerreference.json b/v1.12.2/ownerreference.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.2/ownerreference.json +++ b/v1.12.2/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.2/persistentvolumeclaimstatus-v1.json b/v1.12.2/persistentvolumeclaimstatus-v1.json index ae8881cdc8..722e9fbff8 100644 --- a/v1.12.2/persistentvolumeclaimstatus-v1.json +++ b/v1.12.2/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/persistentvolumeclaimstatus.json b/v1.12.2/persistentvolumeclaimstatus.json index ae8881cdc8..722e9fbff8 100644 --- a/v1.12.2/persistentvolumeclaimstatus.json +++ b/v1.12.2/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/persistentvolumeclaimvolumesource-v1.json b/v1.12.2/persistentvolumeclaimvolumesource-v1.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.2/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.2/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/persistentvolumeclaimvolumesource.json b/v1.12.2/persistentvolumeclaimvolumesource.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.2/persistentvolumeclaimvolumesource.json +++ b/v1.12.2/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/persistentvolumespec-v1.json b/v1.12.2/persistentvolumespec-v1.json index 1f251e65c1..c0e24fffbb 100644 --- a/v1.12.2/persistentvolumespec-v1.json +++ b/v1.12.2/persistentvolumespec-v1.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/persistentvolumespec.json b/v1.12.2/persistentvolumespec.json index 1f251e65c1..c0e24fffbb 100644 --- a/v1.12.2/persistentvolumespec.json +++ b/v1.12.2/persistentvolumespec.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.2/poddisruptionbudgetstatus-policy-v1beta1.json index bfeb7bb8a8..fe0c93b768 100644 --- a/v1.12.2/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.2/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/poddisruptionbudgetstatus.json b/v1.12.2/poddisruptionbudgetstatus.json index bfeb7bb8a8..fe0c93b768 100644 --- a/v1.12.2/poddisruptionbudgetstatus.json +++ b/v1.12.2/poddisruptionbudgetstatus.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/podsecuritycontext-v1.json b/v1.12.2/podsecuritycontext-v1.json index d0d6d723fe..d386e7ebae 100644 --- a/v1.12.2/podsecuritycontext-v1.json +++ b/v1.12.2/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/podsecuritycontext.json b/v1.12.2/podsecuritycontext.json index d0d6d723fe..d386e7ebae 100644 --- a/v1.12.2/podsecuritycontext.json +++ b/v1.12.2/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.2/podsecuritypolicyspec-extensions-v1beta1.json index e4df343af2..1b9ca8822e 100644 --- a/v1.12.2/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.2/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.2/podsecuritypolicyspec-policy-v1beta1.json index e1553b302b..ccda92b443 100644 --- a/v1.12.2/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.2/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2/podsecuritypolicyspec.json b/v1.12.2/podsecuritypolicyspec.json index e1553b302b..ccda92b443 100644 --- a/v1.12.2/podsecuritypolicyspec.json +++ b/v1.12.2/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.2/podspec-v1.json b/v1.12.2/podspec-v1.json index 50f95b663a..3883f2a3f1 100644 --- a/v1.12.2/podspec-v1.json +++ b/v1.12.2/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.2/podspec.json b/v1.12.2/podspec.json index 50f95b663a..3883f2a3f1 100644 --- a/v1.12.2/podspec.json +++ b/v1.12.2/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.2/portworxvolumesource-v1.json b/v1.12.2/portworxvolumesource-v1.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.2/portworxvolumesource-v1.json +++ b/v1.12.2/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2/portworxvolumesource.json b/v1.12.2/portworxvolumesource.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.2/portworxvolumesource.json +++ b/v1.12.2/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.2/preferredschedulingterm-v1.json b/v1.12.2/preferredschedulingterm-v1.json index ebd12f2f61..e4fdd3e9d0 100644 --- a/v1.12.2/preferredschedulingterm-v1.json +++ b/v1.12.2/preferredschedulingterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/preferredschedulingterm.json b/v1.12.2/preferredschedulingterm.json index ebd12f2f61..e4fdd3e9d0 100644 --- a/v1.12.2/preferredschedulingterm.json +++ b/v1.12.2/preferredschedulingterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/priorityclass-scheduling-v1alpha1.json b/v1.12.2/priorityclass-scheduling-v1alpha1.json index b7b151170d..3940721b15 100644 --- a/v1.12.2/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.2/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/priorityclass-scheduling-v1beta1.json b/v1.12.2/priorityclass-scheduling-v1beta1.json index 3709feaaea..a318bc611c 100644 --- a/v1.12.2/priorityclass-scheduling-v1beta1.json +++ b/v1.12.2/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/priorityclass.json b/v1.12.2/priorityclass.json index 03da14ec87..ca9ae33a48 100644 --- a/v1.12.2/priorityclass.json +++ b/v1.12.2/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -38,7 +41,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/probe-v1.json b/v1.12.2/probe-v1.json index 5a05aa45c8..d9549224ea 100644 --- a/v1.12.2/probe-v1.json +++ b/v1.12.2/probe-v1.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/probe.json b/v1.12.2/probe.json index 5a05aa45c8..d9549224ea 100644 --- a/v1.12.2/probe.json +++ b/v1.12.2/probe.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/projectedvolumesource-v1.json b/v1.12.2/projectedvolumesource-v1.json index b3ed88270e..e57d16fda1 100644 --- a/v1.12.2/projectedvolumesource-v1.json +++ b/v1.12.2/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.2/projectedvolumesource.json b/v1.12.2/projectedvolumesource.json index b3ed88270e..e57d16fda1 100644 --- a/v1.12.2/projectedvolumesource.json +++ b/v1.12.2/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.2/quantity-resource.json b/v1.12.2/quantity-resource.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.2/quantity-resource.json +++ b/v1.12.2/quantity-resource.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/quantity.json b/v1.12.2/quantity.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.2/quantity.json +++ b/v1.12.2/quantity.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/quobytevolumesource-v1.json b/v1.12.2/quobytevolumesource-v1.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.2/quobytevolumesource-v1.json +++ b/v1.12.2/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2/quobytevolumesource.json b/v1.12.2/quobytevolumesource.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.2/quobytevolumesource.json +++ b/v1.12.2/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.2/rbdpersistentvolumesource-v1.json b/v1.12.2/rbdpersistentvolumesource-v1.json index f6711ce414..536b6860b8 100644 --- a/v1.12.2/rbdpersistentvolumesource-v1.json +++ b/v1.12.2/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2/rbdpersistentvolumesource.json b/v1.12.2/rbdpersistentvolumesource.json index f6711ce414..536b6860b8 100644 --- a/v1.12.2/rbdpersistentvolumesource.json +++ b/v1.12.2/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2/rbdvolumesource-v1.json b/v1.12.2/rbdvolumesource-v1.json index fa2d125dad..7ab44d9349 100644 --- a/v1.12.2/rbdvolumesource-v1.json +++ b/v1.12.2/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2/rbdvolumesource.json b/v1.12.2/rbdvolumesource.json index fa2d125dad..7ab44d9349 100644 --- a/v1.12.2/rbdvolumesource.json +++ b/v1.12.2/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.2/replicasetspec-apps-v1.json b/v1.12.2/replicasetspec-apps-v1.json index a93fcb80d6..fd6d560518 100644 --- a/v1.12.2/replicasetspec-apps-v1.json +++ b/v1.12.2/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/replicasetspec-apps-v1beta2.json b/v1.12.2/replicasetspec-apps-v1beta2.json index a93fcb80d6..fd6d560518 100644 --- a/v1.12.2/replicasetspec-apps-v1beta2.json +++ b/v1.12.2/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/replicasetspec-extensions-v1beta1.json b/v1.12.2/replicasetspec-extensions-v1beta1.json index 0d71c31dbb..b128fd4f91 100644 --- a/v1.12.2/replicasetspec-extensions-v1beta1.json +++ b/v1.12.2/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/replicasetspec.json b/v1.12.2/replicasetspec.json index 0d71c31dbb..b128fd4f91 100644 --- a/v1.12.2/replicasetspec.json +++ b/v1.12.2/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/replicasetstatus-apps-v1.json b/v1.12.2/replicasetstatus-apps-v1.json index 807a2cba1a..d299de87c1 100644 --- a/v1.12.2/replicasetstatus-apps-v1.json +++ b/v1.12.2/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/replicasetstatus-apps-v1beta2.json b/v1.12.2/replicasetstatus-apps-v1beta2.json index 7ee0264f4a..3f2b2d8471 100644 --- a/v1.12.2/replicasetstatus-apps-v1beta2.json +++ b/v1.12.2/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/replicasetstatus-extensions-v1beta1.json b/v1.12.2/replicasetstatus-extensions-v1beta1.json index c7fdfb8496..b6b55c34e5 100644 --- a/v1.12.2/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.2/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/replicasetstatus.json b/v1.12.2/replicasetstatus.json index c7fdfb8496..b6b55c34e5 100644 --- a/v1.12.2/replicasetstatus.json +++ b/v1.12.2/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/replicationcontrollerspec-v1.json b/v1.12.2/replicationcontrollerspec-v1.json index d840d83e24..974bb64046 100644 --- a/v1.12.2/replicationcontrollerspec-v1.json +++ b/v1.12.2/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/replicationcontrollerspec.json b/v1.12.2/replicationcontrollerspec.json index d840d83e24..974bb64046 100644 --- a/v1.12.2/replicationcontrollerspec.json +++ b/v1.12.2/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/replicationcontrollerstatus-v1.json b/v1.12.2/replicationcontrollerstatus-v1.json index 419a628bb5..bb55f9d082 100644 --- a/v1.12.2/replicationcontrollerstatus-v1.json +++ b/v1.12.2/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/replicationcontrollerstatus.json b/v1.12.2/replicationcontrollerstatus.json index 419a628bb5..bb55f9d082 100644 --- a/v1.12.2/replicationcontrollerstatus.json +++ b/v1.12.2/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.2/resourcemetricsource-autoscaling-v2beta1.json index 57099a584e..d37d2b1bc0 100644 --- a/v1.12.2/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.2/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { diff --git a/v1.12.2/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.2/resourcemetricstatus-autoscaling-v2beta1.json index 3482b8ed90..b0945a9638 100644 --- a/v1.12.2/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.2/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { diff --git a/v1.12.2/resourcequotaspec-v1.json b/v1.12.2/resourcequotaspec-v1.json index 4f1c39d557..057a3af3ea 100644 --- a/v1.12.2/resourcequotaspec-v1.json +++ b/v1.12.2/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/resourcequotaspec.json b/v1.12.2/resourcequotaspec.json index 4f1c39d557..057a3af3ea 100644 --- a/v1.12.2/resourcequotaspec.json +++ b/v1.12.2/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/resourcequotastatus-v1.json b/v1.12.2/resourcequotastatus-v1.json index bd083d490a..741a705cab 100644 --- a/v1.12.2/resourcequotastatus-v1.json +++ b/v1.12.2/resourcequotastatus-v1.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/resourcequotastatus.json b/v1.12.2/resourcequotastatus.json index bd083d490a..741a705cab 100644 --- a/v1.12.2/resourcequotastatus.json +++ b/v1.12.2/resourcequotastatus.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/resourcerequirements-v1.json b/v1.12.2/resourcerequirements-v1.json index 13d0ef387e..e37963ff21 100644 --- a/v1.12.2/resourcerequirements-v1.json +++ b/v1.12.2/resourcerequirements-v1.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/resourcerequirements.json b/v1.12.2/resourcerequirements.json index 13d0ef387e..e37963ff21 100644 --- a/v1.12.2/resourcerequirements.json +++ b/v1.12.2/resourcerequirements.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.2/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.2/rollbackconfig-apps-v1beta1.json b/v1.12.2/rollbackconfig-apps-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2/rollbackconfig-apps-v1beta1.json +++ b/v1.12.2/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/rollbackconfig-extensions-v1beta1.json b/v1.12.2/rollbackconfig-extensions-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.2/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/rollbackconfig.json b/v1.12.2/rollbackconfig.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.2/rollbackconfig.json +++ b/v1.12.2/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta1.json index 77aec86a21..fcfd73afd8 100644 --- a/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta2.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.2/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/rollingupdatestatefulsetstrategy.json b/v1.12.2/rollingupdatestatefulsetstrategy.json index 22697bec43..f930e7a446 100644 --- a/v1.12.2/rollingupdatestatefulsetstrategy.json +++ b/v1.12.2/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/scaleiopersistentvolumesource-v1.json b/v1.12.2/scaleiopersistentvolumesource-v1.json index 57b1744d83..1b6132d87a 100644 --- a/v1.12.2/scaleiopersistentvolumesource-v1.json +++ b/v1.12.2/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2/scaleiopersistentvolumesource.json b/v1.12.2/scaleiopersistentvolumesource.json index 57b1744d83..1b6132d87a 100644 --- a/v1.12.2/scaleiopersistentvolumesource.json +++ b/v1.12.2/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2/scaleiovolumesource-v1.json b/v1.12.2/scaleiovolumesource-v1.json index 5ee4cbb406..beadce9801 100644 --- a/v1.12.2/scaleiovolumesource-v1.json +++ b/v1.12.2/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2/scaleiovolumesource.json b/v1.12.2/scaleiovolumesource.json index 5ee4cbb406..beadce9801 100644 --- a/v1.12.2/scaleiovolumesource.json +++ b/v1.12.2/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.2/scalespec-apps-v1beta1.json b/v1.12.2/scalespec-apps-v1beta1.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.2/scalespec-apps-v1beta1.json +++ b/v1.12.2/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/scalespec-apps-v1beta2.json b/v1.12.2/scalespec-apps-v1beta2.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.2/scalespec-apps-v1beta2.json +++ b/v1.12.2/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/scalespec-autoscaling-v1.json b/v1.12.2/scalespec-autoscaling-v1.json index f65424ab17..9b4feb4953 100644 --- a/v1.12.2/scalespec-autoscaling-v1.json +++ b/v1.12.2/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/scalespec-extensions-v1beta1.json b/v1.12.2/scalespec-extensions-v1beta1.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.2/scalespec-extensions-v1beta1.json +++ b/v1.12.2/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/scalespec.json b/v1.12.2/scalespec.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.2/scalespec.json +++ b/v1.12.2/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/scalestatus-apps-v1beta1.json b/v1.12.2/scalestatus-apps-v1beta1.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.2/scalestatus-apps-v1beta1.json +++ b/v1.12.2/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/scalestatus-apps-v1beta2.json b/v1.12.2/scalestatus-apps-v1beta2.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.2/scalestatus-apps-v1beta2.json +++ b/v1.12.2/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/scalestatus-autoscaling-v1.json b/v1.12.2/scalestatus-autoscaling-v1.json index db9afe18d2..5de93b19a3 100644 --- a/v1.12.2/scalestatus-autoscaling-v1.json +++ b/v1.12.2/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/scalestatus-extensions-v1beta1.json b/v1.12.2/scalestatus-extensions-v1beta1.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.2/scalestatus-extensions-v1beta1.json +++ b/v1.12.2/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/scalestatus.json b/v1.12.2/scalestatus.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.2/scalestatus.json +++ b/v1.12.2/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/secret-v1.json b/v1.12.2/secret-v1.json index ca6b5a71b2..3810789e46 100644 --- a/v1.12.2/secret-v1.json +++ b/v1.12.2/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -38,7 +41,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/secret.json b/v1.12.2/secret.json index 9c6f612004..0373cee602 100644 --- a/v1.12.2/secret.json +++ b/v1.12.2/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -35,7 +38,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/secretenvsource-v1.json b/v1.12.2/secretenvsource-v1.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.2/secretenvsource-v1.json +++ b/v1.12.2/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/secretenvsource.json b/v1.12.2/secretenvsource.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.2/secretenvsource.json +++ b/v1.12.2/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/secretkeyselector-v1.json b/v1.12.2/secretkeyselector-v1.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.2/secretkeyselector-v1.json +++ b/v1.12.2/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/secretkeyselector.json b/v1.12.2/secretkeyselector.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.2/secretkeyselector.json +++ b/v1.12.2/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/secretprojection-v1.json b/v1.12.2/secretprojection-v1.json index 62e5f5dcfb..1f9809597a 100644 --- a/v1.12.2/secretprojection-v1.json +++ b/v1.12.2/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/secretprojection.json b/v1.12.2/secretprojection.json index 62e5f5dcfb..1f9809597a 100644 --- a/v1.12.2/secretprojection.json +++ b/v1.12.2/secretprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.2/secretvolumesource-v1.json b/v1.12.2/secretvolumesource-v1.json index ad5dfc11a9..8384add0f3 100644 --- a/v1.12.2/secretvolumesource-v1.json +++ b/v1.12.2/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2/secretvolumesource.json b/v1.12.2/secretvolumesource.json index ad5dfc11a9..8384add0f3 100644 --- a/v1.12.2/secretvolumesource.json +++ b/v1.12.2/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.2/securitycontext-v1.json b/v1.12.2/securitycontext-v1.json index f4a43c5e16..745fb873d1 100644 --- a/v1.12.2/securitycontext-v1.json +++ b/v1.12.2/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2/securitycontext.json b/v1.12.2/securitycontext.json index f4a43c5e16..745fb873d1 100644 --- a/v1.12.2/securitycontext.json +++ b/v1.12.2/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.2/serviceaccount-v1.json b/v1.12.2/serviceaccount-v1.json index ed09dc30fb..32cab70dc2 100644 --- a/v1.12.2/serviceaccount-v1.json +++ b/v1.12.2/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.2/serviceaccount.json b/v1.12.2/serviceaccount.json index 614c3cd189..95c59fcc6a 100644 --- a/v1.12.2/serviceaccount.json +++ b/v1.12.2/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.2/serviceaccounttokenprojection-v1.json b/v1.12.2/serviceaccounttokenprojection-v1.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.2/serviceaccounttokenprojection-v1.json +++ b/v1.12.2/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2/serviceaccounttokenprojection.json b/v1.12.2/serviceaccounttokenprojection.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.2/serviceaccounttokenprojection.json +++ b/v1.12.2/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.2/serviceport-v1.json b/v1.12.2/serviceport-v1.json index 374612eff0..0d48b1ff28 100644 --- a/v1.12.2/serviceport-v1.json +++ b/v1.12.2/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2/serviceport.json b/v1.12.2/serviceport.json index 374612eff0..0d48b1ff28 100644 --- a/v1.12.2/serviceport.json +++ b/v1.12.2/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.2/servicespec-v1.json b/v1.12.2/servicespec-v1.json index b0cf863f71..44374d9aa3 100644 --- a/v1.12.2/servicespec-v1.json +++ b/v1.12.2/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/servicespec.json b/v1.12.2/servicespec.json index b0cf863f71..44374d9aa3 100644 --- a/v1.12.2/servicespec.json +++ b/v1.12.2/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/statefulsetspec-apps-v1.json b/v1.12.2/statefulsetspec-apps-v1.json index 2addecb727..1467dfc65d 100644 --- a/v1.12.2/statefulsetspec-apps-v1.json +++ b/v1.12.2/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/statefulsetspec-apps-v1beta1.json b/v1.12.2/statefulsetspec-apps-v1beta1.json index 0a22222f78..7e5bb3a880 100644 --- a/v1.12.2/statefulsetspec-apps-v1beta1.json +++ b/v1.12.2/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/statefulsetspec-apps-v1beta2.json b/v1.12.2/statefulsetspec-apps-v1beta2.json index d5bd0570f0..b063a4729d 100644 --- a/v1.12.2/statefulsetspec-apps-v1beta2.json +++ b/v1.12.2/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/statefulsetspec.json b/v1.12.2/statefulsetspec.json index d5bd0570f0..b063a4729d 100644 --- a/v1.12.2/statefulsetspec.json +++ b/v1.12.2/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.2/statefulsetstatus-apps-v1.json b/v1.12.2/statefulsetstatus-apps-v1.json index eb752fd9af..dd7e3b3923 100644 --- a/v1.12.2/statefulsetstatus-apps-v1.json +++ b/v1.12.2/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/statefulsetstatus-apps-v1beta1.json b/v1.12.2/statefulsetstatus-apps-v1beta1.json index 303113fcbb..8d28681ac1 100644 --- a/v1.12.2/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.2/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/statefulsetstatus-apps-v1beta2.json b/v1.12.2/statefulsetstatus-apps-v1beta2.json index 80dbe91fb0..895c3996d3 100644 --- a/v1.12.2/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.2/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/statefulsetstatus.json b/v1.12.2/statefulsetstatus.json index 80dbe91fb0..895c3996d3 100644 --- a/v1.12.2/statefulsetstatus.json +++ b/v1.12.2/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/status-meta-v1.json b/v1.12.2/status-meta-v1.json index 623ee949e4..7bd6292fe0 100644 --- a/v1.12.2/status-meta-v1.json +++ b/v1.12.2/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.2/status.json b/v1.12.2/status.json index f66c6728a1..7afc5e3116 100644 --- a/v1.12.2/status.json +++ b/v1.12.2/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.2/statusdetails-meta-v1.json b/v1.12.2/statusdetails-meta-v1.json index 2f23cf8c74..baf8e9fb47 100644 --- a/v1.12.2/statusdetails-meta-v1.json +++ b/v1.12.2/statusdetails-meta-v1.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2/statusdetails.json b/v1.12.2/statusdetails.json index 2f23cf8c74..baf8e9fb47 100644 --- a/v1.12.2/statusdetails.json +++ b/v1.12.2/statusdetails.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.2/storageclass-storage-v1.json b/v1.12.2/storageclass-storage-v1.json index 4577b6f677..0a19808d84 100644 --- a/v1.12.2/storageclass-storage-v1.json +++ b/v1.12.2/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/storageclass-storage-v1beta1.json b/v1.12.2/storageclass-storage-v1beta1.json index d308faa6f9..b5757b162c 100644 --- a/v1.12.2/storageclass-storage-v1beta1.json +++ b/v1.12.2/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/storageclass.json b/v1.12.2/storageclass.json index 1fc0dcc120..f4e43c252e 100644 --- a/v1.12.2/storageclass.json +++ b/v1.12.2/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -54,7 +57,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/storageospersistentvolumesource-v1.json b/v1.12.2/storageospersistentvolumesource-v1.json index 6217a5d03a..9d05020d5d 100644 --- a/v1.12.2/storageospersistentvolumesource-v1.json +++ b/v1.12.2/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2/storageospersistentvolumesource.json b/v1.12.2/storageospersistentvolumesource.json index 6217a5d03a..9d05020d5d 100644 --- a/v1.12.2/storageospersistentvolumesource.json +++ b/v1.12.2/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2/storageosvolumesource-v1.json b/v1.12.2/storageosvolumesource-v1.json index e43c7da907..c97b563db1 100644 --- a/v1.12.2/storageosvolumesource-v1.json +++ b/v1.12.2/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2/storageosvolumesource.json b/v1.12.2/storageosvolumesource.json index e43c7da907..c97b563db1 100644 --- a/v1.12.2/storageosvolumesource.json +++ b/v1.12.2/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.2/subjectaccessreviewspec-authorization-v1.json b/v1.12.2/subjectaccessreviewspec-authorization-v1.json index 2daf04d410..4d14d25631 100644 --- a/v1.12.2/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.2/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.2/subjectaccessreviewspec-authorization-v1beta1.json index af8d3d1332..b4537f279c 100644 --- a/v1.12.2/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.2/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/subjectaccessreviewspec.json b/v1.12.2/subjectaccessreviewspec.json index af8d3d1332..b4537f279c 100644 --- a/v1.12.2/subjectaccessreviewspec.json +++ b/v1.12.2/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/subjectaccessreviewstatus-authorization-v1.json b/v1.12.2/subjectaccessreviewstatus-authorization-v1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.2/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.2/subjectaccessreviewstatus-authorization-v1beta1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.2/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2/subjectaccessreviewstatus.json b/v1.12.2/subjectaccessreviewstatus.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.2/subjectaccessreviewstatus.json +++ b/v1.12.2/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.2/subjectrulesreviewstatus-authorization-v1.json b/v1.12.2/subjectrulesreviewstatus-authorization-v1.json index ebbd64e918..f76237a1ff 100644 --- a/v1.12.2/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.2/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.2/subjectrulesreviewstatus-authorization-v1beta1.json index d5d8c80b59..69684ddf83 100644 --- a/v1.12.2/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.2/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2/subjectrulesreviewstatus.json b/v1.12.2/subjectrulesreviewstatus.json index d5d8c80b59..69684ddf83 100644 --- a/v1.12.2/subjectrulesreviewstatus.json +++ b/v1.12.2/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.2/tokenreviewstatus-authentication-v1.json b/v1.12.2/tokenreviewstatus-authentication-v1.json index 196d3466c8..8fb7948240 100644 --- a/v1.12.2/tokenreviewstatus-authentication-v1.json +++ b/v1.12.2/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.2/tokenreviewstatus-authentication-v1beta1.json b/v1.12.2/tokenreviewstatus-authentication-v1beta1.json index 56f8529675..681f8c6b79 100644 --- a/v1.12.2/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.2/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.2/tokenreviewstatus.json b/v1.12.2/tokenreviewstatus.json index 56f8529675..681f8c6b79 100644 --- a/v1.12.2/tokenreviewstatus.json +++ b/v1.12.2/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.2/toleration-v1.json b/v1.12.2/toleration-v1.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.2/toleration-v1.json +++ b/v1.12.2/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2/toleration.json b/v1.12.2/toleration.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.2/toleration.json +++ b/v1.12.2/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.2/userinfo-authentication-v1.json b/v1.12.2/userinfo-authentication-v1.json index c2593de199..10c335b39d 100644 --- a/v1.12.2/userinfo-authentication-v1.json +++ b/v1.12.2/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/userinfo-authentication-v1beta1.json b/v1.12.2/userinfo-authentication-v1beta1.json index c2593de199..10c335b39d 100644 --- a/v1.12.2/userinfo-authentication-v1beta1.json +++ b/v1.12.2/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/userinfo.json b/v1.12.2/userinfo.json index c2593de199..10c335b39d 100644 --- a/v1.12.2/userinfo.json +++ b/v1.12.2/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.2/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.2/volumeattachmentstatus-storage-v1alpha1.json index fda1e3241f..8c7bb88e93 100644 --- a/v1.12.2/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.2/volumeattachmentstatus-storage-v1alpha1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/volumeattachmentstatus-storage-v1beta1.json b/v1.12.2/volumeattachmentstatus-storage-v1beta1.json index c6dd338b5e..e4dbafcb04 100644 --- a/v1.12.2/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.2/volumeattachmentstatus-storage-v1beta1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/volumeattachmentstatus.json b/v1.12.2/volumeattachmentstatus.json index c6dd338b5e..e4dbafcb04 100644 --- a/v1.12.2/volumeattachmentstatus.json +++ b/v1.12.2/volumeattachmentstatus.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.2/volumemount-v1.json b/v1.12.2/volumemount-v1.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.2/volumemount-v1.json +++ b/v1.12.2/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2/volumemount.json b/v1.12.2/volumemount.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.2/volumemount.json +++ b/v1.12.2/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.2/weightedpodaffinityterm-v1.json b/v1.12.2/weightedpodaffinityterm-v1.json index 43656ed391..9d3abe2785 100644 --- a/v1.12.2/weightedpodaffinityterm-v1.json +++ b/v1.12.2/weightedpodaffinityterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.2/weightedpodaffinityterm.json b/v1.12.2/weightedpodaffinityterm.json index 43656ed391..9d3abe2785 100644 --- a/v1.12.2/weightedpodaffinityterm.json +++ b/v1.12.2/weightedpodaffinityterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/_definitions.json b/v1.12.3-local/_definitions.json index a2ff3fbbf0..3109497043 100644 --- a/v1.12.3-local/_definitions.json +++ b/v1.12.3-local/_definitions.json @@ -15572,7 +15572,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.3-local/allowedhostpath-extensions-v1beta1.json b/v1.12.3-local/allowedhostpath-extensions-v1beta1.json index e3a663f0bb..492a7eb2fe 100644 --- a/v1.12.3-local/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.3-local/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/allowedhostpath-policy-v1beta1.json b/v1.12.3-local/allowedhostpath-policy-v1beta1.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.3-local/allowedhostpath-policy-v1beta1.json +++ b/v1.12.3-local/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/allowedhostpath.json b/v1.12.3-local/allowedhostpath.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.3-local/allowedhostpath.json +++ b/v1.12.3-local/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/apiresource-meta-v1.json b/v1.12.3-local/apiresource-meta-v1.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.3-local/apiresource-meta-v1.json +++ b/v1.12.3-local/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3-local/apiresource.json b/v1.12.3-local/apiresource.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.3-local/apiresource.json +++ b/v1.12.3-local/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3-local/apiservicespec-apiregistration-v1.json b/v1.12.3-local/apiservicespec-apiregistration-v1.json index b496038546..798131912f 100644 --- a/v1.12.3-local/apiservicespec-apiregistration-v1.json +++ b/v1.12.3-local/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/apiservicespec-apiregistration-v1beta1.json b/v1.12.3-local/apiservicespec-apiregistration-v1beta1.json index abbe05f899..aad8093448 100644 --- a/v1.12.3-local/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.3-local/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/apiservicespec.json b/v1.12.3-local/apiservicespec.json index abbe05f899..aad8093448 100644 --- a/v1.12.3-local/apiservicespec.json +++ b/v1.12.3-local/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/awselasticblockstorevolumesource-v1.json b/v1.12.3-local/awselasticblockstorevolumesource-v1.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.3-local/awselasticblockstorevolumesource-v1.json +++ b/v1.12.3-local/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3-local/awselasticblockstorevolumesource.json b/v1.12.3-local/awselasticblockstorevolumesource.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.3-local/awselasticblockstorevolumesource.json +++ b/v1.12.3-local/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3-local/azurediskvolumesource-v1.json b/v1.12.3-local/azurediskvolumesource-v1.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.3-local/azurediskvolumesource-v1.json +++ b/v1.12.3-local/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/azurediskvolumesource.json b/v1.12.3-local/azurediskvolumesource.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.3-local/azurediskvolumesource.json +++ b/v1.12.3-local/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/azurefilepersistentvolumesource-v1.json b/v1.12.3-local/azurefilepersistentvolumesource-v1.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.3-local/azurefilepersistentvolumesource-v1.json +++ b/v1.12.3-local/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-local/azurefilepersistentvolumesource.json b/v1.12.3-local/azurefilepersistentvolumesource.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.3-local/azurefilepersistentvolumesource.json +++ b/v1.12.3-local/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-local/azurefilevolumesource-v1.json b/v1.12.3-local/azurefilevolumesource-v1.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.3-local/azurefilevolumesource-v1.json +++ b/v1.12.3-local/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-local/azurefilevolumesource.json b/v1.12.3-local/azurefilevolumesource.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.3-local/azurefilevolumesource.json +++ b/v1.12.3-local/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-local/cephfspersistentvolumesource-v1.json b/v1.12.3-local/cephfspersistentvolumesource-v1.json index 443a193c67..2690df044a 100644 --- a/v1.12.3-local/cephfspersistentvolumesource-v1.json +++ b/v1.12.3-local/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-local/cephfspersistentvolumesource.json b/v1.12.3-local/cephfspersistentvolumesource.json index 443a193c67..2690df044a 100644 --- a/v1.12.3-local/cephfspersistentvolumesource.json +++ b/v1.12.3-local/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-local/cephfsvolumesource-v1.json b/v1.12.3-local/cephfsvolumesource-v1.json index 1aa4176a90..84b6a63dd5 100644 --- a/v1.12.3-local/cephfsvolumesource-v1.json +++ b/v1.12.3-local/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-local/cephfsvolumesource.json b/v1.12.3-local/cephfsvolumesource.json index 1aa4176a90..84b6a63dd5 100644 --- a/v1.12.3-local/cephfsvolumesource.json +++ b/v1.12.3-local/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-local/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.3-local/certificatesigningrequestspec-certificates-v1beta1.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.3-local/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.3-local/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/certificatesigningrequestspec.json b/v1.12.3-local/certificatesigningrequestspec.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.3-local/certificatesigningrequestspec.json +++ b/v1.12.3-local/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/cinderpersistentvolumesource-v1.json b/v1.12.3-local/cinderpersistentvolumesource-v1.json index 8cf404a518..aff01f111f 100644 --- a/v1.12.3-local/cinderpersistentvolumesource-v1.json +++ b/v1.12.3-local/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3-local/cinderpersistentvolumesource.json b/v1.12.3-local/cinderpersistentvolumesource.json index 8cf404a518..aff01f111f 100644 --- a/v1.12.3-local/cinderpersistentvolumesource.json +++ b/v1.12.3-local/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3-local/cindervolumesource-v1.json b/v1.12.3-local/cindervolumesource-v1.json index 9acb1dcdb4..cd83d5d7e3 100644 --- a/v1.12.3-local/cindervolumesource-v1.json +++ b/v1.12.3-local/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3-local/cindervolumesource.json b/v1.12.3-local/cindervolumesource.json index 9acb1dcdb4..cd83d5d7e3 100644 --- a/v1.12.3-local/cindervolumesource.json +++ b/v1.12.3-local/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3-local/clientipconfig-v1.json b/v1.12.3-local/clientipconfig-v1.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.3-local/clientipconfig-v1.json +++ b/v1.12.3-local/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/clientipconfig.json b/v1.12.3-local/clientipconfig.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.3-local/clientipconfig.json +++ b/v1.12.3-local/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/configmap-v1.json b/v1.12.3-local/configmap-v1.json index e0601cfc49..6b61666884 100644 --- a/v1.12.3-local/configmap-v1.json +++ b/v1.12.3-local/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/configmap.json b/v1.12.3-local/configmap.json index e611b7839d..21145b7ed3 100644 --- a/v1.12.3-local/configmap.json +++ b/v1.12.3-local/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/configmapenvsource-v1.json b/v1.12.3-local/configmapenvsource-v1.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.3-local/configmapenvsource-v1.json +++ b/v1.12.3-local/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapenvsource.json b/v1.12.3-local/configmapenvsource.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.3-local/configmapenvsource.json +++ b/v1.12.3-local/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapkeyselector-v1.json b/v1.12.3-local/configmapkeyselector-v1.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.3-local/configmapkeyselector-v1.json +++ b/v1.12.3-local/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapkeyselector.json b/v1.12.3-local/configmapkeyselector.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.3-local/configmapkeyselector.json +++ b/v1.12.3-local/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapprojection-v1.json b/v1.12.3-local/configmapprojection-v1.json index 0568963b6f..65045d2ea3 100644 --- a/v1.12.3-local/configmapprojection-v1.json +++ b/v1.12.3-local/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapprojection.json b/v1.12.3-local/configmapprojection.json index 0568963b6f..65045d2ea3 100644 --- a/v1.12.3-local/configmapprojection.json +++ b/v1.12.3-local/configmapprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapvolumesource-v1.json b/v1.12.3-local/configmapvolumesource-v1.json index f0bd3c8f5c..3b2f63a2a5 100644 --- a/v1.12.3-local/configmapvolumesource-v1.json +++ b/v1.12.3-local/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/configmapvolumesource.json b/v1.12.3-local/configmapvolumesource.json index f0bd3c8f5c..3b2f63a2a5 100644 --- a/v1.12.3-local/configmapvolumesource.json +++ b/v1.12.3-local/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/container-v1.json b/v1.12.3-local/container-v1.json index 2bd2051c9b..701d6e6b3e 100644 --- a/v1.12.3-local/container-v1.json +++ b/v1.12.3-local/container-v1.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.3-local/container.json b/v1.12.3-local/container.json index 2bd2051c9b..701d6e6b3e 100644 --- a/v1.12.3-local/container.json +++ b/v1.12.3-local/container.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.3-local/containerimage-v1.json b/v1.12.3-local/containerimage-v1.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.3-local/containerimage-v1.json +++ b/v1.12.3-local/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/containerimage.json b/v1.12.3-local/containerimage.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.3-local/containerimage.json +++ b/v1.12.3-local/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/containerport-v1.json b/v1.12.3-local/containerport-v1.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.3-local/containerport-v1.json +++ b/v1.12.3-local/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3-local/containerport.json b/v1.12.3-local/containerport.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.3-local/containerport.json +++ b/v1.12.3-local/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3-local/containerstateterminated-v1.json b/v1.12.3-local/containerstateterminated-v1.json index 21b49a2928..f16f259d32 100644 --- a/v1.12.3-local/containerstateterminated-v1.json +++ b/v1.12.3-local/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-local/containerstateterminated.json b/v1.12.3-local/containerstateterminated.json index 21b49a2928..f16f259d32 100644 --- a/v1.12.3-local/containerstateterminated.json +++ b/v1.12.3-local/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-local/containerstatus-v1.json b/v1.12.3-local/containerstatus-v1.json index da00085bdb..7dc193e894 100644 --- a/v1.12.3-local/containerstatus-v1.json +++ b/v1.12.3-local/containerstatus-v1.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.3-local/containerstatus.json b/v1.12.3-local/containerstatus.json index da00085bdb..7dc193e894 100644 --- a/v1.12.3-local/containerstatus.json +++ b/v1.12.3-local/containerstatus.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.3-local/controllerrevision-apps-v1.json b/v1.12.3-local/controllerrevision-apps-v1.json index 31c050ebc6..539d2f42cd 100644 --- a/v1.12.3-local/controllerrevision-apps-v1.json +++ b/v1.12.3-local/controllerrevision-apps-v1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/controllerrevision-apps-v1beta1.json b/v1.12.3-local/controllerrevision-apps-v1beta1.json index 565aa59258..a9bca08515 100644 --- a/v1.12.3-local/controllerrevision-apps-v1beta1.json +++ b/v1.12.3-local/controllerrevision-apps-v1beta1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/controllerrevision-apps-v1beta2.json b/v1.12.3-local/controllerrevision-apps-v1beta2.json index 51f3ecc22c..d76b647838 100644 --- a/v1.12.3-local/controllerrevision-apps-v1beta2.json +++ b/v1.12.3-local/controllerrevision-apps-v1beta2.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/controllerrevision.json b/v1.12.3-local/controllerrevision.json index d7d828ab1a..6a183f72ae 100644 --- a/v1.12.3-local/controllerrevision.json +++ b/v1.12.3-local/controllerrevision.json @@ -31,7 +31,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/cronjobspec-batch-v1beta1.json b/v1.12.3-local/cronjobspec-batch-v1beta1.json index fd0e03ec22..15ec4aa3ae 100644 --- a/v1.12.3-local/cronjobspec-batch-v1beta1.json +++ b/v1.12.3-local/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/cronjobspec-batch-v2alpha1.json b/v1.12.3-local/cronjobspec-batch-v2alpha1.json index 9772f56855..8f23233190 100644 --- a/v1.12.3-local/cronjobspec-batch-v2alpha1.json +++ b/v1.12.3-local/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/cronjobspec.json b/v1.12.3-local/cronjobspec.json index 9772f56855..8f23233190 100644 --- a/v1.12.3-local/cronjobspec.json +++ b/v1.12.3-local/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/csipersistentvolumesource-v1.json b/v1.12.3-local/csipersistentvolumesource-v1.json index 294ec7d1ca..caf7578be3 100644 --- a/v1.12.3-local/csipersistentvolumesource-v1.json +++ b/v1.12.3-local/csipersistentvolumesource-v1.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/csipersistentvolumesource.json b/v1.12.3-local/csipersistentvolumesource.json index 294ec7d1ca..caf7578be3 100644 --- a/v1.12.3-local/csipersistentvolumesource.json +++ b/v1.12.3-local/csipersistentvolumesource.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.3-local/customresourcecolumndefinition-apiextensions-v1beta1.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.3-local/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.3-local/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3-local/customresourcecolumndefinition.json b/v1.12.3-local/customresourcecolumndefinition.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.3-local/customresourcecolumndefinition.json +++ b/v1.12.3-local/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3-local/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.3-local/customresourcedefinitionversion-apiextensions-v1beta1.json index 374ed744c6..a89101639e 100644 --- a/v1.12.3-local/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.3-local/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/customresourcedefinitionversion.json b/v1.12.3-local/customresourcedefinitionversion.json index 374ed744c6..a89101639e 100644 --- a/v1.12.3-local/customresourcedefinitionversion.json +++ b/v1.12.3-local/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/daemonendpoint-v1.json b/v1.12.3-local/daemonendpoint-v1.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.3-local/daemonendpoint-v1.json +++ b/v1.12.3-local/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/daemonendpoint.json b/v1.12.3-local/daemonendpoint.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.3-local/daemonendpoint.json +++ b/v1.12.3-local/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/daemonsetspec-apps-v1.json b/v1.12.3-local/daemonsetspec-apps-v1.json index 16b18787cc..532fa92356 100644 --- a/v1.12.3-local/daemonsetspec-apps-v1.json +++ b/v1.12.3-local/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/daemonsetspec-apps-v1beta2.json b/v1.12.3-local/daemonsetspec-apps-v1beta2.json index acdbe7c607..2bea457bca 100644 --- a/v1.12.3-local/daemonsetspec-apps-v1beta2.json +++ b/v1.12.3-local/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/daemonsetspec-extensions-v1beta1.json b/v1.12.3-local/daemonsetspec-extensions-v1beta1.json index f652f28969..5172308193 100644 --- a/v1.12.3-local/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.3-local/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.3-local/daemonsetspec.json b/v1.12.3-local/daemonsetspec.json index f652f28969..5172308193 100644 --- a/v1.12.3-local/daemonsetspec.json +++ b/v1.12.3-local/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.3-local/daemonsetstatus-apps-v1.json b/v1.12.3-local/daemonsetstatus-apps-v1.json index 033b3d4e28..a4634c3a56 100644 --- a/v1.12.3-local/daemonsetstatus-apps-v1.json +++ b/v1.12.3-local/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/daemonsetstatus-apps-v1beta2.json b/v1.12.3-local/daemonsetstatus-apps-v1beta2.json index d53ffbbdf4..79001df2a1 100644 --- a/v1.12.3-local/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.3-local/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/daemonsetstatus-extensions-v1beta1.json b/v1.12.3-local/daemonsetstatus-extensions-v1beta1.json index d97da3697c..b5c77f0174 100644 --- a/v1.12.3-local/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.3-local/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/daemonsetstatus.json b/v1.12.3-local/daemonsetstatus.json index d97da3697c..b5c77f0174 100644 --- a/v1.12.3-local/daemonsetstatus.json +++ b/v1.12.3-local/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/deleteoptions-meta-v1.json b/v1.12.3-local/deleteoptions-meta-v1.json index 7f834075bd..a7d3658bab 100644 --- a/v1.12.3-local/deleteoptions-meta-v1.json +++ b/v1.12.3-local/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.3-local/deleteoptions.json b/v1.12.3-local/deleteoptions.json index 0c7ba7a2b4..c8d29cfdac 100644 --- a/v1.12.3-local/deleteoptions.json +++ b/v1.12.3-local/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.3-local/deploymentrollback-apps-v1beta1.json b/v1.12.3-local/deploymentrollback-apps-v1beta1.json index 90b8c44aa3..cf4aa39de2 100644 --- a/v1.12.3-local/deploymentrollback-apps-v1beta1.json +++ b/v1.12.3-local/deploymentrollback-apps-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/deploymentrollback-extensions-v1beta1.json b/v1.12.3-local/deploymentrollback-extensions-v1beta1.json index f906e1a816..2fe1607842 100644 --- a/v1.12.3-local/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.3-local/deploymentrollback-extensions-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/deploymentrollback.json b/v1.12.3-local/deploymentrollback.json index 0fed4db42c..e97b9537e7 100644 --- a/v1.12.3-local/deploymentrollback.json +++ b/v1.12.3-local/deploymentrollback.json @@ -35,7 +35,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/deploymentspec-apps-v1.json b/v1.12.3-local/deploymentspec-apps-v1.json index 8d57d124a4..fe61365da6 100644 --- a/v1.12.3-local/deploymentspec-apps-v1.json +++ b/v1.12.3-local/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/deploymentspec-apps-v1beta1.json b/v1.12.3-local/deploymentspec-apps-v1beta1.json index 8160d9c084..17d86b1e16 100644 --- a/v1.12.3-local/deploymentspec-apps-v1beta1.json +++ b/v1.12.3-local/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.3-local/deploymentspec-apps-v1beta2.json b/v1.12.3-local/deploymentspec-apps-v1beta2.json index fa76bf7a8d..fc3b3b334f 100644 --- a/v1.12.3-local/deploymentspec-apps-v1beta2.json +++ b/v1.12.3-local/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/deploymentspec-extensions-v1beta1.json b/v1.12.3-local/deploymentspec-extensions-v1beta1.json index 427f336089..ada7baa497 100644 --- a/v1.12.3-local/deploymentspec-extensions-v1beta1.json +++ b/v1.12.3-local/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.3-local/deploymentspec.json b/v1.12.3-local/deploymentspec.json index 427f336089..ada7baa497 100644 --- a/v1.12.3-local/deploymentspec.json +++ b/v1.12.3-local/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.3-local/deploymentstatus-apps-v1.json b/v1.12.3-local/deploymentstatus-apps-v1.json index 3de2f743b9..e1ae5ea6d1 100644 --- a/v1.12.3-local/deploymentstatus-apps-v1.json +++ b/v1.12.3-local/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/deploymentstatus-apps-v1beta1.json b/v1.12.3-local/deploymentstatus-apps-v1beta1.json index f55b086e8b..48ba5add10 100644 --- a/v1.12.3-local/deploymentstatus-apps-v1beta1.json +++ b/v1.12.3-local/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/deploymentstatus-apps-v1beta2.json b/v1.12.3-local/deploymentstatus-apps-v1beta2.json index 25adee1748..49c1e388d9 100644 --- a/v1.12.3-local/deploymentstatus-apps-v1beta2.json +++ b/v1.12.3-local/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/deploymentstatus-extensions-v1beta1.json b/v1.12.3-local/deploymentstatus-extensions-v1beta1.json index 8b97713fcc..192e22c296 100644 --- a/v1.12.3-local/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.3-local/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/deploymentstatus.json b/v1.12.3-local/deploymentstatus.json index 8b97713fcc..192e22c296 100644 --- a/v1.12.3-local/deploymentstatus.json +++ b/v1.12.3-local/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/downwardapivolumefile-v1.json b/v1.12.3-local/downwardapivolumefile-v1.json index 6e3567f1ef..218d69dca8 100644 --- a/v1.12.3-local/downwardapivolumefile-v1.json +++ b/v1.12.3-local/downwardapivolumefile-v1.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-local/downwardapivolumefile.json b/v1.12.3-local/downwardapivolumefile.json index 6e3567f1ef..218d69dca8 100644 --- a/v1.12.3-local/downwardapivolumefile.json +++ b/v1.12.3-local/downwardapivolumefile.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-local/downwardapivolumesource-v1.json b/v1.12.3-local/downwardapivolumesource-v1.json index 4b21a11d3a..236ecb63ec 100644 --- a/v1.12.3-local/downwardapivolumesource-v1.json +++ b/v1.12.3-local/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.3-local/downwardapivolumesource.json b/v1.12.3-local/downwardapivolumesource.json index 4b21a11d3a..236ecb63ec 100644 --- a/v1.12.3-local/downwardapivolumesource.json +++ b/v1.12.3-local/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.3-local/endpointport-v1.json b/v1.12.3-local/endpointport-v1.json index f972b838b7..07ab862b85 100644 --- a/v1.12.3-local/endpointport-v1.json +++ b/v1.12.3-local/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-local/endpointport.json b/v1.12.3-local/endpointport.json index f972b838b7..07ab862b85 100644 --- a/v1.12.3-local/endpointport.json +++ b/v1.12.3-local/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-local/event-events-v1beta1.json b/v1.12.3-local/event-events-v1beta1.json index 3678a49282..b37b0954c9 100644 --- a/v1.12.3-local/event-events-v1beta1.json +++ b/v1.12.3-local/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.3-local/event-v1.json b/v1.12.3-local/event-v1.json index 32bd6dad8a..c5b0de3e39 100644 --- a/v1.12.3-local/event-v1.json +++ b/v1.12.3-local/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { diff --git a/v1.12.3-local/event.json b/v1.12.3-local/event.json index ac3aa24dbe..438937acd3 100644 --- a/v1.12.3-local/event.json +++ b/v1.12.3-local/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.3-local/eventseries-events-v1beta1.json b/v1.12.3-local/eventseries-events-v1beta1.json index 0aa6c0fad4..3570e331f3 100644 --- a/v1.12.3-local/eventseries-events-v1beta1.json +++ b/v1.12.3-local/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-local/eventseries-v1.json b/v1.12.3-local/eventseries-v1.json index 41b6683cbc..a8a7ab4d29 100644 --- a/v1.12.3-local/eventseries-v1.json +++ b/v1.12.3-local/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-local/eventseries.json b/v1.12.3-local/eventseries.json index 0aa6c0fad4..3570e331f3 100644 --- a/v1.12.3-local/eventseries.json +++ b/v1.12.3-local/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-local/fcvolumesource-v1.json b/v1.12.3-local/fcvolumesource-v1.json index f956dfb4a6..018067f431 100644 --- a/v1.12.3-local/fcvolumesource-v1.json +++ b/v1.12.3-local/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3-local/fcvolumesource.json b/v1.12.3-local/fcvolumesource.json index f956dfb4a6..018067f431 100644 --- a/v1.12.3-local/fcvolumesource.json +++ b/v1.12.3-local/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3-local/flexpersistentvolumesource-v1.json b/v1.12.3-local/flexpersistentvolumesource-v1.json index a0543dba93..d9558e5e37 100644 --- a/v1.12.3-local/flexpersistentvolumesource-v1.json +++ b/v1.12.3-local/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3-local/flexpersistentvolumesource.json b/v1.12.3-local/flexpersistentvolumesource.json index a0543dba93..d9558e5e37 100644 --- a/v1.12.3-local/flexpersistentvolumesource.json +++ b/v1.12.3-local/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3-local/flexvolumesource-v1.json b/v1.12.3-local/flexvolumesource-v1.json index 1baa01956c..178a6270e9 100644 --- a/v1.12.3-local/flexvolumesource-v1.json +++ b/v1.12.3-local/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3-local/flexvolumesource.json b/v1.12.3-local/flexvolumesource.json index 1baa01956c..178a6270e9 100644 --- a/v1.12.3-local/flexvolumesource.json +++ b/v1.12.3-local/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3-local/gcepersistentdiskvolumesource-v1.json b/v1.12.3-local/gcepersistentdiskvolumesource-v1.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.3-local/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.3-local/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/gcepersistentdiskvolumesource.json b/v1.12.3-local/gcepersistentdiskvolumesource.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.3-local/gcepersistentdiskvolumesource.json +++ b/v1.12.3-local/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/glusterfsvolumesource-v1.json b/v1.12.3-local/glusterfsvolumesource-v1.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.3-local/glusterfsvolumesource-v1.json +++ b/v1.12.3-local/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/glusterfsvolumesource.json b/v1.12.3-local/glusterfsvolumesource.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.3-local/glusterfsvolumesource.json +++ b/v1.12.3-local/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v1.json index 57d9582b48..eb28b3ee37 100644 --- a/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -21,7 +27,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json index c565ac139a..7be0792186 100644 --- a/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 87ddafb1e7..a0897ddde5 100644 --- a/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.3-local/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-local/horizontalpodautoscalerspec.json b/v1.12.3-local/horizontalpodautoscalerspec.json index 87ddafb1e7..a0897ddde5 100644 --- a/v1.12.3-local/horizontalpodautoscalerspec.json +++ b/v1.12.3-local/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v1.json index 19df5dd872..e9c0b279ef 100644 --- a/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -26,7 +35,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index 5aa5ec4224..60cd49498f 100644 --- a/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index a2be35e3a2..50772c50ac 100644 --- a/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.3-local/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/horizontalpodautoscalerstatus.json b/v1.12.3-local/horizontalpodautoscalerstatus.json index a2be35e3a2..50772c50ac 100644 --- a/v1.12.3-local/horizontalpodautoscalerstatus.json +++ b/v1.12.3-local/horizontalpodautoscalerstatus.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/hostportrange-extensions-v1beta1.json b/v1.12.3-local/hostportrange-extensions-v1beta1.json index 626d06d2ad..25785003e9 100644 --- a/v1.12.3-local/hostportrange-extensions-v1beta1.json +++ b/v1.12.3-local/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/hostportrange-policy-v1beta1.json b/v1.12.3-local/hostportrange-policy-v1beta1.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.3-local/hostportrange-policy-v1beta1.json +++ b/v1.12.3-local/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/hostportrange.json b/v1.12.3-local/hostportrange.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.3-local/hostportrange.json +++ b/v1.12.3-local/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/idrange-extensions-v1beta1.json b/v1.12.3-local/idrange-extensions-v1beta1.json index a3a41068ce..e0a7a3debf 100644 --- a/v1.12.3-local/idrange-extensions-v1beta1.json +++ b/v1.12.3-local/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/idrange-policy-v1beta1.json b/v1.12.3-local/idrange-policy-v1beta1.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.3-local/idrange-policy-v1beta1.json +++ b/v1.12.3-local/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/idrange.json b/v1.12.3-local/idrange.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.3-local/idrange.json +++ b/v1.12.3-local/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/iscsipersistentvolumesource-v1.json b/v1.12.3-local/iscsipersistentvolumesource-v1.json index 802ce31db5..587c0a1ab5 100644 --- a/v1.12.3-local/iscsipersistentvolumesource-v1.json +++ b/v1.12.3-local/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3-local/iscsipersistentvolumesource.json b/v1.12.3-local/iscsipersistentvolumesource.json index 802ce31db5..587c0a1ab5 100644 --- a/v1.12.3-local/iscsipersistentvolumesource.json +++ b/v1.12.3-local/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3-local/iscsivolumesource-v1.json b/v1.12.3-local/iscsivolumesource-v1.json index 4c53f65995..ce7116b6d4 100644 --- a/v1.12.3-local/iscsivolumesource-v1.json +++ b/v1.12.3-local/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3-local/iscsivolumesource.json b/v1.12.3-local/iscsivolumesource.json index 4c53f65995..ce7116b6d4 100644 --- a/v1.12.3-local/iscsivolumesource.json +++ b/v1.12.3-local/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3-local/jobspec-batch-v1.json b/v1.12.3-local/jobspec-batch-v1.json index 9ae24178fa..2b769455c1 100644 --- a/v1.12.3-local/jobspec-batch-v1.json +++ b/v1.12.3-local/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/jobspec.json b/v1.12.3-local/jobspec.json index 9ae24178fa..2b769455c1 100644 --- a/v1.12.3-local/jobspec.json +++ b/v1.12.3-local/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/jobstatus-batch-v1.json b/v1.12.3-local/jobstatus-batch-v1.json index 703a82a5a0..362f0bd6a2 100644 --- a/v1.12.3-local/jobstatus-batch-v1.json +++ b/v1.12.3-local/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/jobstatus.json b/v1.12.3-local/jobstatus.json index 703a82a5a0..362f0bd6a2 100644 --- a/v1.12.3-local/jobstatus.json +++ b/v1.12.3-local/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/jsonschemaprops-apiextensions-v1beta1.json b/v1.12.3-local/jsonschemaprops-apiextensions-v1beta1.json index 2b1a7f0b8d..726df36237 100644 --- a/v1.12.3-local/jsonschemaprops-apiextensions-v1beta1.json +++ b/v1.12.3-local/jsonschemaprops-apiextensions-v1beta1.json @@ -41,13 +41,19 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/jsonschemaprops.json b/v1.12.3-local/jsonschemaprops.json index 2b1a7f0b8d..726df36237 100644 --- a/v1.12.3-local/jsonschemaprops.json +++ b/v1.12.3-local/jsonschemaprops.json @@ -41,13 +41,19 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/keytopath-v1.json b/v1.12.3-local/keytopath-v1.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.3-local/keytopath-v1.json +++ b/v1.12.3-local/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-local/keytopath.json b/v1.12.3-local/keytopath.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.3-local/keytopath.json +++ b/v1.12.3-local/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-local/labelselector-meta-v1.json b/v1.12.3-local/labelselector-meta-v1.json index bf540cf69b..1f09b55bb5 100644 --- a/v1.12.3-local/labelselector-meta-v1.json +++ b/v1.12.3-local/labelselector-meta-v1.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/labelselector.json b/v1.12.3-local/labelselector.json index bf540cf69b..1f09b55bb5 100644 --- a/v1.12.3-local/labelselector.json +++ b/v1.12.3-local/labelselector.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/leasespec-coordination-v1beta1.json b/v1.12.3-local/leasespec-coordination-v1beta1.json index c73bfb3f3f..ed724830ec 100644 --- a/v1.12.3-local/leasespec-coordination-v1beta1.json +++ b/v1.12.3-local/leasespec-coordination-v1beta1.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-local/leasespec.json b/v1.12.3-local/leasespec.json index c73bfb3f3f..ed724830ec 100644 --- a/v1.12.3-local/leasespec.json +++ b/v1.12.3-local/leasespec.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-local/limitrangeitem-v1.json b/v1.12.3-local/limitrangeitem-v1.json index 836166fa36..2907631540 100644 --- a/v1.12.3-local/limitrangeitem-v1.json +++ b/v1.12.3-local/limitrangeitem-v1.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/limitrangeitem.json b/v1.12.3-local/limitrangeitem.json index 836166fa36..2907631540 100644 --- a/v1.12.3-local/limitrangeitem.json +++ b/v1.12.3-local/limitrangeitem.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/metrictarget-autoscaling-v2beta2.json b/v1.12.3-local/metrictarget-autoscaling-v2beta2.json index 5fb270108f..3e1c5b8634 100644 --- a/v1.12.3-local/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.3-local/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3-local/metrictarget.json b/v1.12.3-local/metrictarget.json index 5fb270108f..3e1c5b8634 100644 --- a/v1.12.3-local/metrictarget.json +++ b/v1.12.3-local/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3-local/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.3-local/metricvaluestatus-autoscaling-v2beta2.json index 362a181ad6..c9fbe0f125 100644 --- a/v1.12.3-local/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.3-local/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3-local/metricvaluestatus.json b/v1.12.3-local/metricvaluestatus.json index 362a181ad6..c9fbe0f125 100644 --- a/v1.12.3-local/metricvaluestatus.json +++ b/v1.12.3-local/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3-local/nfsvolumesource-v1.json b/v1.12.3-local/nfsvolumesource-v1.json index b3e166d6ee..122d722664 100644 --- a/v1.12.3-local/nfsvolumesource-v1.json +++ b/v1.12.3-local/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3-local/nfsvolumesource.json b/v1.12.3-local/nfsvolumesource.json index b3e166d6ee..122d722664 100644 --- a/v1.12.3-local/nfsvolumesource.json +++ b/v1.12.3-local/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3-local/nodespec-v1.json b/v1.12.3-local/nodespec-v1.json index 11e1fdb29a..a4954b5d47 100644 --- a/v1.12.3-local/nodespec-v1.json +++ b/v1.12.3-local/nodespec-v1.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/nodespec.json b/v1.12.3-local/nodespec.json index 11e1fdb29a..a4954b5d47 100644 --- a/v1.12.3-local/nodespec.json +++ b/v1.12.3-local/nodespec.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/nodestatus-v1.json b/v1.12.3-local/nodestatus-v1.json index 70e202c651..bd72e7f3c8 100644 --- a/v1.12.3-local/nodestatus-v1.json +++ b/v1.12.3-local/nodestatus-v1.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/nodestatus.json b/v1.12.3-local/nodestatus.json index 70e202c651..bd72e7f3c8 100644 --- a/v1.12.3-local/nodestatus.json +++ b/v1.12.3-local/nodestatus.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/objectmeta-meta-v1.json b/v1.12.3-local/objectmeta-meta-v1.json index 46a526f94d..c6a84d3d73 100644 --- a/v1.12.3-local/objectmeta-meta-v1.json +++ b/v1.12.3-local/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/objectmeta.json b/v1.12.3-local/objectmeta.json index 46a526f94d..c6a84d3d73 100644 --- a/v1.12.3-local/objectmeta.json +++ b/v1.12.3-local/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/ownerreference-meta-v1.json b/v1.12.3-local/ownerreference-meta-v1.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.3-local/ownerreference-meta-v1.json +++ b/v1.12.3-local/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-local/ownerreference.json b/v1.12.3-local/ownerreference.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.3-local/ownerreference.json +++ b/v1.12.3-local/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-local/persistentvolumeclaimstatus-v1.json b/v1.12.3-local/persistentvolumeclaimstatus-v1.json index db623b7625..628bcb6078 100644 --- a/v1.12.3-local/persistentvolumeclaimstatus-v1.json +++ b/v1.12.3-local/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/persistentvolumeclaimstatus.json b/v1.12.3-local/persistentvolumeclaimstatus.json index db623b7625..628bcb6078 100644 --- a/v1.12.3-local/persistentvolumeclaimstatus.json +++ b/v1.12.3-local/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/persistentvolumeclaimvolumesource-v1.json b/v1.12.3-local/persistentvolumeclaimvolumesource-v1.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.3-local/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.3-local/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/persistentvolumeclaimvolumesource.json b/v1.12.3-local/persistentvolumeclaimvolumesource.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.3-local/persistentvolumeclaimvolumesource.json +++ b/v1.12.3-local/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/persistentvolumespec-v1.json b/v1.12.3-local/persistentvolumespec-v1.json index bbfff578be..a1da8b49fe 100644 --- a/v1.12.3-local/persistentvolumespec-v1.json +++ b/v1.12.3-local/persistentvolumespec-v1.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/persistentvolumespec.json b/v1.12.3-local/persistentvolumespec.json index bbfff578be..a1da8b49fe 100644 --- a/v1.12.3-local/persistentvolumespec.json +++ b/v1.12.3-local/persistentvolumespec.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.3-local/poddisruptionbudgetstatus-policy-v1beta1.json index 66e0964b98..920a1362b9 100644 --- a/v1.12.3-local/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.3-local/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/poddisruptionbudgetstatus.json b/v1.12.3-local/poddisruptionbudgetstatus.json index 66e0964b98..920a1362b9 100644 --- a/v1.12.3-local/poddisruptionbudgetstatus.json +++ b/v1.12.3-local/poddisruptionbudgetstatus.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/podsecuritycontext-v1.json b/v1.12.3-local/podsecuritycontext-v1.json index 99e8fc260f..652f81607a 100644 --- a/v1.12.3-local/podsecuritycontext-v1.json +++ b/v1.12.3-local/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/podsecuritycontext.json b/v1.12.3-local/podsecuritycontext.json index 99e8fc260f..652f81607a 100644 --- a/v1.12.3-local/podsecuritycontext.json +++ b/v1.12.3-local/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.3-local/podsecuritypolicyspec-extensions-v1beta1.json index 1c7a36e436..344991ef55 100644 --- a/v1.12.3-local/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.3-local/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-local/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.3-local/podsecuritypolicyspec-policy-v1beta1.json index 930edc4b54..cf8016c494 100644 --- a/v1.12.3-local/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.3-local/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-local/podsecuritypolicyspec.json b/v1.12.3-local/podsecuritypolicyspec.json index 930edc4b54..cf8016c494 100644 --- a/v1.12.3-local/podsecuritypolicyspec.json +++ b/v1.12.3-local/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-local/podspec-v1.json b/v1.12.3-local/podspec-v1.json index 3526406834..2a3fbee9ca 100644 --- a/v1.12.3-local/podspec-v1.json +++ b/v1.12.3-local/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.3-local/podspec.json b/v1.12.3-local/podspec.json index 3526406834..2a3fbee9ca 100644 --- a/v1.12.3-local/podspec.json +++ b/v1.12.3-local/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.3-local/portworxvolumesource-v1.json b/v1.12.3-local/portworxvolumesource-v1.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.3-local/portworxvolumesource-v1.json +++ b/v1.12.3-local/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3-local/portworxvolumesource.json b/v1.12.3-local/portworxvolumesource.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.3-local/portworxvolumesource.json +++ b/v1.12.3-local/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3-local/preferredschedulingterm-v1.json b/v1.12.3-local/preferredschedulingterm-v1.json index 69eec44bc5..abdb94966c 100644 --- a/v1.12.3-local/preferredschedulingterm-v1.json +++ b/v1.12.3-local/preferredschedulingterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/preferredschedulingterm.json b/v1.12.3-local/preferredschedulingterm.json index 69eec44bc5..abdb94966c 100644 --- a/v1.12.3-local/preferredschedulingterm.json +++ b/v1.12.3-local/preferredschedulingterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/priorityclass-scheduling-v1alpha1.json b/v1.12.3-local/priorityclass-scheduling-v1alpha1.json index 1fa2e91cd3..19da54ca9a 100644 --- a/v1.12.3-local/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.3-local/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/priorityclass-scheduling-v1beta1.json b/v1.12.3-local/priorityclass-scheduling-v1beta1.json index fb607e0f6f..26e260e2ca 100644 --- a/v1.12.3-local/priorityclass-scheduling-v1beta1.json +++ b/v1.12.3-local/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/priorityclass.json b/v1.12.3-local/priorityclass.json index 4adb82fa67..15a872bc16 100644 --- a/v1.12.3-local/priorityclass.json +++ b/v1.12.3-local/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -38,7 +41,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/probe-v1.json b/v1.12.3-local/probe-v1.json index db5be33cba..f4b911428c 100644 --- a/v1.12.3-local/probe-v1.json +++ b/v1.12.3-local/probe-v1.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/probe.json b/v1.12.3-local/probe.json index db5be33cba..f4b911428c 100644 --- a/v1.12.3-local/probe.json +++ b/v1.12.3-local/probe.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/projectedvolumesource-v1.json b/v1.12.3-local/projectedvolumesource-v1.json index 7c0db0f89c..a4e48484b9 100644 --- a/v1.12.3-local/projectedvolumesource-v1.json +++ b/v1.12.3-local/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.3-local/projectedvolumesource.json b/v1.12.3-local/projectedvolumesource.json index 7c0db0f89c..a4e48484b9 100644 --- a/v1.12.3-local/projectedvolumesource.json +++ b/v1.12.3-local/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.3-local/quantity-resource.json b/v1.12.3-local/quantity-resource.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.3-local/quantity-resource.json +++ b/v1.12.3-local/quantity-resource.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/quantity.json b/v1.12.3-local/quantity.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.3-local/quantity.json +++ b/v1.12.3-local/quantity.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/quobytevolumesource-v1.json b/v1.12.3-local/quobytevolumesource-v1.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.3-local/quobytevolumesource-v1.json +++ b/v1.12.3-local/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3-local/quobytevolumesource.json b/v1.12.3-local/quobytevolumesource.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.3-local/quobytevolumesource.json +++ b/v1.12.3-local/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3-local/rbdpersistentvolumesource-v1.json b/v1.12.3-local/rbdpersistentvolumesource-v1.json index 23aa4031b7..6a45e39c11 100644 --- a/v1.12.3-local/rbdpersistentvolumesource-v1.json +++ b/v1.12.3-local/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3-local/rbdpersistentvolumesource.json b/v1.12.3-local/rbdpersistentvolumesource.json index 23aa4031b7..6a45e39c11 100644 --- a/v1.12.3-local/rbdpersistentvolumesource.json +++ b/v1.12.3-local/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3-local/rbdvolumesource-v1.json b/v1.12.3-local/rbdvolumesource-v1.json index 9eee82bfc2..970a446bb8 100644 --- a/v1.12.3-local/rbdvolumesource-v1.json +++ b/v1.12.3-local/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3-local/rbdvolumesource.json b/v1.12.3-local/rbdvolumesource.json index 9eee82bfc2..970a446bb8 100644 --- a/v1.12.3-local/rbdvolumesource.json +++ b/v1.12.3-local/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3-local/replicasetspec-apps-v1.json b/v1.12.3-local/replicasetspec-apps-v1.json index 586d1c352c..f7cc076d7d 100644 --- a/v1.12.3-local/replicasetspec-apps-v1.json +++ b/v1.12.3-local/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/replicasetspec-apps-v1beta2.json b/v1.12.3-local/replicasetspec-apps-v1beta2.json index 586d1c352c..f7cc076d7d 100644 --- a/v1.12.3-local/replicasetspec-apps-v1beta2.json +++ b/v1.12.3-local/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/replicasetspec-extensions-v1beta1.json b/v1.12.3-local/replicasetspec-extensions-v1beta1.json index 1eb8946dc3..2eacbbaff6 100644 --- a/v1.12.3-local/replicasetspec-extensions-v1beta1.json +++ b/v1.12.3-local/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/replicasetspec.json b/v1.12.3-local/replicasetspec.json index 1eb8946dc3..2eacbbaff6 100644 --- a/v1.12.3-local/replicasetspec.json +++ b/v1.12.3-local/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/replicasetstatus-apps-v1.json b/v1.12.3-local/replicasetstatus-apps-v1.json index 8e4775b1b0..4ebb7d0320 100644 --- a/v1.12.3-local/replicasetstatus-apps-v1.json +++ b/v1.12.3-local/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/replicasetstatus-apps-v1beta2.json b/v1.12.3-local/replicasetstatus-apps-v1beta2.json index 30c2fceb89..af4b7a3aaf 100644 --- a/v1.12.3-local/replicasetstatus-apps-v1beta2.json +++ b/v1.12.3-local/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/replicasetstatus-extensions-v1beta1.json b/v1.12.3-local/replicasetstatus-extensions-v1beta1.json index 1e040eb372..7ac8f9dda3 100644 --- a/v1.12.3-local/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.3-local/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/replicasetstatus.json b/v1.12.3-local/replicasetstatus.json index 1e040eb372..7ac8f9dda3 100644 --- a/v1.12.3-local/replicasetstatus.json +++ b/v1.12.3-local/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/replicationcontrollerspec-v1.json b/v1.12.3-local/replicationcontrollerspec-v1.json index d04662ea4e..39a6f3cc4e 100644 --- a/v1.12.3-local/replicationcontrollerspec-v1.json +++ b/v1.12.3-local/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/replicationcontrollerspec.json b/v1.12.3-local/replicationcontrollerspec.json index d04662ea4e..39a6f3cc4e 100644 --- a/v1.12.3-local/replicationcontrollerspec.json +++ b/v1.12.3-local/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/replicationcontrollerstatus-v1.json b/v1.12.3-local/replicationcontrollerstatus-v1.json index 0e6c0d0e9f..3784832b30 100644 --- a/v1.12.3-local/replicationcontrollerstatus-v1.json +++ b/v1.12.3-local/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/replicationcontrollerstatus.json b/v1.12.3-local/replicationcontrollerstatus.json index 0e6c0d0e9f..3784832b30 100644 --- a/v1.12.3-local/replicationcontrollerstatus.json +++ b/v1.12.3-local/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.3-local/resourcemetricsource-autoscaling-v2beta1.json index d5b34dac91..5884d08e5d 100644 --- a/v1.12.3-local/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-local/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { diff --git a/v1.12.3-local/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.3-local/resourcemetricstatus-autoscaling-v2beta1.json index 08742ac17e..a90b5521b0 100644 --- a/v1.12.3-local/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-local/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { diff --git a/v1.12.3-local/resourcequotaspec-v1.json b/v1.12.3-local/resourcequotaspec-v1.json index 3295c85939..22a2d78275 100644 --- a/v1.12.3-local/resourcequotaspec-v1.json +++ b/v1.12.3-local/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/resourcequotaspec.json b/v1.12.3-local/resourcequotaspec.json index 3295c85939..22a2d78275 100644 --- a/v1.12.3-local/resourcequotaspec.json +++ b/v1.12.3-local/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/resourcequotastatus-v1.json b/v1.12.3-local/resourcequotastatus-v1.json index f8286f16ed..e3e555d075 100644 --- a/v1.12.3-local/resourcequotastatus-v1.json +++ b/v1.12.3-local/resourcequotastatus-v1.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/resourcequotastatus.json b/v1.12.3-local/resourcequotastatus.json index f8286f16ed..e3e555d075 100644 --- a/v1.12.3-local/resourcequotastatus.json +++ b/v1.12.3-local/resourcequotastatus.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/resourcerequirements-v1.json b/v1.12.3-local/resourcerequirements-v1.json index 6c45516eb4..360c1a63b1 100644 --- a/v1.12.3-local/resourcerequirements-v1.json +++ b/v1.12.3-local/resourcerequirements-v1.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/resourcerequirements.json b/v1.12.3-local/resourcerequirements.json index 6c45516eb4..360c1a63b1 100644 --- a/v1.12.3-local/resourcerequirements.json +++ b/v1.12.3-local/resourcerequirements.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3-local/rollbackconfig-apps-v1beta1.json b/v1.12.3-local/rollbackconfig-apps-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3-local/rollbackconfig-apps-v1beta1.json +++ b/v1.12.3-local/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/rollbackconfig-extensions-v1beta1.json b/v1.12.3-local/rollbackconfig-extensions-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3-local/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.3-local/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/rollbackconfig.json b/v1.12.3-local/rollbackconfig.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3-local/rollbackconfig.json +++ b/v1.12.3-local/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json index 77aec86a21..fcfd73afd8 100644 --- a/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.3-local/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/rollingupdatestatefulsetstrategy.json b/v1.12.3-local/rollingupdatestatefulsetstrategy.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3-local/rollingupdatestatefulsetstrategy.json +++ b/v1.12.3-local/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/scaleiopersistentvolumesource-v1.json b/v1.12.3-local/scaleiopersistentvolumesource-v1.json index 24fd5c23e3..5d377405b7 100644 --- a/v1.12.3-local/scaleiopersistentvolumesource-v1.json +++ b/v1.12.3-local/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-local/scaleiopersistentvolumesource.json b/v1.12.3-local/scaleiopersistentvolumesource.json index 24fd5c23e3..5d377405b7 100644 --- a/v1.12.3-local/scaleiopersistentvolumesource.json +++ b/v1.12.3-local/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-local/scaleiovolumesource-v1.json b/v1.12.3-local/scaleiovolumesource-v1.json index 0c0cdcef36..f1d0bc0602 100644 --- a/v1.12.3-local/scaleiovolumesource-v1.json +++ b/v1.12.3-local/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-local/scaleiovolumesource.json b/v1.12.3-local/scaleiovolumesource.json index 0c0cdcef36..f1d0bc0602 100644 --- a/v1.12.3-local/scaleiovolumesource.json +++ b/v1.12.3-local/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-local/scalespec-apps-v1beta1.json b/v1.12.3-local/scalespec-apps-v1beta1.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.3-local/scalespec-apps-v1beta1.json +++ b/v1.12.3-local/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/scalespec-apps-v1beta2.json b/v1.12.3-local/scalespec-apps-v1beta2.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.3-local/scalespec-apps-v1beta2.json +++ b/v1.12.3-local/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/scalespec-autoscaling-v1.json b/v1.12.3-local/scalespec-autoscaling-v1.json index f65424ab17..9b4feb4953 100644 --- a/v1.12.3-local/scalespec-autoscaling-v1.json +++ b/v1.12.3-local/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/scalespec-extensions-v1beta1.json b/v1.12.3-local/scalespec-extensions-v1beta1.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.3-local/scalespec-extensions-v1beta1.json +++ b/v1.12.3-local/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/scalespec.json b/v1.12.3-local/scalespec.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.3-local/scalespec.json +++ b/v1.12.3-local/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/scalestatus-apps-v1beta1.json b/v1.12.3-local/scalestatus-apps-v1beta1.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.3-local/scalestatus-apps-v1beta1.json +++ b/v1.12.3-local/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/scalestatus-apps-v1beta2.json b/v1.12.3-local/scalestatus-apps-v1beta2.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.3-local/scalestatus-apps-v1beta2.json +++ b/v1.12.3-local/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/scalestatus-autoscaling-v1.json b/v1.12.3-local/scalestatus-autoscaling-v1.json index db9afe18d2..5de93b19a3 100644 --- a/v1.12.3-local/scalestatus-autoscaling-v1.json +++ b/v1.12.3-local/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/scalestatus-extensions-v1beta1.json b/v1.12.3-local/scalestatus-extensions-v1beta1.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.3-local/scalestatus-extensions-v1beta1.json +++ b/v1.12.3-local/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/scalestatus.json b/v1.12.3-local/scalestatus.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.3-local/scalestatus.json +++ b/v1.12.3-local/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/secret-v1.json b/v1.12.3-local/secret-v1.json index cb2c6e434f..d0d910ea06 100644 --- a/v1.12.3-local/secret-v1.json +++ b/v1.12.3-local/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -38,7 +41,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/secret.json b/v1.12.3-local/secret.json index bd2ebebb39..3b48d66930 100644 --- a/v1.12.3-local/secret.json +++ b/v1.12.3-local/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -35,7 +38,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/secretenvsource-v1.json b/v1.12.3-local/secretenvsource-v1.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.3-local/secretenvsource-v1.json +++ b/v1.12.3-local/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/secretenvsource.json b/v1.12.3-local/secretenvsource.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.3-local/secretenvsource.json +++ b/v1.12.3-local/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/secretkeyselector-v1.json b/v1.12.3-local/secretkeyselector-v1.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.3-local/secretkeyselector-v1.json +++ b/v1.12.3-local/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/secretkeyselector.json b/v1.12.3-local/secretkeyselector.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.3-local/secretkeyselector.json +++ b/v1.12.3-local/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/secretprojection-v1.json b/v1.12.3-local/secretprojection-v1.json index cb66cf41d8..0e5386fa5f 100644 --- a/v1.12.3-local/secretprojection-v1.json +++ b/v1.12.3-local/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/secretprojection.json b/v1.12.3-local/secretprojection.json index cb66cf41d8..0e5386fa5f 100644 --- a/v1.12.3-local/secretprojection.json +++ b/v1.12.3-local/secretprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-local/secretvolumesource-v1.json b/v1.12.3-local/secretvolumesource-v1.json index 623de356e0..564fdd7fff 100644 --- a/v1.12.3-local/secretvolumesource-v1.json +++ b/v1.12.3-local/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3-local/secretvolumesource.json b/v1.12.3-local/secretvolumesource.json index 623de356e0..564fdd7fff 100644 --- a/v1.12.3-local/secretvolumesource.json +++ b/v1.12.3-local/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3-local/securitycontext-v1.json b/v1.12.3-local/securitycontext-v1.json index e4aa4fa33a..482b4a3de5 100644 --- a/v1.12.3-local/securitycontext-v1.json +++ b/v1.12.3-local/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3-local/securitycontext.json b/v1.12.3-local/securitycontext.json index e4aa4fa33a..482b4a3de5 100644 --- a/v1.12.3-local/securitycontext.json +++ b/v1.12.3-local/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3-local/serviceaccount-v1.json b/v1.12.3-local/serviceaccount-v1.json index 57bf54318d..dc7d593625 100644 --- a/v1.12.3-local/serviceaccount-v1.json +++ b/v1.12.3-local/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.3-local/serviceaccount.json b/v1.12.3-local/serviceaccount.json index 3d43ea82c2..2ec7ccc4ac 100644 --- a/v1.12.3-local/serviceaccount.json +++ b/v1.12.3-local/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.3-local/serviceaccounttokenprojection-v1.json b/v1.12.3-local/serviceaccounttokenprojection-v1.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.3-local/serviceaccounttokenprojection-v1.json +++ b/v1.12.3-local/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-local/serviceaccounttokenprojection.json b/v1.12.3-local/serviceaccounttokenprojection.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.3-local/serviceaccounttokenprojection.json +++ b/v1.12.3-local/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-local/serviceport-v1.json b/v1.12.3-local/serviceport-v1.json index f975918c32..d041f7879a 100644 --- a/v1.12.3-local/serviceport-v1.json +++ b/v1.12.3-local/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-local/serviceport.json b/v1.12.3-local/serviceport.json index f975918c32..d041f7879a 100644 --- a/v1.12.3-local/serviceport.json +++ b/v1.12.3-local/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-local/servicespec-v1.json b/v1.12.3-local/servicespec-v1.json index becdeffb37..005551a152 100644 --- a/v1.12.3-local/servicespec-v1.json +++ b/v1.12.3-local/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/servicespec.json b/v1.12.3-local/servicespec.json index becdeffb37..005551a152 100644 --- a/v1.12.3-local/servicespec.json +++ b/v1.12.3-local/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/statefulsetspec-apps-v1.json b/v1.12.3-local/statefulsetspec-apps-v1.json index 99d15ce67b..47708899f4 100644 --- a/v1.12.3-local/statefulsetspec-apps-v1.json +++ b/v1.12.3-local/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/statefulsetspec-apps-v1beta1.json b/v1.12.3-local/statefulsetspec-apps-v1beta1.json index cd17013f0d..7659cd60be 100644 --- a/v1.12.3-local/statefulsetspec-apps-v1beta1.json +++ b/v1.12.3-local/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/statefulsetspec-apps-v1beta2.json b/v1.12.3-local/statefulsetspec-apps-v1beta2.json index f96ce69a70..f4b04aa229 100644 --- a/v1.12.3-local/statefulsetspec-apps-v1beta2.json +++ b/v1.12.3-local/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/statefulsetspec.json b/v1.12.3-local/statefulsetspec.json index f96ce69a70..f4b04aa229 100644 --- a/v1.12.3-local/statefulsetspec.json +++ b/v1.12.3-local/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-local/statefulsetstatus-apps-v1.json b/v1.12.3-local/statefulsetstatus-apps-v1.json index ff37381b8a..b3563f699d 100644 --- a/v1.12.3-local/statefulsetstatus-apps-v1.json +++ b/v1.12.3-local/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/statefulsetstatus-apps-v1beta1.json b/v1.12.3-local/statefulsetstatus-apps-v1beta1.json index 5f5e7368ba..b9ec4f01de 100644 --- a/v1.12.3-local/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.3-local/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/statefulsetstatus-apps-v1beta2.json b/v1.12.3-local/statefulsetstatus-apps-v1beta2.json index 50089df48f..b69bb71a48 100644 --- a/v1.12.3-local/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.3-local/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/statefulsetstatus.json b/v1.12.3-local/statefulsetstatus.json index 50089df48f..b69bb71a48 100644 --- a/v1.12.3-local/statefulsetstatus.json +++ b/v1.12.3-local/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/status-meta-v1.json b/v1.12.3-local/status-meta-v1.json index 5d47e2288c..a241328ee0 100644 --- a/v1.12.3-local/status-meta-v1.json +++ b/v1.12.3-local/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.3-local/status.json b/v1.12.3-local/status.json index 80de9f16dd..80133bc170 100644 --- a/v1.12.3-local/status.json +++ b/v1.12.3-local/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.3-local/statusdetails-meta-v1.json b/v1.12.3-local/statusdetails-meta-v1.json index 7136d8e60a..08d6cd63aa 100644 --- a/v1.12.3-local/statusdetails-meta-v1.json +++ b/v1.12.3-local/statusdetails-meta-v1.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-local/statusdetails.json b/v1.12.3-local/statusdetails.json index 7136d8e60a..08d6cd63aa 100644 --- a/v1.12.3-local/statusdetails.json +++ b/v1.12.3-local/statusdetails.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-local/storageclass-storage-v1.json b/v1.12.3-local/storageclass-storage-v1.json index 13e5f1f333..c585ee651d 100644 --- a/v1.12.3-local/storageclass-storage-v1.json +++ b/v1.12.3-local/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/storageclass-storage-v1beta1.json b/v1.12.3-local/storageclass-storage-v1beta1.json index 0007c1dc05..ecae3fa90f 100644 --- a/v1.12.3-local/storageclass-storage-v1beta1.json +++ b/v1.12.3-local/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/storageclass.json b/v1.12.3-local/storageclass.json index 6ae01f172c..b9c8a3d4fe 100644 --- a/v1.12.3-local/storageclass.json +++ b/v1.12.3-local/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -54,7 +57,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/storageospersistentvolumesource-v1.json b/v1.12.3-local/storageospersistentvolumesource-v1.json index 2c0618236f..beb1b20740 100644 --- a/v1.12.3-local/storageospersistentvolumesource-v1.json +++ b/v1.12.3-local/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3-local/storageospersistentvolumesource.json b/v1.12.3-local/storageospersistentvolumesource.json index 2c0618236f..beb1b20740 100644 --- a/v1.12.3-local/storageospersistentvolumesource.json +++ b/v1.12.3-local/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3-local/storageosvolumesource-v1.json b/v1.12.3-local/storageosvolumesource-v1.json index e39fa30840..248e91fdff 100644 --- a/v1.12.3-local/storageosvolumesource-v1.json +++ b/v1.12.3-local/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3-local/storageosvolumesource.json b/v1.12.3-local/storageosvolumesource.json index e39fa30840..248e91fdff 100644 --- a/v1.12.3-local/storageosvolumesource.json +++ b/v1.12.3-local/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3-local/subjectaccessreviewspec-authorization-v1.json b/v1.12.3-local/subjectaccessreviewspec-authorization-v1.json index 8a2985524b..9f939cf15a 100644 --- a/v1.12.3-local/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.3-local/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.3-local/subjectaccessreviewspec-authorization-v1beta1.json index 76e4887e16..24e6a6ffad 100644 --- a/v1.12.3-local/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.3-local/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/subjectaccessreviewspec.json b/v1.12.3-local/subjectaccessreviewspec.json index 76e4887e16..24e6a6ffad 100644 --- a/v1.12.3-local/subjectaccessreviewspec.json +++ b/v1.12.3-local/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/subjectaccessreviewstatus-authorization-v1.json b/v1.12.3-local/subjectaccessreviewstatus-authorization-v1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3-local/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.3-local/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-local/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.3-local/subjectaccessreviewstatus-authorization-v1beta1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3-local/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.3-local/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-local/subjectaccessreviewstatus.json b/v1.12.3-local/subjectaccessreviewstatus.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3-local/subjectaccessreviewstatus.json +++ b/v1.12.3-local/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-local/subjectrulesreviewstatus-authorization-v1.json b/v1.12.3-local/subjectrulesreviewstatus-authorization-v1.json index 908abccfae..3c9b389a7b 100644 --- a/v1.12.3-local/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.3-local/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-local/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.3-local/subjectrulesreviewstatus-authorization-v1beta1.json index f65b9ae82c..96685a1b65 100644 --- a/v1.12.3-local/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.3-local/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-local/subjectrulesreviewstatus.json b/v1.12.3-local/subjectrulesreviewstatus.json index f65b9ae82c..96685a1b65 100644 --- a/v1.12.3-local/subjectrulesreviewstatus.json +++ b/v1.12.3-local/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-local/tokenreviewstatus-authentication-v1.json b/v1.12.3-local/tokenreviewstatus-authentication-v1.json index efaae77e38..2005a14ae6 100644 --- a/v1.12.3-local/tokenreviewstatus-authentication-v1.json +++ b/v1.12.3-local/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.3-local/tokenreviewstatus-authentication-v1beta1.json b/v1.12.3-local/tokenreviewstatus-authentication-v1beta1.json index cc0ddc83d6..89e09a4728 100644 --- a/v1.12.3-local/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.3-local/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.3-local/tokenreviewstatus.json b/v1.12.3-local/tokenreviewstatus.json index cc0ddc83d6..89e09a4728 100644 --- a/v1.12.3-local/tokenreviewstatus.json +++ b/v1.12.3-local/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.3-local/toleration-v1.json b/v1.12.3-local/toleration-v1.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.3-local/toleration-v1.json +++ b/v1.12.3-local/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3-local/toleration.json b/v1.12.3-local/toleration.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.3-local/toleration.json +++ b/v1.12.3-local/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3-local/userinfo-authentication-v1.json b/v1.12.3-local/userinfo-authentication-v1.json index c2593de199..10c335b39d 100644 --- a/v1.12.3-local/userinfo-authentication-v1.json +++ b/v1.12.3-local/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/userinfo-authentication-v1beta1.json b/v1.12.3-local/userinfo-authentication-v1beta1.json index c2593de199..10c335b39d 100644 --- a/v1.12.3-local/userinfo-authentication-v1beta1.json +++ b/v1.12.3-local/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/userinfo.json b/v1.12.3-local/userinfo.json index c2593de199..10c335b39d 100644 --- a/v1.12.3-local/userinfo.json +++ b/v1.12.3-local/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-local/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.3-local/volumeattachmentstatus-storage-v1alpha1.json index 15c58656ed..bda4574493 100644 --- a/v1.12.3-local/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.3-local/volumeattachmentstatus-storage-v1alpha1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/volumeattachmentstatus-storage-v1beta1.json b/v1.12.3-local/volumeattachmentstatus-storage-v1beta1.json index 5851d1531a..e9c6bc3278 100644 --- a/v1.12.3-local/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.3-local/volumeattachmentstatus-storage-v1beta1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/volumeattachmentstatus.json b/v1.12.3-local/volumeattachmentstatus.json index 5851d1531a..e9c6bc3278 100644 --- a/v1.12.3-local/volumeattachmentstatus.json +++ b/v1.12.3-local/volumeattachmentstatus.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-local/volumemount-v1.json b/v1.12.3-local/volumemount-v1.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.3-local/volumemount-v1.json +++ b/v1.12.3-local/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-local/volumemount.json b/v1.12.3-local/volumemount.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.3-local/volumemount.json +++ b/v1.12.3-local/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-local/weightedpodaffinityterm-v1.json b/v1.12.3-local/weightedpodaffinityterm-v1.json index 23d09fad2d..1f8caf5f58 100644 --- a/v1.12.3-local/weightedpodaffinityterm-v1.json +++ b/v1.12.3-local/weightedpodaffinityterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-local/weightedpodaffinityterm.json b/v1.12.3-local/weightedpodaffinityterm.json index 23d09fad2d..1f8caf5f58 100644 --- a/v1.12.3-local/weightedpodaffinityterm.json +++ b/v1.12.3-local/weightedpodaffinityterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/_definitions.json b/v1.12.3-standalone-strict/_definitions.json index 48e48ac0aa..5301cc0f36 100644 --- a/v1.12.3-standalone-strict/_definitions.json +++ b/v1.12.3-standalone-strict/_definitions.json @@ -16092,7 +16092,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.3-standalone-strict/affinity-v1.json b/v1.12.3-standalone-strict/affinity-v1.json index 38a41fa0be..66b6dda8d5 100644 --- a/v1.12.3-standalone-strict/affinity-v1.json +++ b/v1.12.3-standalone-strict/affinity-v1.json @@ -273,7 +273,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -370,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -569,7 +578,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/affinity.json b/v1.12.3-standalone-strict/affinity.json index 38a41fa0be..66b6dda8d5 100644 --- a/v1.12.3-standalone-strict/affinity.json +++ b/v1.12.3-standalone-strict/affinity.json @@ -273,7 +273,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -370,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -569,7 +578,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/aggregationrule-rbac-v1.json b/v1.12.3-standalone-strict/aggregationrule-rbac-v1.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.3-standalone-strict/aggregationrule-rbac-v1.json +++ b/v1.12.3-standalone-strict/aggregationrule-rbac-v1.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/aggregationrule-rbac-v1alpha1.json b/v1.12.3-standalone-strict/aggregationrule-rbac-v1alpha1.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.3-standalone-strict/aggregationrule-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/aggregationrule-rbac-v1alpha1.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/aggregationrule-rbac-v1beta1.json b/v1.12.3-standalone-strict/aggregationrule-rbac-v1beta1.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.3-standalone-strict/aggregationrule-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/aggregationrule-rbac-v1beta1.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/aggregationrule.json b/v1.12.3-standalone-strict/aggregationrule.json index 2ab78358c9..8d076e893f 100644 --- a/v1.12.3-standalone-strict/aggregationrule.json +++ b/v1.12.3-standalone-strict/aggregationrule.json @@ -52,7 +52,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/allowedhostpath-extensions-v1beta1.json b/v1.12.3-standalone-strict/allowedhostpath-extensions-v1beta1.json index 2f3ac168cd..911da1682d 100644 --- a/v1.12.3-standalone-strict/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/allowedhostpath-policy-v1beta1.json b/v1.12.3-standalone-strict/allowedhostpath-policy-v1beta1.json index f1e26f842f..6914f23f94 100644 --- a/v1.12.3-standalone-strict/allowedhostpath-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/allowedhostpath.json b/v1.12.3-standalone-strict/allowedhostpath.json index f1e26f842f..6914f23f94 100644 --- a/v1.12.3-standalone-strict/allowedhostpath.json +++ b/v1.12.3-standalone-strict/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/apiresource-meta-v1.json b/v1.12.3-standalone-strict/apiresource-meta-v1.json index f3089f3ced..c294dd23c7 100644 --- a/v1.12.3-standalone-strict/apiresource-meta-v1.json +++ b/v1.12.3-standalone-strict/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3-standalone-strict/apiresource.json b/v1.12.3-standalone-strict/apiresource.json index f3089f3ced..c294dd23c7 100644 --- a/v1.12.3-standalone-strict/apiresource.json +++ b/v1.12.3-standalone-strict/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3-standalone-strict/apiservice-apiregistration-v1.json b/v1.12.3-standalone-strict/apiservice-apiregistration-v1.json index 03db877296..2d77fcba39 100644 --- a/v1.12.3-standalone-strict/apiservice-apiregistration-v1.json +++ b/v1.12.3-standalone-strict/apiservice-apiregistration-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone-strict/apiservice-apiregistration-v1beta1.json b/v1.12.3-standalone-strict/apiservice-apiregistration-v1beta1.json index 70c7482f84..5211e8f792 100644 --- a/v1.12.3-standalone-strict/apiservice-apiregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/apiservice-apiregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone-strict/apiservice.json b/v1.12.3-standalone-strict/apiservice.json index 9a8abc723c..7150548845 100644 --- a/v1.12.3-standalone-strict/apiservice.json +++ b/v1.12.3-standalone-strict/apiservice.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -392,7 +416,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1.json b/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1.json index ff6817e5e7..56c43de248 100644 --- a/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1.json +++ b/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +443,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1beta1.json b/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1beta1.json index f6638065a2..fb2acd898d 100644 --- a/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/apiservicelist-apiregistration-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +443,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone-strict/apiservicelist.json b/v1.12.3-standalone-strict/apiservicelist.json index d53212ef3c..202af2c7e4 100644 --- a/v1.12.3-standalone-strict/apiservicelist.json +++ b/v1.12.3-standalone-strict/apiservicelist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -289,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -332,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -410,7 +434,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1.json b/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1.json index 21eeb1fd1d..a0fd7f5615 100644 --- a/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1.json +++ b/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -59,7 +65,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1beta1.json b/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1beta1.json index 21eeb1fd1d..a0fd7f5615 100644 --- a/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -59,7 +65,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/apiservicespec.json b/v1.12.3-standalone-strict/apiservicespec.json index 21eeb1fd1d..a0fd7f5615 100644 --- a/v1.12.3-standalone-strict/apiservicespec.json +++ b/v1.12.3-standalone-strict/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -59,7 +65,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/awselasticblockstorevolumesource-v1.json b/v1.12.3-standalone-strict/awselasticblockstorevolumesource-v1.json index a132e1310a..ba71ed191e 100644 --- a/v1.12.3-standalone-strict/awselasticblockstorevolumesource-v1.json +++ b/v1.12.3-standalone-strict/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3-standalone-strict/awselasticblockstorevolumesource.json b/v1.12.3-standalone-strict/awselasticblockstorevolumesource.json index a132e1310a..ba71ed191e 100644 --- a/v1.12.3-standalone-strict/awselasticblockstorevolumesource.json +++ b/v1.12.3-standalone-strict/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3-standalone-strict/azurediskvolumesource-v1.json b/v1.12.3-standalone-strict/azurediskvolumesource-v1.json index 6b3aa48d71..894759e67d 100644 --- a/v1.12.3-standalone-strict/azurediskvolumesource-v1.json +++ b/v1.12.3-standalone-strict/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/azurediskvolumesource.json b/v1.12.3-standalone-strict/azurediskvolumesource.json index 6b3aa48d71..894759e67d 100644 --- a/v1.12.3-standalone-strict/azurediskvolumesource.json +++ b/v1.12.3-standalone-strict/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/azurefilepersistentvolumesource-v1.json b/v1.12.3-standalone-strict/azurefilepersistentvolumesource-v1.json index 7b08fb7b57..3bc885eec5 100644 --- a/v1.12.3-standalone-strict/azurefilepersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone-strict/azurefilepersistentvolumesource.json b/v1.12.3-standalone-strict/azurefilepersistentvolumesource.json index 7b08fb7b57..3bc885eec5 100644 --- a/v1.12.3-standalone-strict/azurefilepersistentvolumesource.json +++ b/v1.12.3-standalone-strict/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone-strict/azurefilevolumesource-v1.json b/v1.12.3-standalone-strict/azurefilevolumesource-v1.json index 8358e61035..8580d56c84 100644 --- a/v1.12.3-standalone-strict/azurefilevolumesource-v1.json +++ b/v1.12.3-standalone-strict/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone-strict/azurefilevolumesource.json b/v1.12.3-standalone-strict/azurefilevolumesource.json index 8358e61035..8580d56c84 100644 --- a/v1.12.3-standalone-strict/azurefilevolumesource.json +++ b/v1.12.3-standalone-strict/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone-strict/binding-v1.json b/v1.12.3-standalone-strict/binding-v1.json index 51156f832a..da012a4ebe 100644 --- a/v1.12.3-standalone-strict/binding-v1.json +++ b/v1.12.3-standalone-strict/binding-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/binding.json b/v1.12.3-standalone-strict/binding.json index 1f87d814b7..83fdc98a15 100644 --- a/v1.12.3-standalone-strict/binding.json +++ b/v1.12.3-standalone-strict/binding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/cephfspersistentvolumesource-v1.json b/v1.12.3-standalone-strict/cephfspersistentvolumesource-v1.json index 109716bfac..5df96178da 100644 --- a/v1.12.3-standalone-strict/cephfspersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone-strict/cephfspersistentvolumesource.json b/v1.12.3-standalone-strict/cephfspersistentvolumesource.json index 109716bfac..5df96178da 100644 --- a/v1.12.3-standalone-strict/cephfspersistentvolumesource.json +++ b/v1.12.3-standalone-strict/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone-strict/cephfsvolumesource-v1.json b/v1.12.3-standalone-strict/cephfsvolumesource-v1.json index 8f986c25d0..0cc77ed9e3 100644 --- a/v1.12.3-standalone-strict/cephfsvolumesource-v1.json +++ b/v1.12.3-standalone-strict/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone-strict/cephfsvolumesource.json b/v1.12.3-standalone-strict/cephfsvolumesource.json index 8f986c25d0..0cc77ed9e3 100644 --- a/v1.12.3-standalone-strict/cephfsvolumesource.json +++ b/v1.12.3-standalone-strict/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone-strict/certificatesigningrequest-certificates-v1beta1.json b/v1.12.3-standalone-strict/certificatesigningrequest-certificates-v1beta1.json index 4243fc18fb..b7a7116806 100644 --- a/v1.12.3-standalone-strict/certificatesigningrequest-certificates-v1beta1.json +++ b/v1.12.3-standalone-strict/certificatesigningrequest-certificates-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/certificatesigningrequest.json b/v1.12.3-standalone-strict/certificatesigningrequest.json index 03ff925db0..9dc09788d7 100644 --- a/v1.12.3-standalone-strict/certificatesigningrequest.json +++ b/v1.12.3-standalone-strict/certificatesigningrequest.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json b/v1.12.3-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json index 1329ce11c6..85b1141108 100644 --- a/v1.12.3-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json +++ b/v1.12.3-standalone-strict/certificatesigningrequestlist-certificates-v1beta1.json @@ -46,7 +46,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -71,7 +74,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -105,7 +111,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -297,7 +312,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -340,11 +358,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/certificatesigningrequestlist.json b/v1.12.3-standalone-strict/certificatesigningrequestlist.json index 9906c7551a..100d884acb 100644 --- a/v1.12.3-standalone-strict/certificatesigningrequestlist.json +++ b/v1.12.3-standalone-strict/certificatesigningrequestlist.json @@ -40,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.3-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json index a38505babf..fc6b2c08d9 100644 --- a/v1.12.3-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.3-standalone-strict/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/certificatesigningrequestspec.json b/v1.12.3-standalone-strict/certificatesigningrequestspec.json index a38505babf..fc6b2c08d9 100644 --- a/v1.12.3-standalone-strict/certificatesigningrequestspec.json +++ b/v1.12.3-standalone-strict/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/cinderpersistentvolumesource-v1.json b/v1.12.3-standalone-strict/cinderpersistentvolumesource-v1.json index 2b26f5fcae..70a0a27906 100644 --- a/v1.12.3-standalone-strict/cinderpersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/cinderpersistentvolumesource.json b/v1.12.3-standalone-strict/cinderpersistentvolumesource.json index 2b26f5fcae..70a0a27906 100644 --- a/v1.12.3-standalone-strict/cinderpersistentvolumesource.json +++ b/v1.12.3-standalone-strict/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/cindervolumesource-v1.json b/v1.12.3-standalone-strict/cindervolumesource-v1.json index 5a1f3f2e5f..c0ea16d0a8 100644 --- a/v1.12.3-standalone-strict/cindervolumesource-v1.json +++ b/v1.12.3-standalone-strict/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/cindervolumesource.json b/v1.12.3-standalone-strict/cindervolumesource.json index 5a1f3f2e5f..c0ea16d0a8 100644 --- a/v1.12.3-standalone-strict/cindervolumesource.json +++ b/v1.12.3-standalone-strict/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/clientipconfig-v1.json b/v1.12.3-standalone-strict/clientipconfig-v1.json index 1b3827435f..c94eb81562 100644 --- a/v1.12.3-standalone-strict/clientipconfig-v1.json +++ b/v1.12.3-standalone-strict/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/clientipconfig.json b/v1.12.3-standalone-strict/clientipconfig.json index 1b3827435f..c94eb81562 100644 --- a/v1.12.3-standalone-strict/clientipconfig.json +++ b/v1.12.3-standalone-strict/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/clusterrole-rbac-v1.json b/v1.12.3-standalone-strict/clusterrole-rbac-v1.json index bfa1d2a48e..fefeda79e6 100644 --- a/v1.12.3-standalone-strict/clusterrole-rbac-v1.json +++ b/v1.12.3-standalone-strict/clusterrole-rbac-v1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -200,7 +212,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -263,7 +278,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -349,7 +367,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -392,11 +413,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrole-rbac-v1alpha1.json b/v1.12.3-standalone-strict/clusterrole-rbac-v1alpha1.json index c9fa69b451..1aabcfd3f3 100644 --- a/v1.12.3-standalone-strict/clusterrole-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/clusterrole-rbac-v1alpha1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -200,7 +212,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -263,7 +278,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -349,7 +367,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -392,11 +413,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrole-rbac-v1beta1.json b/v1.12.3-standalone-strict/clusterrole-rbac-v1beta1.json index 1d1d3cd277..366522b81b 100644 --- a/v1.12.3-standalone-strict/clusterrole-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/clusterrole-rbac-v1beta1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -200,7 +212,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -263,7 +278,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -349,7 +367,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -392,11 +413,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrole.json b/v1.12.3-standalone-strict/clusterrole.json index ed2b5b2dba..1b6edaa6eb 100644 --- a/v1.12.3-standalone-strict/clusterrole.json +++ b/v1.12.3-standalone-strict/clusterrole.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -194,7 +206,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -257,7 +272,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -343,7 +361,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -386,11 +407,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1.json b/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1.json index 67f189bfb4..b09fe44441 100644 --- a/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1.json +++ b/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1alpha1.json b/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1alpha1.json index dcc87c717d..e029cd8433 100644 --- a/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1beta1.json b/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1beta1.json index 9124963ab7..230c819d37 100644 --- a/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/clusterrolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebinding.json b/v1.12.3-standalone-strict/clusterrolebinding.json index f8c9b68dec..5e17b8afe7 100644 --- a/v1.12.3-standalone-strict/clusterrolebinding.json +++ b/v1.12.3-standalone-strict/clusterrolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1.json b/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1.json index 2899c702a6..173be22db0 100644 --- a/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1.json +++ b/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json b/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json index 3b39094f0d..6ce4de555e 100644 --- a/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json b/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json index ac2c816632..457d751ca3 100644 --- a/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/clusterrolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolebindinglist.json b/v1.12.3-standalone-strict/clusterrolebindinglist.json index b67a862045..1119e693f8 100644 --- a/v1.12.3-standalone-strict/clusterrolebindinglist.json +++ b/v1.12.3-standalone-strict/clusterrolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolelist-rbac-v1.json b/v1.12.3-standalone-strict/clusterrolelist-rbac-v1.json index 9b1aeab157..26a0f86ff2 100644 --- a/v1.12.3-standalone-strict/clusterrolelist-rbac-v1.json +++ b/v1.12.3-standalone-strict/clusterrolelist-rbac-v1.json @@ -80,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +151,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +188,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -222,7 +234,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -285,7 +300,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -371,7 +389,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,11 +435,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolelist-rbac-v1alpha1.json b/v1.12.3-standalone-strict/clusterrolelist-rbac-v1alpha1.json index 37177fe091..76720802e7 100644 --- a/v1.12.3-standalone-strict/clusterrolelist-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/clusterrolelist-rbac-v1alpha1.json @@ -80,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +151,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +188,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -222,7 +234,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -285,7 +300,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -371,7 +389,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,11 +435,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolelist-rbac-v1beta1.json b/v1.12.3-standalone-strict/clusterrolelist-rbac-v1beta1.json index 0a78992dc8..ae2668c22d 100644 --- a/v1.12.3-standalone-strict/clusterrolelist-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/clusterrolelist-rbac-v1beta1.json @@ -80,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +151,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +188,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -222,7 +234,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -285,7 +300,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -371,7 +389,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,11 +435,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/clusterrolelist.json b/v1.12.3-standalone-strict/clusterrolelist.json index c7a123a402..d07270af09 100644 --- a/v1.12.3-standalone-strict/clusterrolelist.json +++ b/v1.12.3-standalone-strict/clusterrolelist.json @@ -77,7 +77,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +117,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -139,7 +145,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -173,7 +182,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -213,7 +225,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -276,7 +291,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/componentstatus-v1.json b/v1.12.3-standalone-strict/componentstatus-v1.json index 1c65ea43f5..dfe19d6e9d 100644 --- a/v1.12.3-standalone-strict/componentstatus-v1.json +++ b/v1.12.3-standalone-strict/componentstatus-v1.json @@ -67,7 +67,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +95,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -126,7 +132,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -169,7 +178,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -232,7 +244,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -318,7 +333,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -361,11 +379,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/componentstatus.json b/v1.12.3-standalone-strict/componentstatus.json index 43bac9e6e9..7a8cdbc7b1 100644 --- a/v1.12.3-standalone-strict/componentstatus.json +++ b/v1.12.3-standalone-strict/componentstatus.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +172,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -226,7 +238,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -312,7 +327,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -355,11 +373,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/componentstatuslist-v1.json b/v1.12.3-standalone-strict/componentstatuslist-v1.json index e167c1419a..79f0e0f0d0 100644 --- a/v1.12.3-standalone-strict/componentstatuslist-v1.json +++ b/v1.12.3-standalone-strict/componentstatuslist-v1.json @@ -89,7 +89,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +117,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -148,7 +154,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -191,7 +200,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -254,7 +266,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +355,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +401,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/componentstatuslist.json b/v1.12.3-standalone-strict/componentstatuslist.json index 34edb130b5..047cfd63ca 100644 --- a/v1.12.3-standalone-strict/componentstatuslist.json +++ b/v1.12.3-standalone-strict/componentstatuslist.json @@ -83,7 +83,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -108,7 +111,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -142,7 +148,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -182,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -245,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -331,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -374,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/configmap-v1.json b/v1.12.3-standalone-strict/configmap-v1.json index 507c4bf846..0fb762ea13 100644 --- a/v1.12.3-standalone-strict/configmap-v1.json +++ b/v1.12.3-standalone-strict/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -47,7 +53,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +81,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +118,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +164,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +319,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +365,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/configmap.json b/v1.12.3-standalone-strict/configmap.json index 8ceedc0d36..03912cad3a 100644 --- a/v1.12.3-standalone-strict/configmap.json +++ b/v1.12.3-standalone-strict/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -44,7 +50,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +78,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -103,7 +115,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -206,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/configmapenvsource-v1.json b/v1.12.3-standalone-strict/configmapenvsource-v1.json index 2fb6d2ca31..8860ddea58 100644 --- a/v1.12.3-standalone-strict/configmapenvsource-v1.json +++ b/v1.12.3-standalone-strict/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmapenvsource.json b/v1.12.3-standalone-strict/configmapenvsource.json index 2fb6d2ca31..8860ddea58 100644 --- a/v1.12.3-standalone-strict/configmapenvsource.json +++ b/v1.12.3-standalone-strict/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmapkeyselector-v1.json b/v1.12.3-standalone-strict/configmapkeyselector-v1.json index 7b9a7610e9..79252da5c0 100644 --- a/v1.12.3-standalone-strict/configmapkeyselector-v1.json +++ b/v1.12.3-standalone-strict/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmapkeyselector.json b/v1.12.3-standalone-strict/configmapkeyselector.json index 7b9a7610e9..79252da5c0 100644 --- a/v1.12.3-standalone-strict/configmapkeyselector.json +++ b/v1.12.3-standalone-strict/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmaplist-v1.json b/v1.12.3-standalone-strict/configmaplist-v1.json index 2588b5ed0e..a452f58704 100644 --- a/v1.12.3-standalone-strict/configmaplist-v1.json +++ b/v1.12.3-standalone-strict/configmaplist-v1.json @@ -35,7 +35,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -46,7 +49,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -128,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -171,7 +186,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -234,7 +252,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -320,7 +341,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -363,11 +387,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/configmaplist.json b/v1.12.3-standalone-strict/configmaplist.json index 9114b7df2a..99e06bcbcf 100644 --- a/v1.12.3-standalone-strict/configmaplist.json +++ b/v1.12.3-standalone-strict/configmaplist.json @@ -29,7 +29,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -40,7 +43,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -63,7 +69,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +97,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -122,7 +134,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -162,7 +177,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +243,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -311,7 +332,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -354,11 +378,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/configmapprojection-v1.json b/v1.12.3-standalone-strict/configmapprojection-v1.json index 79bce75870..a655b1b4f0 100644 --- a/v1.12.3-standalone-strict/configmapprojection-v1.json +++ b/v1.12.3-standalone-strict/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmapprojection.json b/v1.12.3-standalone-strict/configmapprojection.json index 79bce75870..a655b1b4f0 100644 --- a/v1.12.3-standalone-strict/configmapprojection.json +++ b/v1.12.3-standalone-strict/configmapprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmapvolumesource-v1.json b/v1.12.3-standalone-strict/configmapvolumesource-v1.json index 914b310117..e364a9a772 100644 --- a/v1.12.3-standalone-strict/configmapvolumesource-v1.json +++ b/v1.12.3-standalone-strict/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -45,7 +51,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/configmapvolumesource.json b/v1.12.3-standalone-strict/configmapvolumesource.json index 914b310117..e364a9a772 100644 --- a/v1.12.3-standalone-strict/configmapvolumesource.json +++ b/v1.12.3-standalone-strict/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -45,7 +51,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/container-v1.json b/v1.12.3-standalone-strict/container-v1.json index 3ccc998161..9cc8252b46 100644 --- a/v1.12.3-standalone-strict/container-v1.json +++ b/v1.12.3-standalone-strict/container-v1.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -122,7 +125,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -152,7 +158,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -187,7 +196,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +223,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -313,7 +328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -349,7 +367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -435,7 +456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -471,7 +495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +535,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -565,7 +595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -581,17 +614,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -616,7 +658,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -625,7 +670,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -664,7 +712,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -711,7 +762,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -768,7 +822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -784,17 +841,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -819,7 +885,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -828,7 +897,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -839,7 +911,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -849,14 +924,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -866,7 +947,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -879,7 +963,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -915,7 +1002,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -926,20 +1016,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -981,11 +1083,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1003,7 +1111,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1062,7 +1173,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone-strict/container.json b/v1.12.3-standalone-strict/container.json index 3ccc998161..9cc8252b46 100644 --- a/v1.12.3-standalone-strict/container.json +++ b/v1.12.3-standalone-strict/container.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -122,7 +125,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -152,7 +158,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -187,7 +196,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +223,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -313,7 +328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -349,7 +367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -435,7 +456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -471,7 +495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +535,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -565,7 +595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -581,17 +614,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -616,7 +658,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -625,7 +670,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -664,7 +712,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -711,7 +762,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -768,7 +822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -784,17 +841,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -819,7 +885,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -828,7 +897,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -839,7 +911,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -849,14 +924,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -866,7 +947,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -879,7 +963,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -915,7 +1002,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -926,20 +1016,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -981,11 +1083,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1003,7 +1111,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1062,7 +1173,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone-strict/containerimage-v1.json b/v1.12.3-standalone-strict/containerimage-v1.json index 19cffb2f95..069b07b3a8 100644 --- a/v1.12.3-standalone-strict/containerimage-v1.json +++ b/v1.12.3-standalone-strict/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/containerimage.json b/v1.12.3-standalone-strict/containerimage.json index 19cffb2f95..069b07b3a8 100644 --- a/v1.12.3-standalone-strict/containerimage.json +++ b/v1.12.3-standalone-strict/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/containerport-v1.json b/v1.12.3-standalone-strict/containerport-v1.json index 437d7e0d37..2bcb13eeda 100644 --- a/v1.12.3-standalone-strict/containerport-v1.json +++ b/v1.12.3-standalone-strict/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3-standalone-strict/containerport.json b/v1.12.3-standalone-strict/containerport.json index 437d7e0d37..2bcb13eeda 100644 --- a/v1.12.3-standalone-strict/containerport.json +++ b/v1.12.3-standalone-strict/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3-standalone-strict/containerstate-v1.json b/v1.12.3-standalone-strict/containerstate-v1.json index 4cfe4fdf2e..27e594cd4c 100644 --- a/v1.12.3-standalone-strict/containerstate-v1.json +++ b/v1.12.3-standalone-strict/containerstate-v1.json @@ -57,7 +57,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/containerstate.json b/v1.12.3-standalone-strict/containerstate.json index 4cfe4fdf2e..27e594cd4c 100644 --- a/v1.12.3-standalone-strict/containerstate.json +++ b/v1.12.3-standalone-strict/containerstate.json @@ -57,7 +57,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/containerstateterminated-v1.json b/v1.12.3-standalone-strict/containerstateterminated-v1.json index 7a80f30ac1..1f019ce5aa 100644 --- a/v1.12.3-standalone-strict/containerstateterminated-v1.json +++ b/v1.12.3-standalone-strict/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/containerstateterminated.json b/v1.12.3-standalone-strict/containerstateterminated.json index 7a80f30ac1..1f019ce5aa 100644 --- a/v1.12.3-standalone-strict/containerstateterminated.json +++ b/v1.12.3-standalone-strict/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/containerstatus-v1.json b/v1.12.3-standalone-strict/containerstatus-v1.json index c0a989163d..22fe41cf81 100644 --- a/v1.12.3-standalone-strict/containerstatus-v1.json +++ b/v1.12.3-standalone-strict/containerstatus-v1.json @@ -88,7 +88,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -134,11 +137,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -200,7 +209,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/containerstatus.json b/v1.12.3-standalone-strict/containerstatus.json index c0a989163d..22fe41cf81 100644 --- a/v1.12.3-standalone-strict/containerstatus.json +++ b/v1.12.3-standalone-strict/containerstatus.json @@ -88,7 +88,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -134,11 +137,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -200,7 +209,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/controllerrevision-apps-v1.json b/v1.12.3-standalone-strict/controllerrevision-apps-v1.json index d4a6946219..a4fba0b4e6 100644 --- a/v1.12.3-standalone-strict/controllerrevision-apps-v1.json +++ b/v1.12.3-standalone-strict/controllerrevision-apps-v1.json @@ -43,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -68,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -102,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -145,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -208,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/controllerrevision-apps-v1beta1.json b/v1.12.3-standalone-strict/controllerrevision-apps-v1beta1.json index 76a22d7c0a..6ce6e67570 100644 --- a/v1.12.3-standalone-strict/controllerrevision-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/controllerrevision-apps-v1beta1.json @@ -43,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -68,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -102,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -145,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -208,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/controllerrevision-apps-v1beta2.json b/v1.12.3-standalone-strict/controllerrevision-apps-v1beta2.json index 8840c4158e..c6fa18a9c5 100644 --- a/v1.12.3-standalone-strict/controllerrevision-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/controllerrevision-apps-v1beta2.json @@ -43,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -68,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -102,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -145,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -208,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/controllerrevision.json b/v1.12.3-standalone-strict/controllerrevision.json index adbc25ed3d..e9f95676d1 100644 --- a/v1.12.3-standalone-strict/controllerrevision.json +++ b/v1.12.3-standalone-strict/controllerrevision.json @@ -40,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +405,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1.json b/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1.json index d3beef56a8..908d1343b4 100644 --- a/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1.json +++ b/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1.json @@ -65,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -230,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta1.json b/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta1.json index a68ae7240d..2fcf1021c3 100644 --- a/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta1.json @@ -65,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -230,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta2.json b/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta2.json index 7e798b3e55..5451f4524d 100644 --- a/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/controllerrevisionlist-apps-v1beta2.json @@ -65,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -230,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/controllerrevisionlist.json b/v1.12.3-standalone-strict/controllerrevisionlist.json index 825ab04aa1..a555fc502a 100644 --- a/v1.12.3-standalone-strict/controllerrevisionlist.json +++ b/v1.12.3-standalone-strict/controllerrevisionlist.json @@ -59,7 +59,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -84,7 +87,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -118,7 +124,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -158,7 +167,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -221,7 +233,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +322,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +368,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/cronjob-batch-v1beta1.json b/v1.12.3-standalone-strict/cronjob-batch-v1beta1.json index c2a6bd8b7d..7ab947b294 100644 --- a/v1.12.3-standalone-strict/cronjob-batch-v1beta1.json +++ b/v1.12.3-standalone-strict/cronjob-batch-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -395,7 +422,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -420,7 +450,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -454,7 +487,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -497,7 +533,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -560,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -646,7 +688,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -689,11 +734,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -745,26 +796,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -812,7 +878,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -831,7 +900,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -856,7 +928,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -890,7 +965,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -933,7 +1011,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -996,7 +1077,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1082,7 +1166,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1125,11 +1212,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1181,7 +1274,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1459,7 +1555,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1556,7 +1655,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1658,7 +1760,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1755,7 +1860,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1795,7 +1903,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1877,7 +1988,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1954,7 +2071,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1989,7 +2109,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2013,7 +2136,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2115,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,7 +2280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2369,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2273,7 +2408,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2310,7 +2448,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2367,7 +2508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2383,17 +2527,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2418,7 +2571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2427,7 +2583,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2463,7 +2622,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2510,7 +2672,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2567,7 +2732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2583,17 +2751,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2618,7 +2795,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2807,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2638,7 +2821,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2648,14 +2834,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2665,7 +2857,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2678,7 +2873,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2714,7 +2912,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2725,20 +2926,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2780,11 +2993,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2802,7 +3021,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2861,7 +3083,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2991,15 +3216,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3113,7 +3347,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3190,9 +3430,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3225,7 +3468,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3249,7 +3495,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3351,7 +3600,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3387,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3473,7 +3728,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3509,7 +3767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3546,7 +3807,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3603,7 +3867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3619,17 +3886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3654,7 +3930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3663,7 +3942,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3699,7 +3981,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3746,7 +4031,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3803,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3819,17 +4110,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3854,7 +4154,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3863,7 +4166,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3874,7 +4180,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3884,14 +4193,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3901,7 +4216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3914,7 +4232,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3950,7 +4271,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3961,20 +4285,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4016,11 +4352,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4038,7 +4380,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4097,7 +4442,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4134,7 +4482,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4144,7 +4495,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4200,21 +4554,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4258,7 +4624,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4306,7 +4675,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4317,7 +4689,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4352,7 +4727,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4393,12 +4771,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4445,7 +4829,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4459,7 +4846,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4497,7 +4887,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4544,7 +4937,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4571,7 +4967,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4593,7 +4992,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5015,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4623,7 +5028,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4660,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4689,7 +5100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4726,7 +5140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4745,12 +5162,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4800,7 +5223,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4810,7 +5236,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4863,7 +5292,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4872,7 +5304,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4921,7 +5356,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,11 +5394,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5007,7 +5451,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5046,7 +5493,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5067,7 +5517,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5107,7 +5560,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5124,7 +5580,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5155,7 +5614,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5175,7 +5637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5217,7 +5682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5246,7 +5714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5286,7 +5757,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5306,7 +5780,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5326,7 +5803,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5359,7 +5839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5423,7 +5906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5476,7 +5962,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5493,7 +5982,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5528,7 +6020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5550,7 +6045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5563,7 +6061,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5587,7 +6088,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5667,7 +6171,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5682,17 +6189,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/cronjob-batch-v2alpha1.json b/v1.12.3-standalone-strict/cronjob-batch-v2alpha1.json index 95b3e2e96a..75cadc0d37 100644 --- a/v1.12.3-standalone-strict/cronjob-batch-v2alpha1.json +++ b/v1.12.3-standalone-strict/cronjob-batch-v2alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -395,7 +422,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -420,7 +450,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -454,7 +487,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -497,7 +533,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -560,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -646,7 +688,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -689,11 +734,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -745,26 +796,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -812,7 +878,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -831,7 +900,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -856,7 +928,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -890,7 +965,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -933,7 +1011,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -996,7 +1077,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1082,7 +1166,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1125,11 +1212,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1181,7 +1274,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1459,7 +1555,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1556,7 +1655,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1658,7 +1760,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1755,7 +1860,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1795,7 +1903,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1877,7 +1988,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1954,7 +2071,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1989,7 +2109,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2013,7 +2136,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2115,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,7 +2280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2369,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2273,7 +2408,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2310,7 +2448,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2367,7 +2508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2383,17 +2527,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2418,7 +2571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2427,7 +2583,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2463,7 +2622,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2510,7 +2672,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2567,7 +2732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2583,17 +2751,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2618,7 +2795,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2807,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2638,7 +2821,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2648,14 +2834,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2665,7 +2857,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2678,7 +2873,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2714,7 +2912,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2725,20 +2926,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2780,11 +2993,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2802,7 +3021,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2861,7 +3083,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2991,15 +3216,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3113,7 +3347,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3190,9 +3430,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3225,7 +3468,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3249,7 +3495,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3351,7 +3600,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3387,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3473,7 +3728,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3509,7 +3767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3546,7 +3807,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3603,7 +3867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3619,17 +3886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3654,7 +3930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3663,7 +3942,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3699,7 +3981,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3746,7 +4031,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3803,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3819,17 +4110,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3854,7 +4154,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3863,7 +4166,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3874,7 +4180,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3884,14 +4193,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3901,7 +4216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3914,7 +4232,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3950,7 +4271,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3961,20 +4285,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4016,11 +4352,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4038,7 +4380,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4097,7 +4442,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4134,7 +4482,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4144,7 +4495,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4200,21 +4554,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4258,7 +4624,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4306,7 +4675,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4317,7 +4689,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4352,7 +4727,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4393,12 +4771,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4445,7 +4829,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4459,7 +4846,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4497,7 +4887,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4544,7 +4937,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4571,7 +4967,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4593,7 +4992,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5015,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4623,7 +5028,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4660,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4689,7 +5100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4726,7 +5140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4745,12 +5162,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4800,7 +5223,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4810,7 +5236,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4863,7 +5292,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4872,7 +5304,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4921,7 +5356,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,11 +5394,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5007,7 +5451,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5046,7 +5493,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5067,7 +5517,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5107,7 +5560,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5124,7 +5580,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5155,7 +5614,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5175,7 +5637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5217,7 +5682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5246,7 +5714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5286,7 +5757,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5306,7 +5780,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5326,7 +5803,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5359,7 +5839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5423,7 +5906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5476,7 +5962,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5493,7 +5982,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5528,7 +6020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5550,7 +6045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5563,7 +6061,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5587,7 +6088,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5667,7 +6171,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5682,17 +6189,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/cronjob.json b/v1.12.3-standalone-strict/cronjob.json index 39d7018297..f5adca51bb 100644 --- a/v1.12.3-standalone-strict/cronjob.json +++ b/v1.12.3-standalone-strict/cronjob.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -389,7 +416,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,7 +444,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -448,7 +481,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -551,7 +590,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -637,7 +679,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -680,11 +725,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -736,26 +787,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -803,7 +869,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -822,7 +891,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -847,7 +919,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -881,7 +956,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -921,7 +999,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -984,7 +1065,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1070,7 +1154,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1113,11 +1200,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1169,7 +1262,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1447,7 +1543,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1544,7 +1643,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1646,7 +1748,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1743,7 +1848,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1783,7 +1891,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1865,7 +1976,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1912,7 +2026,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1942,7 +2059,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1977,7 +2097,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2001,7 +2124,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2103,7 +2229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2139,7 +2268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2225,7 +2357,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2261,7 +2396,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2298,7 +2436,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2355,7 +2496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2371,17 +2515,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2406,7 +2559,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2415,7 +2571,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2451,7 +2610,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2498,7 +2660,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2555,7 +2720,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2571,17 +2739,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2606,7 +2783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2615,7 +2795,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2626,7 +2809,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2636,14 +2822,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2653,7 +2845,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2666,7 +2861,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2702,7 +2900,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2713,20 +2914,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2768,11 +2981,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2790,7 +3009,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2849,7 +3071,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2979,15 +3204,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3101,7 +3335,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3148,7 +3385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3178,9 +3418,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3213,7 +3456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3237,7 +3483,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3339,7 +3588,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3375,7 +3627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3461,7 +3716,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3497,7 +3755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3534,7 +3795,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3591,7 +3855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3607,17 +3874,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3642,7 +3918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3651,7 +3930,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3687,7 +3969,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3734,7 +4019,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3791,7 +4079,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3807,17 +4098,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3842,7 +4142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3851,7 +4154,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3862,7 +4168,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3872,14 +4181,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3889,7 +4204,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3902,7 +4220,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3938,7 +4259,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3949,20 +4273,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4004,11 +4340,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4026,7 +4368,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4085,7 +4430,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4122,7 +4470,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4132,7 +4483,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4188,21 +4542,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4246,7 +4612,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4294,7 +4663,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4305,7 +4677,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4340,7 +4715,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4381,12 +4759,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4433,7 +4817,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4447,7 +4834,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4485,7 +4875,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4532,7 +4925,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4559,7 +4955,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4581,7 +4980,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4601,7 +5003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4611,7 +5016,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4648,7 +5056,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4677,7 +5088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4714,7 +5128,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4733,12 +5150,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4788,7 +5211,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4798,7 +5224,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4851,7 +5280,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4860,7 +5292,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4909,7 +5344,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4944,11 +5382,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4995,7 +5439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5034,7 +5481,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5055,7 +5505,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5095,7 +5548,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5112,7 +5568,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5143,7 +5602,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5163,7 +5625,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5205,7 +5670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5234,7 +5702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5274,7 +5745,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5294,7 +5768,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5314,7 +5791,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5347,7 +5827,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5411,7 +5894,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5464,7 +5950,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5481,7 +5970,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5516,7 +6008,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5538,7 +6033,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5551,7 +6049,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5575,7 +6076,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5655,7 +6159,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5670,17 +6177,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/cronjoblist-batch-v1beta1.json b/v1.12.3-standalone-strict/cronjoblist-batch-v1beta1.json index d0a0a26a7b..2d02c4e7ce 100644 --- a/v1.12.3-standalone-strict/cronjoblist-batch-v1beta1.json +++ b/v1.12.3-standalone-strict/cronjoblist-batch-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,7 +430,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -417,7 +444,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +472,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -476,7 +509,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -519,7 +555,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -582,7 +621,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -668,7 +710,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -711,11 +756,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -767,26 +818,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -834,7 +900,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +922,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +950,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -912,7 +987,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -955,7 +1033,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -1018,7 +1099,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1104,7 +1188,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1147,11 +1234,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1203,7 +1296,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1481,7 +1577,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1578,7 +1677,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1680,7 +1782,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1777,7 +1882,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1817,7 +1925,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1899,7 +2010,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1976,7 +2093,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2011,7 +2131,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2035,7 +2158,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2137,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2173,7 +2302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2391,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2295,7 +2430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2332,7 +2470,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2389,7 +2530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2405,17 +2549,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2440,7 +2593,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2449,7 +2605,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2485,7 +2644,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2532,7 +2694,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2589,7 +2754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2605,17 +2773,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2640,7 +2817,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2649,7 +2829,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2660,7 +2843,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2670,14 +2856,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2687,7 +2879,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2700,7 +2895,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2736,7 +2934,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2747,20 +2948,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2802,11 +3015,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2824,7 +3043,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2883,7 +3105,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3013,15 +3238,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3135,7 +3369,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3212,9 +3452,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3247,7 +3490,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3271,7 +3517,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3373,7 +3622,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3409,7 +3661,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3495,7 +3750,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3531,7 +3789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3568,7 +3829,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3625,7 +3889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3641,17 +3908,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3676,7 +3952,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3685,7 +3964,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3721,7 +4003,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3768,7 +4053,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3825,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3841,17 +4132,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3876,7 +4176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3885,7 +4188,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3896,7 +4202,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3906,14 +4215,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3923,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3936,7 +4254,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3972,7 +4293,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3983,20 +4307,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4038,11 +4374,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4060,7 +4402,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4119,7 +4464,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4156,7 +4504,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4166,7 +4517,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4222,21 +4576,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4280,7 +4646,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4328,7 +4697,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4339,7 +4711,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4374,7 +4749,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4415,12 +4793,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4467,7 +4851,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4481,7 +4868,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4519,7 +4909,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4566,7 +4959,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4593,7 +4989,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4615,7 +5014,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5037,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4645,7 +5050,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4682,7 +5090,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4748,7 +5162,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4767,12 +5184,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4822,7 +5245,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4832,7 +5258,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5314,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4894,7 +5326,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5378,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4978,11 +5416,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5029,7 +5473,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5068,7 +5515,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5089,7 +5539,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5129,7 +5582,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5177,7 +5636,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5197,7 +5659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5239,7 +5704,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5268,7 +5736,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5308,7 +5779,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5328,7 +5802,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5348,7 +5825,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5381,7 +5861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5445,7 +5928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5498,7 +5984,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5515,7 +6004,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5550,7 +6042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5572,7 +6067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5585,7 +6083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5609,7 +6110,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5689,7 +6193,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5704,17 +6211,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/cronjoblist-batch-v2alpha1.json b/v1.12.3-standalone-strict/cronjoblist-batch-v2alpha1.json index 5d2b07327d..3480409392 100644 --- a/v1.12.3-standalone-strict/cronjoblist-batch-v2alpha1.json +++ b/v1.12.3-standalone-strict/cronjoblist-batch-v2alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,7 +430,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -417,7 +444,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +472,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -476,7 +509,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -519,7 +555,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -582,7 +621,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -668,7 +710,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -711,11 +756,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -767,26 +818,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -834,7 +900,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +922,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +950,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -912,7 +987,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -955,7 +1033,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -1018,7 +1099,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1104,7 +1188,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1147,11 +1234,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1203,7 +1296,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1481,7 +1577,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1578,7 +1677,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1680,7 +1782,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1777,7 +1882,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1817,7 +1925,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1899,7 +2010,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1976,7 +2093,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2011,7 +2131,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2035,7 +2158,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2137,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2173,7 +2302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2391,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2295,7 +2430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2332,7 +2470,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2389,7 +2530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2405,17 +2549,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2440,7 +2593,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2449,7 +2605,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2485,7 +2644,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2532,7 +2694,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2589,7 +2754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2605,17 +2773,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2640,7 +2817,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2649,7 +2829,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2660,7 +2843,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2670,14 +2856,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2687,7 +2879,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2700,7 +2895,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2736,7 +2934,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2747,20 +2948,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2802,11 +3015,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2824,7 +3043,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2883,7 +3105,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3013,15 +3238,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3135,7 +3369,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3212,9 +3452,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3247,7 +3490,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3271,7 +3517,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3373,7 +3622,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3409,7 +3661,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3495,7 +3750,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3531,7 +3789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3568,7 +3829,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3625,7 +3889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3641,17 +3908,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3676,7 +3952,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3685,7 +3964,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3721,7 +4003,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3768,7 +4053,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3825,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3841,17 +4132,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3876,7 +4176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3885,7 +4188,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3896,7 +4202,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3906,14 +4215,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3923,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3936,7 +4254,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3972,7 +4293,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3983,20 +4307,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4038,11 +4374,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4060,7 +4402,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4119,7 +4464,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4156,7 +4504,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4166,7 +4517,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4222,21 +4576,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4280,7 +4646,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4328,7 +4697,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4339,7 +4711,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4374,7 +4749,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4415,12 +4793,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4467,7 +4851,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4481,7 +4868,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4519,7 +4909,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4566,7 +4959,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4593,7 +4989,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4615,7 +5014,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5037,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4645,7 +5050,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4682,7 +5090,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4748,7 +5162,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4767,12 +5184,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4822,7 +5245,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4832,7 +5258,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5314,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4894,7 +5326,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5378,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4978,11 +5416,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5029,7 +5473,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5068,7 +5515,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5089,7 +5539,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5129,7 +5582,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5177,7 +5636,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5197,7 +5659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5239,7 +5704,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5268,7 +5736,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5308,7 +5779,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5328,7 +5802,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5348,7 +5825,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5381,7 +5861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5445,7 +5928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5498,7 +5984,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5515,7 +6004,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5550,7 +6042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5572,7 +6067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5585,7 +6083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5609,7 +6110,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5689,7 +6193,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5704,17 +6211,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/cronjoblist.json b/v1.12.3-standalone-strict/cronjoblist.json index 0560dcaff1..3f74f0d08b 100644 --- a/v1.12.3-standalone-strict/cronjoblist.json +++ b/v1.12.3-standalone-strict/cronjoblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -397,7 +421,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -408,7 +435,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -433,7 +463,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -467,7 +500,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -507,7 +543,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -570,7 +609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -656,7 +698,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -699,11 +744,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -755,26 +806,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -822,7 +888,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -841,7 +910,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -866,7 +938,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -900,7 +975,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -940,7 +1018,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -1003,7 +1084,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1089,7 +1173,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1132,11 +1219,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1188,7 +1281,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1466,7 +1562,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1563,7 +1662,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1665,7 +1767,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1762,7 +1867,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1802,7 +1910,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1884,7 +1995,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1931,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1961,7 +2078,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1996,7 +2116,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2020,7 +2143,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2122,7 +2248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2158,7 +2287,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2280,7 +2415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2317,7 +2455,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2374,7 +2515,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2390,17 +2534,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2425,7 +2578,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2434,7 +2590,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2470,7 +2629,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2517,7 +2679,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2574,7 +2739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2590,17 +2758,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2625,7 +2802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2634,7 +2814,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2645,7 +2828,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2655,14 +2841,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2672,7 +2864,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2685,7 +2880,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2721,7 +2919,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2732,20 +2933,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2787,11 +3000,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2809,7 +3028,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2868,7 +3090,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2998,15 +3223,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3120,7 +3354,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3167,7 +3404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3197,9 +3437,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - }, + "type": [ + "boolean", + "null" + ] + } + }, "additionalProperties": false } }, @@ -3232,7 +3475,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3256,7 +3502,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3358,7 +3607,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3394,7 +3646,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3516,7 +3774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3553,7 +3814,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3610,7 +3874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3626,17 +3893,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3661,7 +3937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3670,7 +3949,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3706,7 +3988,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3753,7 +4038,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3810,7 +4098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3826,17 +4117,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3861,7 +4161,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3870,7 +4173,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3881,7 +4187,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3891,14 +4200,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3908,7 +4223,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3921,7 +4239,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3957,7 +4278,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3968,20 +4292,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4023,11 +4359,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -4045,7 +4387,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -4104,7 +4449,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4141,7 +4489,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4151,7 +4502,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4207,21 +4561,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4265,7 +4631,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4313,7 +4682,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4324,7 +4696,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4359,7 +4734,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4400,12 +4778,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4452,7 +4836,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4466,7 +4853,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4504,7 +4894,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4551,7 +4944,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4578,7 +4974,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4600,7 +4999,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4620,7 +5022,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4630,7 +5035,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4667,7 +5075,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4696,7 +5107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4733,7 +5147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4752,12 +5169,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4807,7 +5230,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4817,7 +5243,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4870,7 +5299,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4879,7 +5311,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4928,7 +5363,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4963,11 +5401,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -5014,7 +5458,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5053,7 +5500,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -5074,7 +5524,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5114,7 +5567,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -5131,7 +5587,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5162,7 +5621,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5182,7 +5644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5224,7 +5689,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5253,7 +5721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5293,7 +5764,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5313,7 +5787,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5333,7 +5810,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5366,7 +5846,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5430,7 +5913,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5483,7 +5969,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5500,7 +5989,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5535,7 +6027,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5557,7 +6052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5570,7 +6068,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5594,7 +6095,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5674,7 +6178,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5689,17 +6196,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/cronjobspec-batch-v1beta1.json b/v1.12.3-standalone-strict/cronjobspec-batch-v1beta1.json index 1852160459..a586c8a2e6 100644 --- a/v1.12.3-standalone-strict/cronjobspec-batch-v1beta1.json +++ b/v1.12.3-standalone-strict/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -190,7 +205,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -276,7 +294,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -319,11 +340,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -375,26 +402,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +506,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +534,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +571,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +617,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +683,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +772,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +818,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +880,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1161,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1261,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1366,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1466,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1509,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1677,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1715,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1742,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1847,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1886,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2014,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2054,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2133,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2189,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2228,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2357,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2427,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2440,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2479,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2518,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2532,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2599,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2627,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2689,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2822,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2953,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3036,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3101,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3206,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3334,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3413,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,9 +3473,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3249,17 +3492,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3548,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3587,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3637,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3697,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3716,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3772,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3786,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3799,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3838,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3877,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3891,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3958,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3986,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4048,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4088,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4101,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4160,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4230,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4281,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4295,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4333,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4377,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4435,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4452,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4493,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4573,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4598,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4621,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4674,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4706,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4768,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4829,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4842,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4962,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +5000,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5057,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5099,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5123,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5166,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5186,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5220,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5243,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5288,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5320,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5363,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5386,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5409,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5445,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5512,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5568,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5588,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5626,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5651,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5667,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5694,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5777,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5315,17 +5798,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/cronjobspec-batch-v2alpha1.json b/v1.12.3-standalone-strict/cronjobspec-batch-v2alpha1.json index db2c4f737c..0541dfca1f 100644 --- a/v1.12.3-standalone-strict/cronjobspec-batch-v2alpha1.json +++ b/v1.12.3-standalone-strict/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -190,7 +205,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -276,7 +294,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -319,11 +340,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -375,26 +402,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +506,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +534,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +571,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +617,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +683,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +772,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +818,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +880,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1161,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1261,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1366,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1466,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1509,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1677,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1715,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1742,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1847,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1886,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2014,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2054,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2133,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2189,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2228,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2357,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2427,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2440,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2479,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2518,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2532,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2599,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2627,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2689,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2822,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2953,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3036,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3101,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3206,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3334,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3413,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,9 +3473,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3249,17 +3492,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3548,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3587,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3637,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3697,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3716,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3772,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3786,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3799,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3838,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3877,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3891,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3958,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3986,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4048,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4088,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4101,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4160,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4230,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4281,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4295,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4333,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4377,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4435,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4452,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4493,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4573,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4598,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4621,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4674,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4706,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4768,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4829,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4842,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4962,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +5000,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5057,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5099,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5123,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5166,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5186,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5220,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5243,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5288,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5320,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5363,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5386,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5409,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5445,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5512,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5568,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5588,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5626,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5651,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5667,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5694,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5777,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5315,17 +5798,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/cronjobspec.json b/v1.12.3-standalone-strict/cronjobspec.json index 8ae9138004..4e24cd528f 100644 --- a/v1.12.3-standalone-strict/cronjobspec.json +++ b/v1.12.3-standalone-strict/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -187,7 +202,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -273,7 +291,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -316,11 +337,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -372,26 +399,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -439,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -517,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -557,7 +611,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -620,7 +677,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +766,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +812,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -805,7 +874,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1083,7 +1155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1180,7 +1255,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1282,7 +1360,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1379,7 +1460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1419,7 +1503,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1501,7 +1588,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1548,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1578,7 +1671,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1613,7 +1709,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1637,7 +1736,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1739,7 +1841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1775,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1897,7 +2008,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2048,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1991,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2007,17 +2127,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2042,7 +2171,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2051,7 +2183,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2087,7 +2222,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2134,7 +2272,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2191,7 +2332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2351,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2395,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2251,7 +2407,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2262,7 +2421,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2272,14 +2434,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2289,7 +2457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2302,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2338,7 +2512,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2349,20 +2526,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2404,11 +2593,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2426,7 +2621,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2485,7 +2683,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2615,15 +2816,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2737,7 +2947,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2784,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2814,7 +3030,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2849,7 +3068,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2873,7 +3095,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2975,7 +3200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3239,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3097,7 +3328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3133,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3227,9 +3467,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3243,17 +3486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3278,7 +3530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3287,7 +3542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3323,7 +3581,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3370,7 +3631,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3427,7 +3691,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3443,17 +3710,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3478,7 +3754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3487,7 +3766,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3498,7 +3780,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3508,14 +3793,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3525,7 +3816,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3538,7 +3832,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3574,7 +3871,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3585,20 +3885,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3640,11 +3952,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3662,7 +3980,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3721,7 +4042,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3758,7 +4082,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3768,7 +4095,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3824,21 +4154,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3882,7 +4224,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3930,7 +4275,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3941,7 +4289,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3976,7 +4327,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4017,12 +4371,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4069,7 +4429,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4083,7 +4446,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4121,7 +4487,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4168,7 +4537,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4195,7 +4567,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4217,7 +4592,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4237,7 +4615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4247,7 +4628,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4284,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4313,7 +4700,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4350,7 +4740,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4369,12 +4762,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4424,7 +4823,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4434,7 +4836,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4487,7 +4892,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4496,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4545,7 +4956,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4580,11 +4994,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4631,7 +5051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4691,7 +5117,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4731,7 +5160,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4748,7 +5180,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4779,7 +5214,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4799,7 +5237,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4841,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5314,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4910,7 +5357,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4930,7 +5380,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4950,7 +5403,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4983,7 +5439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5047,7 +5506,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5100,7 +5562,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5582,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5152,7 +5620,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5174,7 +5645,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5187,7 +5661,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5211,7 +5688,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5291,7 +5771,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5309,17 +5792,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/csipersistentvolumesource-v1.json b/v1.12.3-standalone-strict/csipersistentvolumesource-v1.json index f80b7b316a..5cfa12be4b 100644 --- a/v1.12.3-standalone-strict/csipersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/csipersistentvolumesource-v1.json @@ -81,11 +81,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/csipersistentvolumesource.json b/v1.12.3-standalone-strict/csipersistentvolumesource.json index f80b7b316a..5cfa12be4b 100644 --- a/v1.12.3-standalone-strict/csipersistentvolumesource.json +++ b/v1.12.3-standalone-strict/csipersistentvolumesource.json @@ -81,11 +81,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.3-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json index 43f5bc138d..e54dcd511a 100644 --- a/v1.12.3-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.3-standalone-strict/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3-standalone-strict/customresourcecolumndefinition.json b/v1.12.3-standalone-strict/customresourcecolumndefinition.json index 43f5bc138d..e54dcd511a 100644 --- a/v1.12.3-standalone-strict/customresourcecolumndefinition.json +++ b/v1.12.3-standalone-strict/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.3-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json index 30c95cc025..72555394ab 100644 --- a/v1.12.3-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.3-standalone-strict/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/customresourcedefinitionversion.json b/v1.12.3-standalone-strict/customresourcedefinitionversion.json index 30c95cc025..72555394ab 100644 --- a/v1.12.3-standalone-strict/customresourcedefinitionversion.json +++ b/v1.12.3-standalone-strict/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json b/v1.12.3-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json index b56713afde..961b0f05c9 100644 --- a/v1.12.3-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json +++ b/v1.12.3-standalone-strict/customresourcesubresourcestatus-apiextensions-v1beta1.json @@ -1,5 +1,6 @@ { "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/customresourcesubresourcestatus.json b/v1.12.3-standalone-strict/customresourcesubresourcestatus.json index b56713afde..961b0f05c9 100644 --- a/v1.12.3-standalone-strict/customresourcesubresourcestatus.json +++ b/v1.12.3-standalone-strict/customresourcesubresourcestatus.json @@ -1,5 +1,6 @@ { "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/daemonendpoint-v1.json b/v1.12.3-standalone-strict/daemonendpoint-v1.json index 907b49d3ba..170585d700 100644 --- a/v1.12.3-standalone-strict/daemonendpoint-v1.json +++ b/v1.12.3-standalone-strict/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonendpoint.json b/v1.12.3-standalone-strict/daemonendpoint.json index 907b49d3ba..170585d700 100644 --- a/v1.12.3-standalone-strict/daemonendpoint.json +++ b/v1.12.3-standalone-strict/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonset-apps-v1.json b/v1.12.3-standalone-strict/daemonset-apps-v1.json index 72509aee5d..6899c4b678 100644 --- a/v1.12.3-standalone-strict/daemonset-apps-v1.json +++ b/v1.12.3-standalone-strict/daemonset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -449,7 +482,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +510,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -508,7 +547,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -551,7 +593,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -700,7 +748,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -743,11 +794,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -799,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1077,7 +1137,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1174,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1276,7 +1342,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1442,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1413,7 +1485,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1495,7 +1570,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1542,7 +1620,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1572,7 +1653,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1607,7 +1691,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1631,7 +1718,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1733,7 +1823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1769,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1855,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1891,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1928,7 +2030,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2090,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2001,17 +2109,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2036,7 +2153,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2045,7 +2165,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2081,7 +2204,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2128,7 +2254,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2185,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2201,17 +2333,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2236,7 +2377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2245,7 +2389,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2256,7 +2403,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2266,14 +2416,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2283,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2296,7 +2455,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2332,7 +2494,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2343,20 +2508,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2575,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2603,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2479,7 +2665,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2609,15 +2798,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2731,7 +2929,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2778,7 +2979,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2808,7 +3012,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2843,7 +3050,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2867,7 +3077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2969,7 +3182,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3005,7 +3221,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,7 +3349,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3389,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3221,7 +3449,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3237,17 +3468,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3272,7 +3512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3281,7 +3524,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3317,7 +3563,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3364,7 +3613,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3421,7 +3673,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3437,17 +3692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3472,7 +3736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3481,7 +3748,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3492,7 +3762,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3502,14 +3775,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3519,7 +3798,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3532,7 +3814,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3568,7 +3853,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3579,20 +3867,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3634,11 +3934,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3656,7 +3962,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3715,7 +4024,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3752,7 +4064,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3762,7 +4077,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3818,21 +4136,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3876,7 +4206,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3924,7 +4257,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3935,7 +4271,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3970,7 +4309,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4011,12 +4353,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4063,7 +4411,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4077,7 +4428,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4115,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4162,7 +4519,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4189,7 +4549,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4211,7 +4574,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4231,7 +4597,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4241,7 +4610,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4278,7 +4650,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4307,7 +4682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4344,7 +4722,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4363,12 +4744,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4418,7 +4805,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4428,7 +4818,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4481,7 +4874,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4490,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4539,7 +4938,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,11 +4976,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4625,7 +5033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4664,7 +5075,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4685,7 +5099,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4725,7 +5142,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4742,7 +5162,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4773,7 +5196,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5219,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4835,7 +5264,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4864,7 +5296,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4904,7 +5339,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4924,7 +5362,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4944,7 +5385,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4977,7 +5421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5041,7 +5488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5094,7 +5544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5564,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5168,7 +5627,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5181,7 +5643,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5205,7 +5670,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5298,7 +5766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5329,7 +5800,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5393,7 +5867,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5408,17 +5885,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonset-apps-v1beta2.json b/v1.12.3-standalone-strict/daemonset-apps-v1beta2.json index d52c456b8c..59f4681e14 100644 --- a/v1.12.3-standalone-strict/daemonset-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/daemonset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -449,7 +482,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +510,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -508,7 +547,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -551,7 +593,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -700,7 +748,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -743,11 +794,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -799,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1077,7 +1137,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1174,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1276,7 +1342,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1442,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1413,7 +1485,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1495,7 +1570,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1542,7 +1620,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1572,7 +1653,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1607,7 +1691,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1631,7 +1718,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1733,7 +1823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1769,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1855,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1891,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1928,7 +2030,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2090,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2001,17 +2109,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2036,7 +2153,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2045,7 +2165,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2081,7 +2204,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2128,7 +2254,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2185,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2201,17 +2333,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2236,7 +2377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2245,7 +2389,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2256,7 +2403,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2266,14 +2416,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2283,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2296,7 +2455,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2332,7 +2494,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2343,20 +2508,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2575,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2603,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2479,7 +2665,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2609,15 +2798,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2731,7 +2929,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2778,7 +2979,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2808,7 +3012,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2843,7 +3050,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2867,7 +3077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2969,7 +3182,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3005,7 +3221,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,7 +3349,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3389,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3221,7 +3449,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3237,17 +3468,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3272,7 +3512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3281,7 +3524,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3317,7 +3563,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3364,7 +3613,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3421,7 +3673,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3437,17 +3692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3472,7 +3736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3481,7 +3748,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3492,7 +3762,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3502,14 +3775,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3519,7 +3798,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3532,7 +3814,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3568,7 +3853,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3579,20 +3867,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3634,11 +3934,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3656,7 +3962,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3715,7 +4024,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3752,7 +4064,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3762,7 +4077,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3818,21 +4136,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3876,7 +4206,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3924,7 +4257,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3935,7 +4271,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3970,7 +4309,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4011,12 +4353,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4063,7 +4411,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4077,7 +4428,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4115,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4162,7 +4519,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4189,7 +4549,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4211,7 +4574,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4231,7 +4597,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4241,7 +4610,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4278,7 +4650,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4307,7 +4682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4344,7 +4722,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4363,12 +4744,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4418,7 +4805,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4428,7 +4818,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4481,7 +4874,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4490,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4539,7 +4938,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,11 +4976,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4625,7 +5033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4664,7 +5075,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4685,7 +5099,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4725,7 +5142,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4742,7 +5162,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4773,7 +5196,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5219,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4835,7 +5264,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4864,7 +5296,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4904,7 +5339,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4924,7 +5362,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4944,7 +5385,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4977,7 +5421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5041,7 +5488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5094,7 +5544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5564,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5146,7 +5602,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5168,7 +5627,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5181,7 +5643,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5205,7 +5670,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5298,7 +5766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5329,7 +5800,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5393,7 +5867,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5408,17 +5885,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonset-extensions-v1beta1.json b/v1.12.3-standalone-strict/daemonset-extensions-v1beta1.json index 6163c0fef1..c42b860b70 100644 --- a/v1.12.3-standalone-strict/daemonset-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/daemonset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -550,7 +592,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -699,7 +747,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,11 +793,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -798,7 +855,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1076,7 +1136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1341,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1484,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1494,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1541,7 +1619,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1571,7 +1652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1606,7 +1690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1717,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1732,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1768,7 +1861,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1854,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,7 +1989,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1927,7 +2029,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1984,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2044,7 +2164,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2080,7 +2203,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2127,7 +2253,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2184,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2200,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2235,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2255,7 +2402,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,14 +2415,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2282,7 +2438,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2295,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2493,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2507,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2397,11 +2574,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2419,7 +2602,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2664,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2608,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2730,7 +2928,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2777,7 +2978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3011,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2842,7 +3049,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3076,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2968,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3004,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,7 +3348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3163,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3220,7 +3448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3236,17 +3467,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3271,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3280,7 +3523,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3316,7 +3562,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3363,7 +3612,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3420,7 +3672,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3436,17 +3691,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3471,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3491,7 +3761,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3501,14 +3774,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3518,7 +3797,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3531,7 +3813,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3567,7 +3852,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3578,20 +3866,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3633,11 +3933,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3655,7 +3961,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3714,7 +4023,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3751,7 +4063,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3761,7 +4076,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3817,21 +4135,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,7 +4205,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3923,7 +4256,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3934,7 +4270,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3969,7 +4308,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4010,12 +4352,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4062,7 +4410,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4076,7 +4427,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4114,7 +4468,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4161,7 +4518,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4188,7 +4548,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4210,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4230,7 +4596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4240,7 +4609,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4277,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4306,7 +4681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4343,7 +4721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4362,12 +4743,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4417,7 +4804,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4427,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4480,7 +4873,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4489,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4538,7 +4937,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,11 +4975,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4624,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4663,7 +5074,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4684,7 +5098,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4724,7 +5141,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4741,7 +5161,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4772,7 +5195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4834,7 +5263,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4863,7 +5295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4903,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5361,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5384,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4976,7 +5420,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5040,7 +5487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5093,7 +5543,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5145,7 +5601,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5167,7 +5626,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5180,7 +5642,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5204,7 +5669,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5284,7 +5752,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5301,7 +5772,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5332,7 +5806,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5396,7 +5873,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5411,17 +5891,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonset.json b/v1.12.3-standalone-strict/daemonset.json index 565b135d2d..ea3411059f 100644 --- a/v1.12.3-standalone-strict/daemonset.json +++ b/v1.12.3-standalone-strict/daemonset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,12 +394,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +475,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +503,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -501,7 +540,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -541,7 +583,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -604,7 +649,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -690,7 +738,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -733,11 +784,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -789,7 +846,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1067,7 +1127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1164,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1266,7 +1332,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1363,7 +1432,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1403,7 +1475,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1485,7 +1560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1532,7 +1610,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1562,7 +1643,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1597,7 +1681,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1621,7 +1708,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1723,7 +1813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1759,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1845,7 +1941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1881,7 +1980,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1918,7 +2020,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1975,7 +2080,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2099,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2143,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2035,7 +2155,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2071,7 +2194,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2118,7 +2244,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2175,7 +2304,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2191,17 +2323,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2226,7 +2367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2235,7 +2379,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2246,7 +2393,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2256,14 +2406,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2273,7 +2429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2286,7 +2445,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2322,7 +2484,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2333,20 +2498,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2388,11 +2565,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2410,7 +2593,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2469,7 +2655,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2599,15 +2788,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2721,7 +2919,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2768,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2798,7 +3002,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2833,7 +3040,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2857,7 +3067,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2959,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2995,7 +3211,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3081,7 +3300,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3117,7 +3339,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3154,7 +3379,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3211,7 +3439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3227,17 +3458,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3262,7 +3502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3271,7 +3514,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3307,7 +3553,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3354,7 +3603,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3411,7 +3663,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3427,17 +3682,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3462,7 +3726,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3471,7 +3738,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3482,7 +3752,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3492,14 +3765,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3509,7 +3788,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3522,7 +3804,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3558,7 +3843,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3569,20 +3857,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3624,11 +3924,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3646,7 +3952,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3705,7 +4014,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3742,7 +4054,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3752,7 +4067,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3808,21 +4126,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3866,7 +4196,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3914,7 +4247,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3925,7 +4261,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3960,7 +4299,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4001,12 +4343,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4053,7 +4401,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4067,7 +4418,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4105,7 +4459,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4152,7 +4509,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4179,7 +4539,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4201,7 +4564,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4221,7 +4587,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4231,7 +4600,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4268,7 +4640,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4297,7 +4672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4334,7 +4712,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4353,12 +4734,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4408,7 +4795,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4418,7 +4808,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4471,7 +4864,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4480,7 +4876,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4529,7 +4928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4564,11 +4966,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4615,7 +5023,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4654,7 +5065,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4675,7 +5089,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4715,7 +5132,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4732,7 +5152,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4763,7 +5186,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5209,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4825,7 +5254,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4854,7 +5286,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4894,7 +5329,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4914,7 +5352,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4934,7 +5375,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4967,7 +5411,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5031,7 +5478,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5084,7 +5534,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5101,7 +5554,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5136,7 +5592,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5158,7 +5617,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5171,7 +5633,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5195,7 +5660,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5275,7 +5743,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5292,7 +5763,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5323,7 +5797,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5387,7 +5864,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5402,17 +5882,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetlist-apps-v1.json b/v1.12.3-standalone-strict/daemonsetlist-apps-v1.json index 2ea18f1627..0d01fb76a2 100644 --- a/v1.12.3-standalone-strict/daemonsetlist-apps-v1.json +++ b/v1.12.3-standalone-strict/daemonsetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,12 +423,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -452,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -496,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -530,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -636,7 +681,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -722,7 +770,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -765,11 +816,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -821,7 +878,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1099,7 +1159,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1196,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1298,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1395,7 +1464,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1507,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1564,7 +1642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1594,7 +1675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1629,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1653,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1755,7 +1845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1791,7 +1884,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1877,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1913,7 +2012,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1950,7 +2052,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2112,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2023,17 +2131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2058,7 +2175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2067,7 +2187,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2103,7 +2226,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2150,7 +2276,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2207,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2223,17 +2355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2258,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2267,7 +2411,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2278,7 +2425,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2288,14 +2438,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2305,7 +2461,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2318,7 +2477,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2354,7 +2516,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2365,20 +2530,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2420,11 +2597,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2442,7 +2625,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2501,7 +2687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2631,15 +2820,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2753,7 +2951,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2800,7 +3001,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2830,7 +3034,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2865,7 +3072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2889,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2991,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,7 +3243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3113,7 +3332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,7 +3371,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3186,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3243,7 +3471,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3259,17 +3490,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3294,7 +3534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3303,7 +3546,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3339,7 +3585,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3386,7 +3635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3443,7 +3695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3459,17 +3714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3494,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3503,7 +3770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3514,7 +3784,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3524,14 +3797,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3541,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3554,7 +3836,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3590,7 +3875,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3601,20 +3889,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3656,11 +3956,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3678,7 +3984,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3737,7 +4046,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3774,7 +4086,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3784,7 +4099,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3840,21 +4158,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3898,7 +4228,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3946,7 +4279,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3957,7 +4293,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3992,7 +4331,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4033,12 +4375,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4085,7 +4433,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4099,7 +4450,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4137,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4184,7 +4541,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4211,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4233,7 +4596,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4253,7 +4619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,7 +4632,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4300,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4329,7 +4704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4366,7 +4744,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4385,12 +4766,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4440,7 +4827,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4450,7 +4840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4503,7 +4896,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4512,7 +4908,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4596,11 +4998,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4647,7 +5055,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4686,7 +5097,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4707,7 +5121,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4747,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4764,7 +5184,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4795,7 +5218,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4815,7 +5241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4857,7 +5286,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4886,7 +5318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4926,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4946,7 +5384,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4966,7 +5407,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4999,7 +5443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5063,7 +5510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5566,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5586,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5168,7 +5624,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5190,7 +5649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5203,7 +5665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5227,7 +5692,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5351,7 +5822,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5415,7 +5889,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5430,17 +5907,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetlist-apps-v1beta2.json b/v1.12.3-standalone-strict/daemonsetlist-apps-v1beta2.json index b5de0d6e21..8c456872e8 100644 --- a/v1.12.3-standalone-strict/daemonsetlist-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/daemonsetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,12 +423,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -452,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -496,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -530,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -636,7 +681,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -722,7 +770,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -765,11 +816,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -821,7 +878,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1099,7 +1159,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1196,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1298,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1395,7 +1464,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1507,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1564,7 +1642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1594,7 +1675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1629,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1653,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1755,7 +1845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1791,7 +1884,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1877,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1913,7 +2012,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1950,7 +2052,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2112,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2023,17 +2131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2058,7 +2175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2067,7 +2187,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2103,7 +2226,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2150,7 +2276,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2207,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2223,17 +2355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2258,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2267,7 +2411,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2278,7 +2425,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2288,14 +2438,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2305,7 +2461,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2318,7 +2477,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2354,7 +2516,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2365,20 +2530,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2420,11 +2597,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2442,7 +2625,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2501,7 +2687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2631,15 +2820,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2753,7 +2951,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2800,7 +3001,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2830,7 +3034,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2865,7 +3072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2889,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2991,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,7 +3243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3113,7 +3332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,7 +3371,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3186,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3243,7 +3471,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3259,17 +3490,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3294,7 +3534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3303,7 +3546,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3339,7 +3585,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3386,7 +3635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3443,7 +3695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3459,17 +3714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3494,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3503,7 +3770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3514,7 +3784,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3524,14 +3797,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3541,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3554,7 +3836,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3590,7 +3875,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3601,20 +3889,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3656,11 +3956,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3678,7 +3984,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3737,7 +4046,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3774,7 +4086,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3784,7 +4099,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3840,21 +4158,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3898,7 +4228,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3946,7 +4279,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3957,7 +4293,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3992,7 +4331,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4033,12 +4375,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4085,7 +4433,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4099,7 +4450,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4137,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4184,7 +4541,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4211,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4233,7 +4596,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4253,7 +4619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,7 +4632,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4300,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4329,7 +4704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4366,7 +4744,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4385,12 +4766,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4440,7 +4827,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4450,7 +4840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4503,7 +4896,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4512,7 +4908,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4596,11 +4998,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4647,7 +5055,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4686,7 +5097,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4707,7 +5121,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4747,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4764,7 +5184,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4795,7 +5218,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4815,7 +5241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4857,7 +5286,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4886,7 +5318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4926,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4946,7 +5384,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4966,7 +5407,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4999,7 +5443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5063,7 +5510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5566,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5586,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5168,7 +5624,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5190,7 +5649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5203,7 +5665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5227,7 +5692,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5351,7 +5822,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5415,7 +5889,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5430,17 +5907,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetlist-extensions-v1beta1.json b/v1.12.3-standalone-strict/daemonsetlist-extensions-v1beta1.json index 02a4780bc4..1a668c529b 100644 --- a/v1.12.3-standalone-strict/daemonsetlist-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/daemonsetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -451,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -495,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -529,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5306,7 +5774,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5323,7 +5794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5354,7 +5828,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5418,7 +5895,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5433,17 +5913,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetlist.json b/v1.12.3-standalone-strict/daemonsetlist.json index 8fa138a9fb..80c6cf985e 100644 --- a/v1.12.3-standalone-strict/daemonsetlist.json +++ b/v1.12.3-standalone-strict/daemonsetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,12 +413,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -560,7 +602,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -709,7 +757,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -752,11 +803,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -808,7 +865,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1086,7 +1146,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1183,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1285,7 +1351,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1382,7 +1451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1422,7 +1494,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1504,7 +1579,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1551,7 +1629,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1581,7 +1662,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1616,7 +1700,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1727,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1742,7 +1832,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1864,7 +1960,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1900,7 +1999,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1937,7 +2039,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1994,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2010,17 +2118,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2045,7 +2162,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2054,7 +2174,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2090,7 +2213,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2137,7 +2263,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2194,7 +2323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2210,17 +2342,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2245,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2254,7 +2398,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2265,7 +2412,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2275,14 +2425,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2292,7 +2448,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2305,7 +2464,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2341,7 +2503,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2352,20 +2517,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2407,11 +2584,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2429,7 +2612,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2488,7 +2674,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2618,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2740,7 +2938,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2787,7 +2988,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2817,7 +3021,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2852,7 +3059,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2876,7 +3086,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2978,7 +3191,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3100,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3136,7 +3358,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3173,7 +3398,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3230,7 +3458,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3246,17 +3477,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3281,7 +3521,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3290,7 +3533,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3326,7 +3572,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3373,7 +3622,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3430,7 +3682,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3446,17 +3701,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3481,7 +3745,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3490,7 +3757,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3501,7 +3771,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3511,14 +3784,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3528,7 +3807,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3541,7 +3823,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3577,7 +3862,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3588,20 +3876,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3643,11 +3943,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3665,7 +3971,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3724,7 +4033,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3761,7 +4073,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3771,7 +4086,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3827,21 +4145,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3885,7 +4215,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3933,7 +4266,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3944,7 +4280,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3979,7 +4318,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4020,12 +4362,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4072,7 +4420,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4086,7 +4437,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4124,7 +4478,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4171,7 +4528,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4198,7 +4558,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4220,7 +4583,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4240,7 +4606,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4250,7 +4619,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4287,7 +4659,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4316,7 +4691,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4353,7 +4731,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4372,12 +4753,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4427,7 +4814,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4437,7 +4827,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4490,7 +4883,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4499,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4548,7 +4947,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4583,11 +4985,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4634,7 +5042,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4673,7 +5084,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4694,7 +5108,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4734,7 +5151,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4751,7 +5171,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4782,7 +5205,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4802,7 +5228,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4844,7 +5273,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4873,7 +5305,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4913,7 +5348,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4933,7 +5371,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4953,7 +5394,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4986,7 +5430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5050,7 +5497,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5103,7 +5553,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5120,7 +5573,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5155,7 +5611,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5177,7 +5636,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5190,7 +5652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5214,7 +5679,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5294,7 +5762,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5311,7 +5782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5342,7 +5816,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5406,7 +5883,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5421,17 +5901,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetspec-apps-v1.json b/v1.12.3-standalone-strict/daemonsetspec-apps-v1.json index c8568751ad..da81b96ac6 100644 --- a/v1.12.3-standalone-strict/daemonsetspec-apps-v1.json +++ b/v1.12.3-standalone-strict/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -60,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -138,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -181,7 +199,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -244,7 +265,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -330,7 +354,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -373,11 +400,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +462,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -707,7 +743,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +843,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -906,7 +948,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1048,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1043,7 +1091,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1125,7 +1176,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1172,7 +1226,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1202,7 +1259,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1237,7 +1297,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1261,7 +1324,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1363,7 +1429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1399,7 +1468,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1485,7 +1557,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1636,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1615,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1631,17 +1715,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1666,7 +1759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1675,7 +1771,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1711,7 +1810,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1758,7 +1860,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1815,7 +1920,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1831,17 +1939,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1866,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1995,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1886,7 +2009,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1896,14 +2022,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1913,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1926,7 +2061,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1962,7 +2100,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1973,20 +2114,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2028,11 +2181,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2050,7 +2209,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2109,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2239,15 +2404,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2361,7 +2535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2408,7 +2585,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2438,7 +2618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2473,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2497,7 +2683,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2599,7 +2788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2635,7 +2827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2721,7 +2916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2757,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2794,7 +2995,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2851,7 +3055,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2867,17 +3074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2902,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2911,7 +3130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2947,7 +3169,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2994,7 +3219,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3051,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3067,17 +3298,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3102,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3111,7 +3354,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3122,7 +3368,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3132,14 +3381,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3149,7 +3404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3162,7 +3420,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3198,7 +3459,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3209,20 +3473,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3264,11 +3540,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3286,7 +3568,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3345,7 +3630,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3382,7 +3670,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3392,7 +3683,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3448,21 +3742,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,7 +3812,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3554,7 +3863,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3565,7 +3877,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3600,7 +3915,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3641,12 +3959,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3693,7 +4017,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3707,7 +4034,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3745,7 +4075,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3792,7 +4125,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3819,7 +4155,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3841,7 +4180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3861,7 +4203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3871,7 +4216,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3908,7 +4256,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3937,7 +4288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3974,7 +4328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3993,12 +4350,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4048,7 +4411,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4058,7 +4424,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4111,7 +4480,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4120,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4169,7 +4544,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4204,11 +4582,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4255,7 +4639,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4294,7 +4681,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4315,7 +4705,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4355,7 +4748,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4372,7 +4768,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4403,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4423,7 +4825,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4465,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4494,7 +4902,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4534,7 +4945,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4554,7 +4968,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,7 +4991,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4607,7 +5027,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4671,7 +5094,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4724,7 +5150,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4741,7 +5170,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4776,7 +5208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4798,7 +5233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4811,7 +5249,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4835,7 +5276,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4928,7 +5372,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetspec-apps-v1beta2.json b/v1.12.3-standalone-strict/daemonsetspec-apps-v1beta2.json index c8568751ad..da81b96ac6 100644 --- a/v1.12.3-standalone-strict/daemonsetspec-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -60,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -138,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -181,7 +199,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -244,7 +265,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -330,7 +354,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -373,11 +400,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +462,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -707,7 +743,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +843,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -906,7 +948,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1048,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1043,7 +1091,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1125,7 +1176,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1172,7 +1226,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1202,7 +1259,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1237,7 +1297,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1261,7 +1324,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1363,7 +1429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1399,7 +1468,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1485,7 +1557,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1636,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1615,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1631,17 +1715,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1666,7 +1759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1675,7 +1771,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1711,7 +1810,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1758,7 +1860,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1815,7 +1920,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1831,17 +1939,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1866,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1995,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1886,7 +2009,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1896,14 +2022,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1913,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1926,7 +2061,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1962,7 +2100,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1973,20 +2114,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2028,11 +2181,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2050,7 +2209,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2109,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2239,15 +2404,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2361,7 +2535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2408,7 +2585,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2438,7 +2618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2473,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2497,7 +2683,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2599,7 +2788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2635,7 +2827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2721,7 +2916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2757,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2794,7 +2995,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2851,7 +3055,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2867,17 +3074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2902,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2911,7 +3130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2947,7 +3169,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2994,7 +3219,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3051,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3067,17 +3298,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3102,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3111,7 +3354,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3122,7 +3368,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3132,14 +3381,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3149,7 +3404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3162,7 +3420,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3198,7 +3459,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3209,20 +3473,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3264,11 +3540,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3286,7 +3568,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3345,7 +3630,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3382,7 +3670,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3392,7 +3683,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3448,21 +3742,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,7 +3812,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3554,7 +3863,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3565,7 +3877,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3600,7 +3915,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3641,12 +3959,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3693,7 +4017,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3707,7 +4034,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3745,7 +4075,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3792,7 +4125,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3819,7 +4155,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3841,7 +4180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3861,7 +4203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3871,7 +4216,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3908,7 +4256,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3937,7 +4288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3974,7 +4328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3993,12 +4350,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4048,7 +4411,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4058,7 +4424,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4111,7 +4480,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4120,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4169,7 +4544,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4204,11 +4582,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4255,7 +4639,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4294,7 +4681,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4315,7 +4705,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4355,7 +4748,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4372,7 +4768,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4403,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4423,7 +4825,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4465,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4494,7 +4902,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4534,7 +4945,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4554,7 +4968,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,7 +4991,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4607,7 +5027,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4671,7 +5094,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4724,7 +5150,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4741,7 +5170,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4776,7 +5208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4798,7 +5233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4811,7 +5249,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4835,7 +5276,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4928,7 +5372,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetspec-extensions-v1beta1.json b/v1.12.3-standalone-strict/daemonsetspec-extensions-v1beta1.json index 57b65d3529..28f6948774 100644 --- a/v1.12.3-standalone-strict/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -243,7 +264,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +353,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +399,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +461,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -706,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,7 +842,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -905,7 +947,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1002,7 +1047,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1042,7 +1090,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1171,7 +1225,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1201,7 +1258,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1236,7 +1296,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1260,7 +1323,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1362,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1398,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1484,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1520,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1557,7 +1635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1630,17 +1714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1674,7 +1770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1710,7 +1809,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1757,7 +1859,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,17 +1938,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1865,7 +1982,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1994,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1885,7 +2008,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2021,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2044,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1925,7 +2060,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1961,7 +2099,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1972,20 +2113,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2027,11 +2180,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2049,7 +2208,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2108,7 +2270,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2238,15 +2403,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2407,7 +2584,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2437,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2472,7 +2655,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2496,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2598,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2634,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2720,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2756,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2793,7 +2994,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2850,7 +3054,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2866,17 +3073,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2901,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2910,7 +3129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2946,7 +3168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2993,7 +3218,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3066,17 +3297,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3101,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3353,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3121,7 +3367,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3131,14 +3380,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3148,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3161,7 +3419,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3197,7 +3458,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3208,20 +3472,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3263,11 +3539,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3285,7 +3567,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3344,7 +3629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3381,7 +3669,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3391,7 +3682,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3447,21 +3741,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3505,7 +3811,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3553,7 +3862,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3564,7 +3876,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3599,7 +3914,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3640,12 +3958,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3692,7 +4016,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3706,7 +4033,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3744,7 +4074,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3791,7 +4124,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3860,7 +4202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3870,7 +4215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3936,7 +4287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3973,7 +4327,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3992,12 +4349,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4047,7 +4410,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4057,7 +4423,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4479,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4119,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4543,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4203,11 +4581,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4254,7 +4638,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4293,7 +4680,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4314,7 +4704,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4354,7 +4747,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4371,7 +4767,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4402,7 +4801,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4422,7 +4824,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4464,7 +4869,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4493,7 +4901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4533,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4967,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,7 +4990,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4606,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4740,7 +5169,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4775,7 +5207,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4797,7 +5232,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4810,7 +5248,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4834,7 +5275,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4914,7 +5358,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4931,7 +5378,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetspec.json b/v1.12.3-standalone-strict/daemonsetspec.json index 9d909f93af..94de603418 100644 --- a/v1.12.3-standalone-strict/daemonsetspec.json +++ b/v1.12.3-standalone-strict/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -326,7 +350,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -369,11 +396,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +458,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -703,7 +739,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -800,7 +839,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -902,7 +944,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -999,7 +1044,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1039,7 +1087,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1121,7 +1172,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1168,7 +1222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1198,7 +1255,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1233,7 +1293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1257,7 +1320,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1359,7 +1425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1395,7 +1464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1481,7 +1553,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1517,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1632,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1611,7 +1692,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1627,17 +1711,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1662,7 +1755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1671,7 +1767,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1707,7 +1806,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1754,7 +1856,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1811,7 +1916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1827,17 +1935,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1862,7 +1979,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1871,7 +1991,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1882,7 +2005,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1892,14 +2018,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,7 +2041,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1922,7 +2057,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1958,7 +2096,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1969,20 +2110,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2024,11 +2177,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2046,7 +2205,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2105,7 +2267,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2235,15 +2400,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2357,7 +2531,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2404,7 +2581,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2434,7 +2614,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2469,7 +2652,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2493,7 +2679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2595,7 +2784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2631,7 +2823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2717,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2753,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +2991,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2847,7 +3051,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2863,17 +3070,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2898,7 +3114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2907,7 +3126,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2943,7 +3165,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2990,7 +3215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3047,7 +3275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3063,17 +3294,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3098,7 +3338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3107,7 +3350,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3118,7 +3364,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3128,14 +3377,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3145,7 +3400,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3158,7 +3416,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3194,7 +3455,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3205,20 +3469,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3260,11 +3536,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3282,7 +3564,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3341,7 +3626,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3378,7 +3666,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3388,7 +3679,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3444,21 +3738,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3502,7 +3808,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3550,7 +3859,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3561,7 +3873,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3596,7 +3911,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3637,12 +3955,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3689,7 +4013,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3703,7 +4030,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3741,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3788,7 +4121,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3815,7 +4151,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3837,7 +4176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3857,7 +4199,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3867,7 +4212,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3904,7 +4252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3933,7 +4284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3970,7 +4324,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3989,12 +4346,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4044,7 +4407,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4054,7 +4420,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4107,7 +4476,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4116,7 +4488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4165,7 +4540,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4200,11 +4578,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4251,7 +4635,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4290,7 +4677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4311,7 +4701,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4351,7 +4744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4368,7 +4764,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4399,7 +4798,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4419,7 +4821,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4461,7 +4866,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4898,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4530,7 +4941,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4550,7 +4964,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4570,7 +4987,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4603,7 +5023,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4667,7 +5090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4720,7 +5146,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4737,7 +5166,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4772,7 +5204,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4794,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4807,7 +5245,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4831,7 +5272,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4911,7 +5355,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4928,7 +5375,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetstatus-apps-v1.json b/v1.12.3-standalone-strict/daemonsetstatus-apps-v1.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.3-standalone-strict/daemonsetstatus-apps-v1.json +++ b/v1.12.3-standalone-strict/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetstatus-apps-v1beta2.json b/v1.12.3-standalone-strict/daemonsetstatus-apps-v1beta2.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.3-standalone-strict/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetstatus-extensions-v1beta1.json b/v1.12.3-standalone-strict/daemonsetstatus-extensions-v1beta1.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.3-standalone-strict/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetstatus.json b/v1.12.3-standalone-strict/daemonsetstatus.json index ddb1bd53fe..037f391766 100644 --- a/v1.12.3-standalone-strict/daemonsetstatus.json +++ b/v1.12.3-standalone-strict/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -63,42 +66,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1.json b/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1.json index e0d6276b6f..89f7635279 100644 --- a/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1.json +++ b/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json b/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json index e0d6276b6f..89f7635279 100644 --- a/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/daemonsetupdatestrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json b/v1.12.3-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json index 20efe08ee7..9bce2081af 100644 --- a/v1.12.3-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/daemonsetupdatestrategy-extensions-v1beta1.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/daemonsetupdatestrategy.json b/v1.12.3-standalone-strict/daemonsetupdatestrategy.json index 20efe08ee7..9bce2081af 100644 --- a/v1.12.3-standalone-strict/daemonsetupdatestrategy.json +++ b/v1.12.3-standalone-strict/daemonsetupdatestrategy.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/deleteoptions-meta-v1.json b/v1.12.3-standalone-strict/deleteoptions-meta-v1.json index 974e638e41..8769382966 100644 --- a/v1.12.3-standalone-strict/deleteoptions-meta-v1.json +++ b/v1.12.3-standalone-strict/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.3-standalone-strict/deleteoptions.json b/v1.12.3-standalone-strict/deleteoptions.json index 963800607c..a72eef2ace 100644 --- a/v1.12.3-standalone-strict/deleteoptions.json +++ b/v1.12.3-standalone-strict/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.3-standalone-strict/deployment-apps-v1.json b/v1.12.3-standalone-strict/deployment-apps-v1.json index 19138c3411..644898cbd0 100644 --- a/v1.12.3-standalone-strict/deployment-apps-v1.json +++ b/v1.12.3-standalone-strict/deployment-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,26 +401,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -444,7 +483,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -483,7 +528,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -533,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -567,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -610,7 +667,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -673,7 +733,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -759,7 +822,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -802,11 +868,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -858,7 +930,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1136,7 +1211,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1335,7 +1416,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1432,7 +1516,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1472,7 +1559,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1554,7 +1644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1601,7 +1694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1631,7 +1727,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1666,7 +1765,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1690,7 +1792,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1792,7 +1897,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1828,7 +1936,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1914,7 +2025,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1950,7 +2064,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1987,7 +2104,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2044,7 +2164,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2060,17 +2183,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2095,7 +2227,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2104,7 +2239,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2140,7 +2278,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2187,7 +2328,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2244,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2260,17 +2407,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2304,7 +2463,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2315,7 +2477,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2325,14 +2490,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2342,7 +2513,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2355,7 +2529,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2391,7 +2568,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2402,20 +2582,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2457,11 +2649,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2479,7 +2677,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2538,7 +2739,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2668,15 +2872,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2790,7 +3003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2837,7 +3053,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2867,7 +3086,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2902,7 +3124,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2926,7 +3151,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3028,7 +3256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3064,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3150,7 +3384,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3186,7 +3423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3223,8 +3463,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3280,7 +3523,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3296,17 +3542,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3331,7 +3586,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3340,7 +3598,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3376,7 +3637,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3423,7 +3687,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3480,7 +3747,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3496,17 +3766,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3540,7 +3822,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3551,7 +3836,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3561,14 +3849,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3578,7 +3872,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3591,7 +3888,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3627,7 +3927,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3638,20 +3941,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3693,11 +4008,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3715,7 +4036,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3774,7 +4098,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3811,7 +4138,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3821,7 +4151,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3877,21 +4210,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3935,7 +4280,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3983,7 +4331,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3994,7 +4345,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4029,7 +4383,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4070,12 +4427,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4122,7 +4485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4136,7 +4502,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4221,7 +4593,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4248,7 +4623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4270,7 +4648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4290,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4300,7 +4684,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4337,7 +4724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4366,7 +4756,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4403,7 +4796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4422,12 +4818,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4477,7 +4879,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4487,7 +4892,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4540,7 +4948,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4549,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4598,7 +5012,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,11 +5050,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4684,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4744,7 +5173,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4784,7 +5216,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4801,7 +5236,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4832,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4852,7 +5293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4894,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5370,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4963,7 +5413,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4983,7 +5436,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5003,7 +5459,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5036,7 +5495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5100,7 +5562,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5153,7 +5618,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5170,7 +5638,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5205,7 +5676,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5227,7 +5701,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5240,7 +5717,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5264,7 +5744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5350,12 +5833,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5417,27 +5906,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deployment-apps-v1beta1.json b/v1.12.3-standalone-strict/deployment-apps-v1beta1.json index 73b39bae34..2f636430da 100644 --- a/v1.12.3-standalone-strict/deployment-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/deployment-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,26 +400,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -403,7 +442,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -454,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -480,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -493,7 +541,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +569,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +597,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +634,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -620,7 +680,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -683,7 +746,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -769,7 +835,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -812,11 +881,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -868,7 +943,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1146,7 +1224,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1243,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1429,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1442,7 +1529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1482,7 +1572,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1564,7 +1657,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1611,7 +1707,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1641,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1676,7 +1778,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1700,7 +1805,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1802,7 +1910,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1838,7 +1949,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1960,7 +2077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1997,7 +2117,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2054,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2070,17 +2196,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2105,7 +2240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2114,7 +2252,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2150,7 +2291,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2197,7 +2341,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2254,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2270,17 +2420,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2305,7 +2464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2314,7 +2476,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2325,7 +2490,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2335,14 +2503,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2352,7 +2526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2365,7 +2542,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2401,7 +2581,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2412,20 +2595,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2467,11 +2662,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2489,7 +2690,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2548,7 +2752,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2678,15 +2885,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2800,7 +3016,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2847,7 +3066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2877,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2912,7 +3137,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2936,7 +3164,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3038,7 +3269,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3074,7 +3308,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3196,9 +3436,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3233,7 +3476,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3290,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3306,17 +3555,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3341,7 +3599,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3350,7 +3611,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3386,7 +3650,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3433,7 +3700,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3490,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3506,17 +3779,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3541,7 +3823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3550,7 +3835,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3561,7 +3849,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3571,14 +3862,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3588,7 +3885,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3601,7 +3901,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3637,7 +3940,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3648,20 +3954,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3703,11 +4021,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3725,7 +4049,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3784,7 +4111,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3821,7 +4151,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3831,7 +4164,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3887,21 +4223,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3945,7 +4293,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3993,7 +4344,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4004,7 +4358,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4039,7 +4396,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4080,12 +4440,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4132,7 +4498,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4146,7 +4515,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4184,7 +4556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4231,7 +4606,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4258,7 +4636,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4280,7 +4661,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4310,7 +4697,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4347,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4376,7 +4769,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4413,7 +4809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4432,12 +4831,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4487,7 +4892,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4497,7 +4905,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4550,7 +4961,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4559,7 +4973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4608,7 +5025,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,11 +5063,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4694,7 +5120,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4733,7 +5162,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4754,7 +5186,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4794,7 +5229,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4811,7 +5249,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4842,7 +5283,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4862,7 +5306,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4904,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4933,7 +5383,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4973,7 +5426,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4993,7 +5449,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5013,7 +5472,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5046,7 +5508,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5110,7 +5575,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5163,7 +5631,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5180,7 +5651,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5215,7 +5689,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5237,7 +5714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5250,7 +5730,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5274,7 +5757,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5360,12 +5846,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5427,27 +5919,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deployment-apps-v1beta2.json b/v1.12.3-standalone-strict/deployment-apps-v1beta2.json index a5e60d0deb..023adfdc84 100644 --- a/v1.12.3-standalone-strict/deployment-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/deployment-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,26 +401,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -444,7 +483,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -483,7 +528,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -508,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -533,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -567,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -610,7 +667,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -673,7 +733,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -759,7 +822,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -802,11 +868,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -858,7 +930,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1136,7 +1211,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1335,7 +1416,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1432,7 +1516,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1472,7 +1559,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1554,7 +1644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1601,7 +1694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1631,7 +1727,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1666,7 +1765,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1690,7 +1792,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1792,7 +1897,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1828,7 +1936,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1914,7 +2025,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1950,7 +2064,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1987,7 +2104,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2044,7 +2164,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2060,17 +2183,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2095,7 +2227,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2104,7 +2239,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2140,7 +2278,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2187,7 +2328,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2244,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2260,17 +2407,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2304,7 +2463,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2315,7 +2477,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2325,14 +2490,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2342,7 +2513,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2355,7 +2529,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2391,7 +2568,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2402,20 +2582,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2457,11 +2649,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2479,7 +2677,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2538,7 +2739,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2668,15 +2872,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2790,7 +3003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2837,7 +3053,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2867,7 +3086,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2902,7 +3124,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2926,7 +3151,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3028,7 +3256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3064,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3150,7 +3384,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3186,7 +3423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3223,8 +3463,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3280,7 +3523,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3296,17 +3542,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3331,7 +3586,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3340,7 +3598,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3376,7 +3637,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3423,7 +3687,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3480,7 +3747,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3496,17 +3766,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3540,7 +3822,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3551,7 +3836,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3561,14 +3849,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3578,7 +3872,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3591,7 +3888,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3627,7 +3927,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3638,20 +3941,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3693,11 +4008,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3715,7 +4036,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3774,7 +4098,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3811,7 +4138,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3821,7 +4151,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3877,21 +4210,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3935,7 +4280,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3983,7 +4331,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3994,7 +4345,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4029,7 +4383,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4070,12 +4427,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4122,7 +4485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4136,7 +4502,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4174,7 +4543,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4221,7 +4593,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4248,7 +4623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4270,7 +4648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4290,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4300,7 +4684,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4337,7 +4724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4366,7 +4756,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4403,7 +4796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4422,12 +4818,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4477,7 +4879,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4487,7 +4892,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4540,7 +4948,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4549,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4598,7 +5012,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,11 +5050,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4684,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4744,7 +5173,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4784,7 +5216,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4801,7 +5236,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4832,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4852,7 +5293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4894,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5370,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4963,7 +5413,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4983,7 +5436,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5003,7 +5459,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5036,7 +5495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5100,7 +5562,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5153,7 +5618,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5170,7 +5638,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5205,7 +5676,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5227,7 +5701,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5240,7 +5717,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5264,7 +5744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5350,12 +5833,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5417,27 +5906,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deployment-extensions-v1beta1.json b/v1.12.3-standalone-strict/deployment-extensions-v1beta1.json index ee59455af8..38de3b8756 100644 --- a/v1.12.3-standalone-strict/deployment-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/deployment-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,26 +400,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -403,7 +442,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -454,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -480,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -493,7 +541,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +569,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +597,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +634,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -620,7 +680,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -683,7 +746,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -769,7 +835,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -812,11 +881,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -868,7 +943,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1146,7 +1224,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1243,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1429,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1442,7 +1529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1482,7 +1572,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1564,7 +1657,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1611,7 +1707,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1641,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1676,7 +1778,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1700,7 +1805,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1802,7 +1910,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1838,7 +1949,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1924,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1960,7 +2077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1997,7 +2117,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2054,7 +2177,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2070,17 +2196,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2105,7 +2240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2114,7 +2252,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2150,7 +2291,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2197,7 +2341,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2254,7 +2401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2270,17 +2420,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2305,7 +2464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2314,7 +2476,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2325,7 +2490,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2335,14 +2503,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2352,7 +2526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2365,7 +2542,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2401,7 +2581,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2412,20 +2595,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2467,11 +2662,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2489,7 +2690,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2548,7 +2752,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2678,15 +2885,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2800,7 +3016,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2847,7 +3066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2877,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2912,7 +3137,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2936,7 +3164,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3038,7 +3269,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3074,7 +3308,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3160,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3196,9 +3436,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3233,7 +3476,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3290,7 +3536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3306,17 +3555,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3341,7 +3599,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3350,7 +3611,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3386,7 +3650,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3433,7 +3700,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3490,7 +3760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3506,17 +3779,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3541,7 +3823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3550,7 +3835,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3561,7 +3849,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3571,14 +3862,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3588,7 +3885,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3601,7 +3901,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3637,7 +3940,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3648,20 +3954,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3703,11 +4021,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3725,7 +4049,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3784,7 +4111,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3821,7 +4151,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3831,7 +4164,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3887,21 +4223,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3945,7 +4293,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3993,7 +4344,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4004,7 +4358,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4039,7 +4396,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4080,12 +4440,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4132,7 +4498,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4146,7 +4515,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4184,7 +4556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4231,7 +4606,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4258,7 +4636,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4280,7 +4661,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4310,7 +4697,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4347,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4376,7 +4769,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4413,7 +4809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4432,12 +4831,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4487,7 +4892,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4497,7 +4905,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4550,7 +4961,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4559,7 +4973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4608,7 +5025,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,11 +5063,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4694,7 +5120,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4733,7 +5162,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4754,7 +5186,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4794,7 +5229,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4811,7 +5249,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4842,7 +5283,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4862,7 +5306,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4904,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4933,7 +5383,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4973,7 +5426,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4993,7 +5449,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5013,7 +5472,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5046,7 +5508,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5110,7 +5575,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5163,7 +5631,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5180,7 +5651,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5215,7 +5689,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5237,7 +5714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5250,7 +5730,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5274,7 +5757,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5360,12 +5846,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5427,27 +5919,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deployment.json b/v1.12.3-standalone-strict/deployment.json index 0cc2b6a20f..8f12c2b5e6 100644 --- a/v1.12.3-standalone-strict/deployment.json +++ b/v1.12.3-standalone-strict/deployment.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,26 +394,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -397,7 +436,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -448,7 +490,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -487,7 +535,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -512,7 +563,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -537,7 +591,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -571,7 +628,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -611,7 +671,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -674,7 +737,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -760,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -859,7 +934,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1234,7 +1315,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1336,7 +1420,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1433,7 +1520,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1473,7 +1563,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1555,7 +1648,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1602,7 +1698,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1632,7 +1731,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1667,7 +1769,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1691,7 +1796,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1793,7 +1901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1915,7 +2029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1951,7 +2068,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1988,7 +2108,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2045,7 +2168,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2061,17 +2187,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2096,7 +2231,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2105,7 +2243,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2141,7 +2282,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2188,7 +2332,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2245,7 +2392,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2261,17 +2411,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2296,7 +2455,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2305,7 +2467,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2316,7 +2481,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2326,14 +2494,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2343,7 +2517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2356,7 +2533,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2392,7 +2572,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2403,20 +2586,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2458,11 +2653,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2480,7 +2681,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2539,7 +2743,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2669,15 +2876,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2791,7 +3007,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2838,7 +3057,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2868,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2903,7 +3128,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2927,7 +3155,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3029,7 +3260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3065,7 +3299,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3151,7 +3388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3187,9 +3427,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3224,7 +3467,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3281,7 +3527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3297,17 +3546,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3332,7 +3590,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3341,7 +3602,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3377,7 +3641,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3424,7 +3691,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3481,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3497,17 +3770,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3532,7 +3814,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3541,7 +3826,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3552,7 +3840,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3562,14 +3853,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3579,7 +3876,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3592,7 +3892,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3628,7 +3931,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3639,20 +3945,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3694,11 +4012,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3716,7 +4040,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3775,7 +4102,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3812,7 +4142,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3822,7 +4155,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3878,21 +4214,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3936,7 +4284,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3984,7 +4335,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3995,7 +4349,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4030,7 +4387,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4071,12 +4431,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4123,7 +4489,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4137,7 +4506,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4175,7 +4547,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4222,7 +4597,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4249,7 +4627,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4271,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4291,7 +4675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4301,7 +4688,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4338,7 +4728,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4367,7 +4760,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4404,7 +4800,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4423,12 +4822,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4478,7 +4883,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4488,7 +4896,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4541,7 +4952,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4550,7 +4964,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4599,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4634,11 +5054,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4685,7 +5111,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4724,7 +5153,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4745,7 +5177,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4785,7 +5220,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4802,7 +5240,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4833,7 +5274,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4853,7 +5297,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4895,7 +5342,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4924,7 +5374,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4964,7 +5417,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4984,7 +5440,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5004,7 +5463,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5037,7 +5499,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5101,7 +5566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5154,7 +5622,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5171,7 +5642,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5206,7 +5680,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5228,7 +5705,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5241,7 +5721,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5265,7 +5748,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5351,12 +5837,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5418,27 +5910,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentlist-apps-v1.json b/v1.12.3-standalone-strict/deploymentlist-apps-v1.json index d0fa28171f..afa7081d43 100644 --- a/v1.12.3-standalone-strict/deploymentlist-apps-v1.json +++ b/v1.12.3-standalone-strict/deploymentlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,26 +423,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -466,7 +505,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -492,7 +534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -505,7 +550,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -530,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -555,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -589,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -632,7 +689,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -695,7 +755,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -781,7 +844,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -824,11 +890,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -880,7 +952,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1158,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1255,7 +1333,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1357,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1454,7 +1538,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1494,7 +1581,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1576,7 +1666,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1623,7 +1716,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1653,7 +1749,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1688,7 +1787,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1712,7 +1814,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1850,7 +1958,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1936,7 +2047,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1972,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2009,7 +2126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2066,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2082,17 +2205,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2117,7 +2249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2126,7 +2261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2162,7 +2300,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2209,7 +2350,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2266,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2282,17 +2429,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2317,7 +2473,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2326,7 +2485,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2337,7 +2499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2347,14 +2512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2364,7 +2535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2377,7 +2551,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2413,7 +2590,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2424,20 +2604,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2479,11 +2671,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2501,7 +2699,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2560,7 +2761,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2690,15 +2894,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2812,7 +3025,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2859,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2889,7 +3108,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2924,7 +3146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2948,7 +3173,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3086,7 +3317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3172,7 +3406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3208,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3245,8 +3485,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3302,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3318,17 +3564,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3353,7 +3608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3362,7 +3620,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3398,7 +3659,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3445,7 +3709,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3502,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3518,17 +3788,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3553,7 +3832,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3562,7 +3844,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3573,7 +3858,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3583,14 +3871,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3600,7 +3894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3613,7 +3910,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3649,7 +3949,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3660,20 +3963,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3715,11 +4030,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3737,7 +4058,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3796,7 +4120,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3833,7 +4160,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3843,7 +4173,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3899,21 +4232,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3957,7 +4302,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4005,7 +4353,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4016,7 +4367,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4051,7 +4405,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4092,12 +4449,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4144,7 +4507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4158,7 +4524,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4196,7 +4565,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4243,7 +4615,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4270,7 +4645,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4292,7 +4670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4312,7 +4693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4322,7 +4706,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4359,7 +4746,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4388,7 +4778,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4425,7 +4818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4444,12 +4840,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4499,7 +4901,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4509,7 +4914,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4562,7 +4970,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4571,7 +4982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4620,7 +5034,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4655,11 +5072,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4706,7 +5129,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4745,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4766,7 +5195,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4806,7 +5238,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4823,7 +5258,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4854,7 +5292,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4874,7 +5315,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4916,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5392,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4985,7 +5435,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5005,7 +5458,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5025,7 +5481,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5058,7 +5517,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5122,7 +5584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,7 +5640,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5192,7 +5660,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5227,7 +5698,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5249,7 +5723,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5262,7 +5739,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5286,7 +5766,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5372,12 +5855,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5439,27 +5928,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentlist-apps-v1beta1.json b/v1.12.3-standalone-strict/deploymentlist-apps-v1beta1.json index aa648d76c4..1d24f8fd6e 100644 --- a/v1.12.3-standalone-strict/deploymentlist-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentlist-apps-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,26 +422,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -425,7 +464,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -476,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -502,7 +547,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -515,7 +563,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -540,7 +591,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -565,7 +619,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -599,7 +656,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -642,7 +702,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -705,7 +768,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -791,7 +857,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -834,11 +903,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -890,7 +965,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1168,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1265,7 +1346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1367,7 +1451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1464,7 +1551,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1504,7 +1594,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1586,7 +1679,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1633,7 +1729,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1663,7 +1762,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1698,7 +1800,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1722,7 +1827,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1824,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1860,7 +1971,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1982,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2019,7 +2139,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2076,7 +2199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2092,17 +2218,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2127,7 +2262,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2136,7 +2274,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2172,7 +2313,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2219,7 +2363,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2276,7 +2423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2292,17 +2442,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2327,7 +2486,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2336,7 +2498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2347,7 +2512,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2357,14 +2525,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2374,7 +2548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2387,7 +2564,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2423,7 +2603,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2434,20 +2617,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2489,11 +2684,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2511,7 +2712,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2570,7 +2774,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2700,15 +2907,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2822,7 +3038,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2869,7 +3088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2899,7 +3121,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2934,7 +3159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2958,7 +3186,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3060,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3096,7 +3330,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3218,9 +3458,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3255,7 +3498,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3312,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3372,7 +3633,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3408,7 +3672,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3455,7 +3722,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3512,7 +3782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3528,17 +3801,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3563,7 +3845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3572,7 +3857,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3583,7 +3871,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3593,14 +3884,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3610,7 +3907,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3623,7 +3923,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3659,7 +3962,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3670,20 +3976,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3725,11 +4043,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3747,7 +4071,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3806,7 +4133,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3843,7 +4173,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3853,7 +4186,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3909,21 +4245,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3967,7 +4315,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4015,7 +4366,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4026,7 +4380,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4061,7 +4418,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4102,12 +4462,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4154,7 +4520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4537,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4206,7 +4578,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4253,7 +4628,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4280,7 +4658,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4302,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4322,7 +4706,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4332,7 +4719,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4369,7 +4759,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4791,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4435,7 +4831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4454,12 +4853,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4509,7 +4914,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4519,7 +4927,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4572,7 +4983,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4581,7 +4995,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4630,7 +5047,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4665,11 +5085,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4716,7 +5142,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5184,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4776,7 +5208,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4816,7 +5251,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4833,7 +5271,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4864,7 +5305,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4884,7 +5328,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4926,7 +5373,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4955,7 +5405,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4995,7 +5448,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5015,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5035,7 +5494,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5068,7 +5530,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5132,7 +5597,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5185,7 +5653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5202,7 +5673,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5237,7 +5711,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5259,7 +5736,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5272,7 +5752,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5296,7 +5779,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5382,12 +5868,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5449,27 +5941,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentlist-apps-v1beta2.json b/v1.12.3-standalone-strict/deploymentlist-apps-v1beta2.json index 5a53d6b86e..a446b3f27f 100644 --- a/v1.12.3-standalone-strict/deploymentlist-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/deploymentlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,26 +423,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -466,7 +505,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -492,7 +534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -505,7 +550,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -530,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -555,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -589,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -632,7 +689,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -695,7 +755,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -781,7 +844,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -824,11 +890,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -880,7 +952,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1158,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1255,7 +1333,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1357,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1454,7 +1538,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1494,7 +1581,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1576,7 +1666,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1623,7 +1716,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1653,7 +1749,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1688,7 +1787,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1712,7 +1814,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1850,7 +1958,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1936,7 +2047,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1972,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2009,7 +2126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2066,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2082,17 +2205,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2117,7 +2249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2126,7 +2261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2162,7 +2300,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2209,7 +2350,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2266,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2282,17 +2429,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2317,7 +2473,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2326,7 +2485,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2337,7 +2499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2347,14 +2512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2364,7 +2535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2377,7 +2551,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2413,7 +2590,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2424,20 +2604,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2479,11 +2671,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2501,7 +2699,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2560,7 +2761,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2690,15 +2894,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2812,7 +3025,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2859,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2889,7 +3108,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2924,7 +3146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2948,7 +3173,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3086,7 +3317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3172,7 +3406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3208,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3245,8 +3485,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3302,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3318,17 +3564,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3353,7 +3608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3362,7 +3620,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3398,7 +3659,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3445,7 +3709,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3502,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3518,17 +3788,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3553,7 +3832,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3562,7 +3844,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3573,7 +3858,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3583,14 +3871,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3600,7 +3894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3613,7 +3910,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3649,7 +3949,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3660,20 +3963,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3715,11 +4030,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3737,7 +4058,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3796,7 +4120,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3833,7 +4160,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3843,7 +4173,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3899,21 +4232,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3957,7 +4302,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4005,7 +4353,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4016,7 +4367,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4051,7 +4405,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4092,12 +4449,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4144,7 +4507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4158,7 +4524,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4196,7 +4565,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4243,7 +4615,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4270,7 +4645,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4292,7 +4670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4312,7 +4693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4322,7 +4706,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4359,7 +4746,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4388,7 +4778,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4425,7 +4818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4444,12 +4840,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4499,7 +4901,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4509,7 +4914,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4562,7 +4970,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4571,7 +4982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4620,7 +5034,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4655,11 +5072,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4706,7 +5129,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4745,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4766,7 +5195,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4806,7 +5238,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4823,7 +5258,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4854,7 +5292,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4874,7 +5315,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4916,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5392,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4985,7 +5435,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5005,7 +5458,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5025,7 +5481,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5058,7 +5517,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5122,7 +5584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,7 +5640,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5192,7 +5660,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5227,7 +5698,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5249,7 +5723,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5262,7 +5739,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5286,7 +5766,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5372,12 +5855,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5439,27 +5928,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentlist-extensions-v1beta1.json b/v1.12.3-standalone-strict/deploymentlist-extensions-v1beta1.json index 276400789e..ca1eea19b8 100644 --- a/v1.12.3-standalone-strict/deploymentlist-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,26 +422,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -425,7 +464,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -476,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -502,7 +547,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -515,7 +563,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -540,7 +591,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -565,7 +619,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -599,7 +656,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -642,7 +702,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -705,7 +768,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -791,7 +857,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -834,11 +903,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -890,7 +965,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1168,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1265,7 +1346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1367,7 +1451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1464,7 +1551,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1504,7 +1594,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1586,7 +1679,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1633,7 +1729,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1663,7 +1762,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1698,7 +1800,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1722,7 +1827,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1824,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1860,7 +1971,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1946,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1982,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2019,7 +2139,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2076,7 +2199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2092,17 +2218,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2127,7 +2262,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2136,7 +2274,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2172,7 +2313,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2219,7 +2363,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2276,7 +2423,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2292,17 +2442,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2327,7 +2486,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2336,7 +2498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2347,7 +2512,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2357,14 +2525,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2374,7 +2548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2387,7 +2564,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2423,7 +2603,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2434,20 +2617,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2489,11 +2684,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2511,7 +2712,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2570,7 +2774,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2700,15 +2907,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2822,7 +3038,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2869,7 +3088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2899,7 +3121,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2934,7 +3159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2958,7 +3186,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3060,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3096,7 +3330,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3218,9 +3458,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3255,7 +3498,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3312,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3372,7 +3633,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3408,7 +3672,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3455,7 +3722,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3512,7 +3782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3528,17 +3801,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3563,7 +3845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3572,7 +3857,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3583,7 +3871,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3593,14 +3884,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3610,7 +3907,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3623,7 +3923,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3659,7 +3962,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3670,20 +3976,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3725,11 +4043,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3747,7 +4071,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3806,7 +4133,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3843,7 +4173,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3853,7 +4186,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3909,21 +4245,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3967,7 +4315,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4015,7 +4366,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4026,7 +4380,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4061,7 +4418,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4102,12 +4462,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4154,7 +4520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4537,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4206,7 +4578,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4253,7 +4628,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4280,7 +4658,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4302,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4322,7 +4706,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4332,7 +4719,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4369,7 +4759,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4791,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4435,7 +4831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4454,12 +4853,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4509,7 +4914,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4519,7 +4927,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4572,7 +4983,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4581,7 +4995,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4630,7 +5047,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4665,11 +5085,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4716,7 +5142,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5184,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4776,7 +5208,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4816,7 +5251,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4833,7 +5271,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4864,7 +5305,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4884,7 +5328,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4926,7 +5373,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4955,7 +5405,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4995,7 +5448,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5015,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5035,7 +5494,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5068,7 +5530,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5132,7 +5597,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5185,7 +5653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5202,7 +5673,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5237,7 +5711,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5259,7 +5736,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5272,7 +5752,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5296,7 +5779,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5382,12 +5868,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5449,27 +5941,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentlist.json b/v1.12.3-standalone-strict/deploymentlist.json index 548344071f..515dcf5f8c 100644 --- a/v1.12.3-standalone-strict/deploymentlist.json +++ b/v1.12.3-standalone-strict/deploymentlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,26 +413,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -416,7 +455,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -467,7 +509,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -493,7 +538,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -506,7 +554,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -531,7 +582,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -556,7 +610,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -590,7 +647,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -630,7 +690,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -693,7 +756,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -779,7 +845,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -822,11 +891,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -878,7 +953,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1156,7 +1234,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1253,7 +1334,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1355,7 +1439,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1452,7 +1539,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1492,7 +1582,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1574,7 +1667,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1621,7 +1717,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1651,7 +1750,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1686,7 +1788,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1710,7 +1815,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1812,7 +1920,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1848,7 +1959,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1970,7 +2087,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2007,7 +2127,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2064,7 +2187,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2080,17 +2206,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2115,7 +2250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2124,7 +2262,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2160,7 +2301,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2207,7 +2351,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2264,7 +2411,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2280,17 +2430,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2315,7 +2474,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2324,7 +2486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2335,7 +2500,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2345,14 +2513,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2362,7 +2536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2375,7 +2552,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2411,7 +2591,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2422,20 +2605,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2477,11 +2672,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2499,7 +2700,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2558,7 +2762,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2688,15 +2895,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2810,7 +3026,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2857,7 +3076,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2887,7 +3109,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2922,7 +3147,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2946,7 +3174,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3048,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3084,7 +3318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3407,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3206,9 +3446,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } }, "additionalProperties": false @@ -3243,7 +3486,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3300,7 +3546,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3316,17 +3565,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3351,7 +3609,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3360,7 +3621,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3396,7 +3660,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3443,7 +3710,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3500,7 +3770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3516,17 +3789,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3551,7 +3833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3560,7 +3845,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3571,7 +3859,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3581,14 +3872,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3598,7 +3895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3611,7 +3911,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3647,7 +3950,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3658,20 +3964,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3713,11 +4031,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3735,7 +4059,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3794,7 +4121,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3831,7 +4161,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3841,7 +4174,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3897,21 +4233,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3955,7 +4303,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4003,7 +4354,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4014,7 +4368,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4049,7 +4406,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4090,12 +4450,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4142,7 +4508,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4156,7 +4525,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4194,7 +4566,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4241,7 +4616,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4268,7 +4646,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4310,7 +4694,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4320,7 +4707,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4357,7 +4747,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4386,7 +4779,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4423,7 +4819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4442,12 +4841,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4497,7 +4902,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4507,7 +4915,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4971,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4569,7 +4983,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4618,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4653,11 +5073,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4704,7 +5130,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4743,7 +5172,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4764,7 +5196,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4804,7 +5239,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4821,7 +5259,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4852,7 +5293,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4872,7 +5316,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4914,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4943,7 +5393,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4983,7 +5436,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5003,7 +5459,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -5023,7 +5482,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5056,7 +5518,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5120,7 +5585,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5173,7 +5641,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5190,7 +5661,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5225,7 +5699,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5247,7 +5724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5260,7 +5740,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5284,7 +5767,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5370,12 +5856,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5437,27 +5929,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentrollback-apps-v1beta1.json b/v1.12.3-standalone-strict/deploymentrollback-apps-v1beta1.json index 50ac743646..bb1b4abb3a 100644 --- a/v1.12.3-standalone-strict/deploymentrollback-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentrollback-apps-v1beta1.json @@ -37,7 +37,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -45,7 +48,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/deploymentrollback-extensions-v1beta1.json b/v1.12.3-standalone-strict/deploymentrollback-extensions-v1beta1.json index 605344678c..491965c188 100644 --- a/v1.12.3-standalone-strict/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentrollback-extensions-v1beta1.json @@ -37,7 +37,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -45,7 +48,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/deploymentrollback.json b/v1.12.3-standalone-strict/deploymentrollback.json index 0a04063e9b..46752cdfad 100644 --- a/v1.12.3-standalone-strict/deploymentrollback.json +++ b/v1.12.3-standalone-strict/deploymentrollback.json @@ -34,7 +34,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -42,7 +45,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/deploymentspec-apps-v1.json b/v1.12.3-standalone-strict/deploymentspec-apps-v1.json index cd274f0353..456f08744a 100644 --- a/v1.12.3-standalone-strict/deploymentspec-apps-v1.json +++ b/v1.12.3-standalone-strict/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -74,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -138,7 +162,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -163,7 +190,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -197,7 +227,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -240,7 +273,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -303,7 +339,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -389,7 +428,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,11 +474,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -488,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -766,7 +817,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -863,7 +917,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -965,7 +1022,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1122,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1102,7 +1165,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1184,7 +1250,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1231,7 +1300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1261,7 +1333,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1296,7 +1371,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1320,7 +1398,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1422,7 +1503,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1458,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1544,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1580,7 +1670,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1617,7 +1710,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1674,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1690,17 +1789,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1725,7 +1833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1734,7 +1845,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1770,7 +1884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1817,7 +1934,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1874,7 +1994,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,17 +2013,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1925,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2069,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1945,7 +2083,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1955,14 +2096,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1972,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1985,7 +2135,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2021,7 +2174,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2032,20 +2188,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2087,11 +2255,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2109,7 +2283,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2168,7 +2345,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2298,15 +2478,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2420,7 +2609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2467,7 +2659,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2497,7 +2692,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2532,7 +2730,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2556,7 +2757,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2658,7 +2862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2694,7 +2901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2780,7 +2990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2816,7 +3029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2853,7 +3069,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2910,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2926,17 +3148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2961,7 +3192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2970,7 +3204,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3006,7 +3243,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3053,7 +3293,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3110,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,17 +3372,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3161,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3428,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3181,7 +3442,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3191,14 +3455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3208,7 +3478,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3221,7 +3494,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3257,7 +3533,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3268,20 +3547,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3323,11 +3614,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3345,7 +3642,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3404,7 +3704,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3441,7 +3744,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3451,7 +3757,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3507,21 +3816,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3565,7 +3886,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3613,7 +3937,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3624,7 +3951,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3659,7 +3989,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3700,12 +4033,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3752,7 +4091,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3766,7 +4108,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3804,7 +4149,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3851,7 +4199,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3878,7 +4229,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3900,7 +4254,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3920,7 +4277,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3930,7 +4290,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3967,7 +4330,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3996,7 +4362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4033,7 +4402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4052,12 +4424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4107,7 +4485,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4117,7 +4498,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4170,7 +4554,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4179,7 +4566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4618,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,11 +4656,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4314,7 +4713,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4353,7 +4755,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4374,7 +4779,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4414,7 +4822,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4431,7 +4842,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4462,7 +4876,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4482,7 +4899,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4976,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4593,7 +5019,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5042,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,7 +5065,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4666,7 +5101,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4730,7 +5168,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4783,7 +5224,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4800,7 +5244,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4835,7 +5282,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4857,7 +5307,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5323,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4894,7 +5350,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/deploymentspec-apps-v1beta1.json b/v1.12.3-standalone-strict/deploymentspec-apps-v1beta1.json index 3915b11d94..ca888881ca 100644 --- a/v1.12.3-standalone-strict/deploymentspec-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -84,7 +102,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +131,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -148,7 +175,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -173,7 +203,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -207,7 +240,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -250,7 +286,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -313,7 +352,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -399,7 +441,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,11 +487,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -498,7 +549,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -776,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -873,7 +930,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -975,7 +1035,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1072,7 +1135,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1112,7 +1178,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1194,7 +1263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1241,7 +1313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1271,7 +1346,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1306,7 +1384,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1330,7 +1411,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1432,7 +1516,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1590,7 +1683,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1627,7 +1723,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1684,7 +1783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,17 +1802,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1735,7 +1846,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1744,7 +1858,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1780,7 +1897,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1827,7 +1947,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1884,7 +2007,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1900,17 +2026,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1935,7 +2070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1944,7 +2082,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1955,7 +2096,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1965,14 +2109,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1982,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1995,7 +2148,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2031,7 +2187,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2042,20 +2201,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2097,11 +2268,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2119,7 +2296,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2178,7 +2358,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2308,15 +2491,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2430,7 +2622,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2477,7 +2672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2507,7 +2705,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2542,7 +2743,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2566,7 +2770,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2668,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2826,7 +3042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2863,7 +3082,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2920,7 +3142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2936,17 +3161,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2971,7 +3205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2980,7 +3217,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3016,7 +3256,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3063,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3120,7 +3366,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3136,17 +3385,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3171,7 +3429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3180,7 +3441,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3191,7 +3455,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3201,14 +3468,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3218,7 +3491,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3231,7 +3507,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3267,7 +3546,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3278,20 +3560,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3333,11 +3627,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3355,7 +3655,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3414,7 +3717,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3451,7 +3757,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3461,7 +3770,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3517,21 +3829,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3575,7 +3899,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3623,7 +3950,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3634,7 +3964,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3669,7 +4002,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3710,12 +4046,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3762,7 +4104,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3776,7 +4121,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3814,7 +4162,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3861,7 +4212,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3888,7 +4242,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3910,7 +4267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3930,7 +4290,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3940,7 +4303,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3977,7 +4343,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4006,7 +4375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4043,7 +4415,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4062,12 +4437,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4117,7 +4498,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4180,7 +4567,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4189,7 +4579,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4238,7 +4631,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4273,11 +4669,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4324,7 +4726,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4384,7 +4792,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4424,7 +4835,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4441,7 +4855,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4472,7 +4889,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4492,7 +4912,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,7 +4957,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4563,7 +4989,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4603,7 +5032,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4623,7 +5055,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,7 +5078,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4676,7 +5114,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4740,7 +5181,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4793,7 +5237,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4810,7 +5257,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4845,7 +5295,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4867,7 +5320,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4880,7 +5336,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4904,7 +5363,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/deploymentspec-apps-v1beta2.json b/v1.12.3-standalone-strict/deploymentspec-apps-v1beta2.json index cd274f0353..456f08744a 100644 --- a/v1.12.3-standalone-strict/deploymentspec-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -74,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -138,7 +162,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -163,7 +190,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -197,7 +227,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -240,7 +273,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -303,7 +339,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -389,7 +428,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,11 +474,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -488,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -766,7 +817,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -863,7 +917,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -965,7 +1022,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1122,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1102,7 +1165,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1184,7 +1250,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1231,7 +1300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1261,7 +1333,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1296,7 +1371,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1320,7 +1398,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1422,7 +1503,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1458,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1544,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1580,7 +1670,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1617,7 +1710,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1674,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1690,17 +1789,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1725,7 +1833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1734,7 +1845,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1770,7 +1884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1817,7 +1934,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1874,7 +1994,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,17 +2013,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1925,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2069,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1945,7 +2083,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1955,14 +2096,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1972,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1985,7 +2135,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2021,7 +2174,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2032,20 +2188,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2087,11 +2255,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2109,7 +2283,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2168,7 +2345,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2298,15 +2478,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2420,7 +2609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2467,7 +2659,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2497,7 +2692,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2532,7 +2730,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2556,7 +2757,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2658,7 +2862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2694,7 +2901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2780,7 +2990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2816,7 +3029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2853,7 +3069,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2910,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2926,17 +3148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2961,7 +3192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2970,7 +3204,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3006,7 +3243,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3053,7 +3293,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3110,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,17 +3372,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3161,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3428,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3181,7 +3442,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3191,14 +3455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3208,7 +3478,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3221,7 +3494,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3257,7 +3533,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3268,20 +3547,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3323,11 +3614,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3345,7 +3642,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3404,7 +3704,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3441,7 +3744,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3451,7 +3757,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3507,21 +3816,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3565,7 +3886,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3613,7 +3937,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3624,7 +3951,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3659,7 +3989,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3700,12 +4033,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3752,7 +4091,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3766,7 +4108,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3804,7 +4149,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3851,7 +4199,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3878,7 +4229,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3900,7 +4254,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3920,7 +4277,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3930,7 +4290,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3967,7 +4330,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3996,7 +4362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4033,7 +4402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4052,12 +4424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4107,7 +4485,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4117,7 +4498,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4170,7 +4554,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4179,7 +4566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4618,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4263,11 +4656,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4314,7 +4713,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4353,7 +4755,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4374,7 +4779,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4414,7 +4822,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4431,7 +4842,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4462,7 +4876,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4482,7 +4899,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4976,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4593,7 +5019,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4613,7 +5042,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4633,7 +5065,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4666,7 +5101,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4730,7 +5168,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4783,7 +5224,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4800,7 +5244,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4835,7 +5282,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4857,7 +5307,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5323,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4894,7 +5350,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/deploymentspec-extensions-v1beta1.json b/v1.12.3-standalone-strict/deploymentspec-extensions-v1beta1.json index c432bf4e85..2b901624d2 100644 --- a/v1.12.3-standalone-strict/deploymentspec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -84,7 +102,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +131,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -148,7 +175,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -173,7 +203,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -207,7 +240,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -250,7 +286,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -313,7 +352,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -399,7 +441,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,11 +487,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -498,7 +549,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -776,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -873,7 +930,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -975,7 +1035,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1072,7 +1135,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1112,7 +1178,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1194,7 +1263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1241,7 +1313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1271,7 +1346,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1306,7 +1384,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1330,7 +1411,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1432,7 +1516,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1590,7 +1683,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1627,7 +1723,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1684,7 +1783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,17 +1802,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1735,7 +1846,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1744,7 +1858,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1780,7 +1897,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1827,7 +1947,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1884,7 +2007,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1900,17 +2026,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1935,7 +2070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1944,7 +2082,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1955,7 +2096,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1965,14 +2109,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1982,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1995,7 +2148,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2031,7 +2187,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2042,20 +2201,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2097,11 +2268,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2119,7 +2296,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2178,7 +2358,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2308,15 +2491,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2430,7 +2622,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2477,7 +2672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2507,7 +2705,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2542,7 +2743,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2566,7 +2770,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2668,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +3003,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2826,7 +3042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2863,7 +3082,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2920,7 +3142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2936,17 +3161,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2971,7 +3205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2980,7 +3217,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3016,7 +3256,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3063,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3120,7 +3366,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3136,17 +3385,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3171,7 +3429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3180,7 +3441,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3191,7 +3455,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3201,14 +3468,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3218,7 +3491,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3231,7 +3507,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3267,7 +3546,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3278,20 +3560,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3333,11 +3627,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3355,7 +3655,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3414,7 +3717,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3451,7 +3757,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3461,7 +3770,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3517,21 +3829,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3575,7 +3899,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3623,7 +3950,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3634,7 +3964,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3669,7 +4002,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3710,12 +4046,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3762,7 +4104,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3776,7 +4121,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3814,7 +4162,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3861,7 +4212,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3888,7 +4242,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3910,7 +4267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3930,7 +4290,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3940,7 +4303,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3977,7 +4343,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4006,7 +4375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4043,7 +4415,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4062,12 +4437,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4117,7 +4498,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4180,7 +4567,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4189,7 +4579,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4238,7 +4631,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4273,11 +4669,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4324,7 +4726,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4384,7 +4792,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4424,7 +4835,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4441,7 +4855,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4472,7 +4889,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4492,7 +4912,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,7 +4957,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4563,7 +4989,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4603,7 +5032,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4623,7 +5055,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,7 +5078,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4676,7 +5114,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4740,7 +5181,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4793,7 +5237,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4810,7 +5257,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4845,7 +5295,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4867,7 +5320,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4880,7 +5336,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4904,7 +5363,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/deploymentspec.json b/v1.12.3-standalone-strict/deploymentspec.json index f9bc39beec..5a4d47856b 100644 --- a/v1.12.3-standalone-strict/deploymentspec.json +++ b/v1.12.3-standalone-strict/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -84,7 +102,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +131,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -148,7 +175,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -173,7 +203,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -207,7 +240,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -247,7 +283,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -310,7 +349,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -396,7 +438,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,11 +484,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -495,7 +546,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -773,7 +827,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -870,7 +927,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -972,7 +1032,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1069,7 +1132,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1109,7 +1175,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1191,7 +1260,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1238,7 +1310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1268,7 +1343,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1303,7 +1381,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1327,7 +1408,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1429,7 +1513,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1465,7 +1552,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1551,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1587,7 +1680,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1624,7 +1720,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1681,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1697,17 +1799,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1732,7 +1843,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1741,7 +1855,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1777,7 +1894,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1824,7 +1944,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1881,7 +2004,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1897,17 +2023,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1932,7 +2067,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1941,7 +2079,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1952,7 +2093,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1962,14 +2106,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1979,7 +2129,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1992,7 +2145,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2028,7 +2184,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2039,20 +2198,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2094,11 +2265,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2116,7 +2293,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2175,7 +2355,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2305,15 +2488,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2427,7 +2619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2474,7 +2669,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2504,7 +2702,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2539,7 +2740,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2563,7 +2767,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2665,7 +2872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2701,7 +2911,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2787,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2823,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2860,7 +3079,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2917,7 +3139,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2933,17 +3158,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2968,7 +3202,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2977,7 +3214,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3013,7 +3253,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3060,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3117,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3133,17 +3382,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3168,7 +3426,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3438,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3188,7 +3452,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3198,14 +3465,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3215,7 +3488,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3228,7 +3504,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3264,7 +3543,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3275,20 +3557,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3330,11 +3624,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3352,7 +3652,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3411,7 +3714,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3448,7 +3754,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3458,7 +3767,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3514,21 +3826,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3572,7 +3896,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3620,7 +3947,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3631,7 +3961,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3666,7 +3999,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3707,12 +4043,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3759,7 +4101,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3773,7 +4118,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3811,7 +4159,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3858,7 +4209,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3885,7 +4239,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4264,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3927,7 +4287,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3937,7 +4300,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3974,7 +4340,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4003,7 +4372,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4040,7 +4412,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4059,12 +4434,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4114,7 +4495,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4124,7 +4508,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4177,7 +4564,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4186,7 +4576,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4235,7 +4628,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4270,11 +4666,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4321,7 +4723,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4360,7 +4765,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4381,7 +4789,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4421,7 +4832,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4438,7 +4852,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4469,7 +4886,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4489,7 +4909,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4531,7 +4954,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4560,7 +4986,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4600,7 +5029,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4620,7 +5052,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4640,7 +5075,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4673,7 +5111,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4737,7 +5178,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4790,7 +5234,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4807,7 +5254,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4842,7 +5292,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4864,7 +5317,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4877,7 +5333,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4901,7 +5360,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/deploymentstatus-apps-v1.json b/v1.12.3-standalone-strict/deploymentstatus-apps-v1.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.3-standalone-strict/deploymentstatus-apps-v1.json +++ b/v1.12.3-standalone-strict/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta1.json b/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta1.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta2.json b/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta2.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentstatus-extensions-v1beta1.json b/v1.12.3-standalone-strict/deploymentstatus-extensions-v1beta1.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.3-standalone-strict/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentstatus.json b/v1.12.3-standalone-strict/deploymentstatus.json index 0959100e7b..42d7e90799 100644 --- a/v1.12.3-standalone-strict/deploymentstatus.json +++ b/v1.12.3-standalone-strict/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -70,27 +76,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/deploymentstrategy-apps-v1.json b/v1.12.3-standalone-strict/deploymentstrategy-apps-v1.json index b84e04b765..919caea7cd 100644 --- a/v1.12.3-standalone-strict/deploymentstrategy-apps-v1.json +++ b/v1.12.3-standalone-strict/deploymentstrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta1.json b/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta1.json index b84e04b765..919caea7cd 100644 --- a/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta2.json b/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta2.json index b84e04b765..919caea7cd 100644 --- a/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/deploymentstrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/deploymentstrategy-extensions-v1beta1.json b/v1.12.3-standalone-strict/deploymentstrategy-extensions-v1beta1.json index b84e04b765..919caea7cd 100644 --- a/v1.12.3-standalone-strict/deploymentstrategy-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/deploymentstrategy-extensions-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/deploymentstrategy.json b/v1.12.3-standalone-strict/deploymentstrategy.json index b84e04b765..919caea7cd 100644 --- a/v1.12.3-standalone-strict/deploymentstrategy.json +++ b/v1.12.3-standalone-strict/deploymentstrategy.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/downwardapiprojection-v1.json b/v1.12.3-standalone-strict/downwardapiprojection-v1.json index 8ffc8fc1db..972bd17f49 100644 --- a/v1.12.3-standalone-strict/downwardapiprojection-v1.json +++ b/v1.12.3-standalone-strict/downwardapiprojection-v1.json @@ -35,7 +35,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -64,7 +67,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/downwardapiprojection.json b/v1.12.3-standalone-strict/downwardapiprojection.json index 8ffc8fc1db..972bd17f49 100644 --- a/v1.12.3-standalone-strict/downwardapiprojection.json +++ b/v1.12.3-standalone-strict/downwardapiprojection.json @@ -35,7 +35,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -64,7 +67,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/downwardapivolumefile-v1.json b/v1.12.3-standalone-strict/downwardapivolumefile-v1.json index 22a9031813..37c9b950c3 100644 --- a/v1.12.3-standalone-strict/downwardapivolumefile-v1.json +++ b/v1.12.3-standalone-strict/downwardapivolumefile-v1.json @@ -26,7 +26,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -58,7 +61,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/downwardapivolumefile.json b/v1.12.3-standalone-strict/downwardapivolumefile.json index 22a9031813..37c9b950c3 100644 --- a/v1.12.3-standalone-strict/downwardapivolumefile.json +++ b/v1.12.3-standalone-strict/downwardapivolumefile.json @@ -26,7 +26,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -58,7 +61,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/downwardapivolumesource-v1.json b/v1.12.3-standalone-strict/downwardapivolumesource-v1.json index 97fec255f2..5b63ded5c1 100644 --- a/v1.12.3-standalone-strict/downwardapivolumesource-v1.json +++ b/v1.12.3-standalone-strict/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -69,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/downwardapivolumesource.json b/v1.12.3-standalone-strict/downwardapivolumesource.json index 97fec255f2..5b63ded5c1 100644 --- a/v1.12.3-standalone-strict/downwardapivolumesource.json +++ b/v1.12.3-standalone-strict/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -69,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/emptydirvolumesource-v1.json b/v1.12.3-standalone-strict/emptydirvolumesource-v1.json index 69b59fb5c0..2bfde38a9f 100644 --- a/v1.12.3-standalone-strict/emptydirvolumesource-v1.json +++ b/v1.12.3-standalone-strict/emptydirvolumesource-v1.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/emptydirvolumesource.json b/v1.12.3-standalone-strict/emptydirvolumesource.json index 69b59fb5c0..2bfde38a9f 100644 --- a/v1.12.3-standalone-strict/emptydirvolumesource.json +++ b/v1.12.3-standalone-strict/emptydirvolumesource.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/endpointport-v1.json b/v1.12.3-standalone-strict/endpointport-v1.json index 6c1c58dd80..2be3540f74 100644 --- a/v1.12.3-standalone-strict/endpointport-v1.json +++ b/v1.12.3-standalone-strict/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-standalone-strict/endpointport.json b/v1.12.3-standalone-strict/endpointport.json index 6c1c58dd80..2be3540f74 100644 --- a/v1.12.3-standalone-strict/endpointport.json +++ b/v1.12.3-standalone-strict/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-standalone-strict/endpoints-v1.json b/v1.12.3-standalone-strict/endpoints-v1.json index 7af0151ac7..b03ba5aef5 100644 --- a/v1.12.3-standalone-strict/endpoints-v1.json +++ b/v1.12.3-standalone-strict/endpoints-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/endpoints.json b/v1.12.3-standalone-strict/endpoints.json index d8d485212b..a8a947ebf8 100644 --- a/v1.12.3-standalone-strict/endpoints.json +++ b/v1.12.3-standalone-strict/endpoints.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/endpointslist-v1.json b/v1.12.3-standalone-strict/endpointslist-v1.json index 0651c5ff1f..08dceead3b 100644 --- a/v1.12.3-standalone-strict/endpointslist-v1.json +++ b/v1.12.3-standalone-strict/endpointslist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/endpointslist.json b/v1.12.3-standalone-strict/endpointslist.json index 7883adb9c4..9bf58d9f03 100644 --- a/v1.12.3-standalone-strict/endpointslist.json +++ b/v1.12.3-standalone-strict/endpointslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/envfromsource-v1.json b/v1.12.3-standalone-strict/envfromsource-v1.json index 288a04d06f..d5d6c1ccd4 100644 --- a/v1.12.3-standalone-strict/envfromsource-v1.json +++ b/v1.12.3-standalone-strict/envfromsource-v1.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -37,7 +40,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/envfromsource.json b/v1.12.3-standalone-strict/envfromsource.json index 288a04d06f..d5d6c1ccd4 100644 --- a/v1.12.3-standalone-strict/envfromsource.json +++ b/v1.12.3-standalone-strict/envfromsource.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -37,7 +40,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/envvar-v1.json b/v1.12.3-standalone-strict/envvar-v1.json index be552af4c2..4943d39895 100644 --- a/v1.12.3-standalone-strict/envvar-v1.json +++ b/v1.12.3-standalone-strict/envvar-v1.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -87,7 +90,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +123,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/envvar.json b/v1.12.3-standalone-strict/envvar.json index be552af4c2..4943d39895 100644 --- a/v1.12.3-standalone-strict/envvar.json +++ b/v1.12.3-standalone-strict/envvar.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -87,7 +90,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +123,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/envvarsource-v1.json b/v1.12.3-standalone-strict/envvarsource-v1.json index 1ed85f323b..0ddf637312 100644 --- a/v1.12.3-standalone-strict/envvarsource-v1.json +++ b/v1.12.3-standalone-strict/envvarsource-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -67,7 +70,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -97,7 +103,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/envvarsource.json b/v1.12.3-standalone-strict/envvarsource.json index 1ed85f323b..0ddf637312 100644 --- a/v1.12.3-standalone-strict/envvarsource.json +++ b/v1.12.3-standalone-strict/envvarsource.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -67,7 +70,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -97,7 +103,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false diff --git a/v1.12.3-standalone-strict/event-events-v1beta1.json b/v1.12.3-standalone-strict/event-events-v1beta1.json index 6806fadbbc..385fb3339d 100644 --- a/v1.12.3-standalone-strict/event-events-v1beta1.json +++ b/v1.12.3-standalone-strict/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -85,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -110,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -144,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -187,7 +199,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -250,7 +265,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -336,7 +354,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,11 +400,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/event-v1.json b/v1.12.3-standalone-strict/event-v1.json index 551b64b81c..e91c137192 100644 --- a/v1.12.3-standalone-strict/event-v1.json +++ b/v1.12.3-standalone-strict/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -128,7 +131,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -153,7 +159,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -187,7 +196,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -230,7 +242,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -293,7 +308,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -379,7 +397,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -422,11 +443,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -551,7 +578,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone-strict/event.json b/v1.12.3-standalone-strict/event.json index 13fc4d747a..d1ad67ffae 100644 --- a/v1.12.3-standalone-strict/event.json +++ b/v1.12.3-standalone-strict/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -82,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -141,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -181,7 +193,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -244,7 +259,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -330,7 +348,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -373,11 +394,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/eventlist-events-v1beta1.json b/v1.12.3-standalone-strict/eventlist-events-v1beta1.json index 43bb5f1f69..ba16feb274 100644 --- a/v1.12.3-standalone-strict/eventlist-events-v1beta1.json +++ b/v1.12.3-standalone-strict/eventlist-events-v1beta1.json @@ -45,7 +45,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -104,7 +107,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -129,7 +135,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -163,7 +172,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -206,7 +218,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -269,7 +284,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -355,7 +373,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -398,11 +419,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/eventlist-v1.json b/v1.12.3-standalone-strict/eventlist-v1.json index 358dd75974..437834146f 100644 --- a/v1.12.3-standalone-strict/eventlist-v1.json +++ b/v1.12.3-standalone-strict/eventlist-v1.json @@ -46,7 +46,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -150,7 +153,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -175,7 +181,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -209,7 +218,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -252,7 +264,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -315,7 +330,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -401,7 +419,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -444,11 +465,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -573,7 +600,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone-strict/eventlist.json b/v1.12.3-standalone-strict/eventlist.json index 7e20dcddc7..4018d51fe9 100644 --- a/v1.12.3-standalone-strict/eventlist.json +++ b/v1.12.3-standalone-strict/eventlist.json @@ -39,7 +39,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -98,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -197,7 +209,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -260,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -346,7 +364,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -389,11 +410,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/eventseries-events-v1beta1.json b/v1.12.3-standalone-strict/eventseries-events-v1beta1.json index 10783bd897..d9965ec257 100644 --- a/v1.12.3-standalone-strict/eventseries-events-v1beta1.json +++ b/v1.12.3-standalone-strict/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone-strict/eventseries-v1.json b/v1.12.3-standalone-strict/eventseries-v1.json index 6e72bcf1d6..e73bad7463 100644 --- a/v1.12.3-standalone-strict/eventseries-v1.json +++ b/v1.12.3-standalone-strict/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone-strict/eventseries.json b/v1.12.3-standalone-strict/eventseries.json index 10783bd897..d9965ec257 100644 --- a/v1.12.3-standalone-strict/eventseries.json +++ b/v1.12.3-standalone-strict/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone-strict/eviction-policy-v1beta1.json b/v1.12.3-standalone-strict/eviction-policy-v1beta1.json index 4fb53e2145..51ff8a01cd 100644 --- a/v1.12.3-standalone-strict/eviction-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/eviction-policy-v1beta1.json @@ -74,7 +74,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -89,7 +92,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -311,7 +317,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,7 +345,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -370,7 +382,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -413,7 +428,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -476,7 +494,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -562,7 +583,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -605,11 +629,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/eviction.json b/v1.12.3-standalone-strict/eviction.json index dc57c1b4b1..2af772ddbc 100644 --- a/v1.12.3-standalone-strict/eviction.json +++ b/v1.12.3-standalone-strict/eviction.json @@ -33,7 +33,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -48,7 +51,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -270,7 +276,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -295,7 +304,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -329,7 +341,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -369,7 +384,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -432,7 +450,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -518,7 +539,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -561,11 +585,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta1.json index ed6b2347e7..2aec7e6bc5 100644 --- a/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta1.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -89,7 +95,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta2.json index 5667b9fe23..d117e02d48 100644 --- a/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/externalmetricsource-autoscaling-v2beta2.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/externalmetricsource.json b/v1.12.3-standalone-strict/externalmetricsource.json index 5667b9fe23..d117e02d48 100644 --- a/v1.12.3-standalone-strict/externalmetricsource.json +++ b/v1.12.3-standalone-strict/externalmetricsource.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json index 4968e27228..56752b7c68 100644 --- a/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -27,7 +30,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -83,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json index 26653fc9b2..fa4b5f80fc 100644 --- a/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/externalmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/externalmetricstatus.json b/v1.12.3-standalone-strict/externalmetricstatus.json index 26653fc9b2..fa4b5f80fc 100644 --- a/v1.12.3-standalone-strict/externalmetricstatus.json +++ b/v1.12.3-standalone-strict/externalmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/fcvolumesource-v1.json b/v1.12.3-standalone-strict/fcvolumesource-v1.json index bcddd38769..3c8eb6635b 100644 --- a/v1.12.3-standalone-strict/fcvolumesource-v1.json +++ b/v1.12.3-standalone-strict/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3-standalone-strict/fcvolumesource.json b/v1.12.3-standalone-strict/fcvolumesource.json index bcddd38769..3c8eb6635b 100644 --- a/v1.12.3-standalone-strict/fcvolumesource.json +++ b/v1.12.3-standalone-strict/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3-standalone-strict/flexpersistentvolumesource-v1.json b/v1.12.3-standalone-strict/flexpersistentvolumesource-v1.json index da2172f11e..3eb595bbd1 100644 --- a/v1.12.3-standalone-strict/flexpersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/flexpersistentvolumesource.json b/v1.12.3-standalone-strict/flexpersistentvolumesource.json index da2172f11e..3eb595bbd1 100644 --- a/v1.12.3-standalone-strict/flexpersistentvolumesource.json +++ b/v1.12.3-standalone-strict/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/flexvolumesource-v1.json b/v1.12.3-standalone-strict/flexvolumesource-v1.json index 92546a8c8f..9dc03ec4ef 100644 --- a/v1.12.3-standalone-strict/flexvolumesource-v1.json +++ b/v1.12.3-standalone-strict/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/flexvolumesource.json b/v1.12.3-standalone-strict/flexvolumesource.json index 92546a8c8f..9dc03ec4ef 100644 --- a/v1.12.3-standalone-strict/flexvolumesource.json +++ b/v1.12.3-standalone-strict/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/gcepersistentdiskvolumesource-v1.json b/v1.12.3-standalone-strict/gcepersistentdiskvolumesource-v1.json index e06a14be3a..565b4d0494 100644 --- a/v1.12.3-standalone-strict/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.3-standalone-strict/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/gcepersistentdiskvolumesource.json b/v1.12.3-standalone-strict/gcepersistentdiskvolumesource.json index e06a14be3a..565b4d0494 100644 --- a/v1.12.3-standalone-strict/gcepersistentdiskvolumesource.json +++ b/v1.12.3-standalone-strict/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/glusterfsvolumesource-v1.json b/v1.12.3-standalone-strict/glusterfsvolumesource-v1.json index fd6788cc4d..4b43cebd5b 100644 --- a/v1.12.3-standalone-strict/glusterfsvolumesource-v1.json +++ b/v1.12.3-standalone-strict/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/glusterfsvolumesource.json b/v1.12.3-standalone-strict/glusterfsvolumesource.json index fd6788cc4d..4b43cebd5b 100644 --- a/v1.12.3-standalone-strict/glusterfsvolumesource.json +++ b/v1.12.3-standalone-strict/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/handler-v1.json b/v1.12.3-standalone-strict/handler-v1.json index 0b00273dd0..2e3903fbd6 100644 --- a/v1.12.3-standalone-strict/handler-v1.json +++ b/v1.12.3-standalone-strict/handler-v1.json @@ -74,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/handler.json b/v1.12.3-standalone-strict/handler.json index 0b00273dd0..2e3903fbd6 100644 --- a/v1.12.3-standalone-strict/handler.json +++ b/v1.12.3-standalone-strict/handler.json @@ -74,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json b/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json index c3d41d75fc..f5f05db815 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -382,7 +406,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -412,7 +439,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -427,7 +457,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -450,7 +483,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json index 336cfdb99f..5e13098e12 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -480,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -504,7 +537,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -557,7 +593,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -602,7 +641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -665,7 +707,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -685,7 +730,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -704,7 +752,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -716,7 +767,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -733,7 +787,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -844,7 +901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -857,7 +917,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -910,7 +973,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -941,7 +1007,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -954,7 +1023,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1007,7 +1079,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1137,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1115,7 +1193,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1138,7 +1219,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1150,7 +1234,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1189,7 +1276,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json index a83b2598ca..b09cad2545 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscaler-autoscaling-v2beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -454,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +503,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -488,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -505,7 +538,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -603,7 +639,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -625,7 +664,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -637,7 +679,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -654,7 +699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -726,7 +774,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,7 +799,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -760,7 +814,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -777,7 +834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -806,7 +866,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -818,7 +881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -835,7 +901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -855,7 +924,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -962,7 +1034,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -974,7 +1049,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -987,7 +1065,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1049,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1079,7 +1163,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1091,7 +1178,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1104,7 +1194,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1191,7 +1284,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1220,7 +1316,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1232,7 +1331,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1245,7 +1347,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1307,7 +1412,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1336,7 +1444,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1348,7 +1459,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1361,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1403,7 +1520,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscaler.json b/v1.12.3-standalone-strict/horizontalpodautoscaler.json index 38e80c8960..5895c6a00a 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscaler.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscaler.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -448,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +497,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -482,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -499,7 +532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -597,7 +633,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -619,7 +658,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -631,7 +673,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -648,7 +693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -720,7 +768,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,7 +793,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -754,7 +808,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -771,7 +828,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -800,7 +860,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -812,7 +875,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -829,7 +895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -849,7 +918,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -956,7 +1028,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -968,7 +1043,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -981,7 +1059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1043,7 +1124,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1073,7 +1157,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1085,7 +1172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1098,7 +1188,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1185,7 +1278,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1214,7 +1310,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1226,7 +1325,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1239,7 +1341,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1301,7 +1406,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1330,7 +1438,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1342,7 +1453,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1355,7 +1469,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1397,7 +1514,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json b/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json index 03dd67e459..4ed392504b 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,7 +428,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -434,7 +461,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -449,7 +479,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -472,7 +505,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json index 8a00a3e2db..13ccd43900 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -469,7 +493,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -489,7 +516,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -502,7 +532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -526,7 +559,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -579,7 +615,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -624,7 +663,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -687,7 +729,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -707,7 +752,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -726,7 +774,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -738,7 +789,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -755,7 +809,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -866,7 +923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -879,7 +939,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -932,7 +995,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -963,7 +1029,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -976,7 +1045,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1029,7 +1101,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1084,7 +1159,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1160,7 +1241,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1172,7 +1256,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1211,7 +1298,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json index e5564dc6af..ddc8f3a8ad 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerlist-autoscaling-v2beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -476,7 +500,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -498,7 +525,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -510,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -527,7 +560,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -625,7 +661,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -647,7 +686,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -659,7 +701,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -676,7 +721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -748,7 +796,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -770,7 +821,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -782,7 +836,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -799,7 +856,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -828,7 +888,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -840,7 +903,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -857,7 +923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -877,7 +946,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -984,7 +1056,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -996,7 +1071,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1009,7 +1087,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1071,7 +1152,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,7 +1185,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1113,7 +1200,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1126,7 +1216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1213,7 +1306,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1242,7 +1338,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1254,7 +1353,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1267,7 +1369,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1329,7 +1434,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1358,7 +1466,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1370,7 +1481,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1383,7 +1497,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1425,7 +1542,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerlist.json b/v1.12.3-standalone-strict/horizontalpodautoscalerlist.json index 1e928c0f13..3d2ba9d0c8 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerlist.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -467,7 +491,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -489,7 +516,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -501,7 +531,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -518,7 +551,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -616,7 +652,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -638,7 +677,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -650,7 +692,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -667,7 +712,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -739,7 +787,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -761,7 +812,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -773,7 +827,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -790,7 +847,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -819,7 +879,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -831,7 +894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -848,7 +914,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -868,7 +937,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -975,7 +1047,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -987,7 +1062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1000,7 +1078,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1062,7 +1143,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1092,7 +1176,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1104,7 +1191,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1117,7 +1207,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1204,7 +1297,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1329,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1245,7 +1344,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1258,7 +1360,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1320,7 +1425,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1349,7 +1457,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1361,7 +1472,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1374,7 +1488,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1416,7 +1533,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json index ee45f7dd7e..87a75b45a7 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -42,7 +48,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json index 96fd30e952..950dfc2d84 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -77,7 +80,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -97,7 +103,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -110,7 +119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -134,7 +146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -187,7 +202,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -232,7 +250,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -295,7 +316,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -315,7 +339,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -334,7 +361,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -346,7 +376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -363,7 +396,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 4b0916eb15..70eaf0c085 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -84,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -106,7 +112,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -118,7 +127,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -135,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -233,7 +248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -255,7 +273,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -267,7 +288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -284,7 +308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -356,7 +383,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -378,7 +408,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -390,7 +423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -407,7 +443,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -436,7 +475,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -448,7 +490,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -465,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -485,7 +533,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerspec.json b/v1.12.3-standalone-strict/horizontalpodautoscalerspec.json index 4b0916eb15..70eaf0c085 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerspec.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -84,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -106,7 +112,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -118,7 +127,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -135,7 +147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -233,7 +248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -255,7 +273,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -267,7 +288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -284,7 +308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -356,7 +383,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -378,7 +408,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -390,7 +423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -407,7 +443,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -436,7 +475,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -448,7 +490,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -465,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -485,7 +533,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json index d80389a67c..e5990f6a09 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -30,7 +39,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index fc090c9e90..50f66fde99 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -81,7 +81,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -94,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -147,7 +153,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -178,7 +187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -191,7 +203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -244,7 +259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -299,7 +317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -352,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -375,7 +399,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -387,7 +414,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -408,12 +438,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -426,7 +462,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index 5aed0775ee..9619a2ea77 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -77,7 +77,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -89,7 +92,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -102,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -164,7 +173,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -194,7 +206,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -206,7 +221,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -219,7 +237,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -306,7 +327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,7 +359,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -347,7 +374,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -360,7 +390,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -422,7 +455,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +487,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -463,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -476,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -500,12 +545,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -518,7 +569,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus.json b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus.json index 5aed0775ee..9619a2ea77 100644 --- a/v1.12.3-standalone-strict/horizontalpodautoscalerstatus.json +++ b/v1.12.3-standalone-strict/horizontalpodautoscalerstatus.json @@ -77,7 +77,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -89,7 +92,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -102,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -164,7 +173,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -194,7 +206,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -206,7 +221,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -219,7 +237,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -306,7 +327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,7 +359,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -347,7 +374,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -360,7 +390,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -422,7 +455,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +487,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -463,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -476,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -500,12 +545,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -518,7 +569,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/hostportrange-extensions-v1beta1.json b/v1.12.3-standalone-strict/hostportrange-extensions-v1beta1.json index 24147a48ba..14344d6768 100644 --- a/v1.12.3-standalone-strict/hostportrange-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/hostportrange-policy-v1beta1.json b/v1.12.3-standalone-strict/hostportrange-policy-v1beta1.json index 24efb58ec4..7635709957 100644 --- a/v1.12.3-standalone-strict/hostportrange-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/hostportrange.json b/v1.12.3-standalone-strict/hostportrange.json index 24efb58ec4..7635709957 100644 --- a/v1.12.3-standalone-strict/hostportrange.json +++ b/v1.12.3-standalone-strict/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/httpgetaction-v1.json b/v1.12.3-standalone-strict/httpgetaction-v1.json index 63d6c0484f..22216d2ec0 100644 --- a/v1.12.3-standalone-strict/httpgetaction-v1.json +++ b/v1.12.3-standalone-strict/httpgetaction-v1.json @@ -52,7 +52,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/httpgetaction.json b/v1.12.3-standalone-strict/httpgetaction.json index 63d6c0484f..22216d2ec0 100644 --- a/v1.12.3-standalone-strict/httpgetaction.json +++ b/v1.12.3-standalone-strict/httpgetaction.json @@ -52,7 +52,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/httpingresspath-extensions-v1beta1.json b/v1.12.3-standalone-strict/httpingresspath-extensions-v1beta1.json index 82115a33ab..cda6eac517 100644 --- a/v1.12.3-standalone-strict/httpingresspath-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/httpingresspath-extensions-v1beta1.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/httpingresspath.json b/v1.12.3-standalone-strict/httpingresspath.json index 82115a33ab..cda6eac517 100644 --- a/v1.12.3-standalone-strict/httpingresspath.json +++ b/v1.12.3-standalone-strict/httpingresspath.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/httpingressrulevalue-extensions-v1beta1.json b/v1.12.3-standalone-strict/httpingressrulevalue-extensions-v1beta1.json index d16bafad3e..16e9282ae5 100644 --- a/v1.12.3-standalone-strict/httpingressrulevalue-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/httpingressrulevalue-extensions-v1beta1.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/httpingressrulevalue.json b/v1.12.3-standalone-strict/httpingressrulevalue.json index d16bafad3e..16e9282ae5 100644 --- a/v1.12.3-standalone-strict/httpingressrulevalue.json +++ b/v1.12.3-standalone-strict/httpingressrulevalue.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/idrange-extensions-v1beta1.json b/v1.12.3-standalone-strict/idrange-extensions-v1beta1.json index 501d1bb66f..7d0c2bd771 100644 --- a/v1.12.3-standalone-strict/idrange-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/idrange-policy-v1beta1.json b/v1.12.3-standalone-strict/idrange-policy-v1beta1.json index c7c8035366..af6355a986 100644 --- a/v1.12.3-standalone-strict/idrange-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/idrange.json b/v1.12.3-standalone-strict/idrange.json index c7c8035366..af6355a986 100644 --- a/v1.12.3-standalone-strict/idrange.json +++ b/v1.12.3-standalone-strict/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/ingress-extensions-v1beta1.json b/v1.12.3-standalone-strict/ingress-extensions-v1beta1.json index 8b3ab6aa1d..ed5b984841 100644 --- a/v1.12.3-standalone-strict/ingress-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/ingress-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,7 +415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -449,7 +476,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingress.json b/v1.12.3-standalone-strict/ingress.json index f4aff6ed38..208705cbe6 100644 --- a/v1.12.3-standalone-strict/ingress.json +++ b/v1.12.3-standalone-strict/ingress.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,7 +409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -443,7 +470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingressbackend-extensions-v1beta1.json b/v1.12.3-standalone-strict/ingressbackend-extensions-v1beta1.json index 89e282e13e..31ba21eeb4 100644 --- a/v1.12.3-standalone-strict/ingressbackend-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/ingressbackend-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingressbackend.json b/v1.12.3-standalone-strict/ingressbackend.json index 89e282e13e..31ba21eeb4 100644 --- a/v1.12.3-standalone-strict/ingressbackend.json +++ b/v1.12.3-standalone-strict/ingressbackend.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingresslist-extensions-v1beta1.json b/v1.12.3-standalone-strict/ingresslist-extensions-v1beta1.json index 34c5cc361e..b4a5683f65 100644 --- a/v1.12.3-standalone-strict/ingresslist-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/ingresslist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -413,7 +437,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -471,7 +498,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingresslist.json b/v1.12.3-standalone-strict/ingresslist.json index 48585d57b0..d4f6f2a6ac 100644 --- a/v1.12.3-standalone-strict/ingresslist.json +++ b/v1.12.3-standalone-strict/ingresslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,7 +428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -462,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingressrule-extensions-v1beta1.json b/v1.12.3-standalone-strict/ingressrule-extensions-v1beta1.json index 4cc35346e2..ee1445bbd4 100644 --- a/v1.12.3-standalone-strict/ingressrule-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/ingressrule-extensions-v1beta1.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingressrule.json b/v1.12.3-standalone-strict/ingressrule.json index 4cc35346e2..ee1445bbd4 100644 --- a/v1.12.3-standalone-strict/ingressrule.json +++ b/v1.12.3-standalone-strict/ingressrule.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingressspec-extensions-v1beta1.json b/v1.12.3-standalone-strict/ingressspec-extensions-v1beta1.json index 317ba82dd5..1c86e9ec0d 100644 --- a/v1.12.3-standalone-strict/ingressspec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/ingressspec-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/ingressspec.json b/v1.12.3-standalone-strict/ingressspec.json index 317ba82dd5..1c86e9ec0d 100644 --- a/v1.12.3-standalone-strict/ingressspec.json +++ b/v1.12.3-standalone-strict/ingressspec.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json b/v1.12.3-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json index 3f70c59aec..cdea987dba 100644 --- a/v1.12.3-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json +++ b/v1.12.3-standalone-strict/initializerconfiguration-admissionregistration-v1alpha1.json @@ -100,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -125,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -159,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -202,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -265,7 +277,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -351,7 +366,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -394,11 +412,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/initializerconfiguration.json b/v1.12.3-standalone-strict/initializerconfiguration.json index 195b846de7..06bd694dff 100644 --- a/v1.12.3-standalone-strict/initializerconfiguration.json +++ b/v1.12.3-standalone-strict/initializerconfiguration.json @@ -97,7 +97,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +125,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +162,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +205,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -259,7 +271,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -345,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -388,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json b/v1.12.3-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json index 5727c00bc3..76ec632fa9 100644 --- a/v1.12.3-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json +++ b/v1.12.3-standalone-strict/initializerconfigurationlist-admissionregistration-v1alpha1.json @@ -122,7 +122,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -147,7 +150,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -181,7 +187,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -224,7 +233,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -287,7 +299,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -373,7 +388,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -416,11 +434,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/initializerconfigurationlist.json b/v1.12.3-standalone-strict/initializerconfigurationlist.json index e7a8d96f77..ef1c193fe8 100644 --- a/v1.12.3-standalone-strict/initializerconfigurationlist.json +++ b/v1.12.3-standalone-strict/initializerconfigurationlist.json @@ -116,7 +116,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -141,7 +144,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -175,7 +181,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -215,7 +224,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -278,7 +290,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -364,7 +379,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -407,11 +425,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/initializers-meta-v1.json b/v1.12.3-standalone-strict/initializers-meta-v1.json index c1ad152d68..f589a626a4 100644 --- a/v1.12.3-standalone-strict/initializers-meta-v1.json +++ b/v1.12.3-standalone-strict/initializers-meta-v1.json @@ -41,7 +41,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -104,7 +107,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone-strict/initializers.json b/v1.12.3-standalone-strict/initializers.json index 0a346ec521..1a6c7c1634 100644 --- a/v1.12.3-standalone-strict/initializers.json +++ b/v1.12.3-standalone-strict/initializers.json @@ -38,7 +38,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -101,7 +104,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone-strict/intorstring-util-intstr.json b/v1.12.3-standalone-strict/intorstring-util-intstr.json index 15fb8c684e..83215aa045 100644 --- a/v1.12.3-standalone-strict/intorstring-util-intstr.json +++ b/v1.12.3-standalone-strict/intorstring-util-intstr.json @@ -8,5 +8,6 @@ } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/intorstring.json b/v1.12.3-standalone-strict/intorstring.json index 15fb8c684e..83215aa045 100644 --- a/v1.12.3-standalone-strict/intorstring.json +++ b/v1.12.3-standalone-strict/intorstring.json @@ -8,5 +8,6 @@ } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/iscsipersistentvolumesource-v1.json b/v1.12.3-standalone-strict/iscsipersistentvolumesource-v1.json index f625428d7a..21206afd15 100644 --- a/v1.12.3-standalone-strict/iscsipersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/iscsipersistentvolumesource.json b/v1.12.3-standalone-strict/iscsipersistentvolumesource.json index f625428d7a..21206afd15 100644 --- a/v1.12.3-standalone-strict/iscsipersistentvolumesource.json +++ b/v1.12.3-standalone-strict/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/iscsivolumesource-v1.json b/v1.12.3-standalone-strict/iscsivolumesource-v1.json index b21b5a0161..b74633a5a8 100644 --- a/v1.12.3-standalone-strict/iscsivolumesource-v1.json +++ b/v1.12.3-standalone-strict/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/iscsivolumesource.json b/v1.12.3-standalone-strict/iscsivolumesource.json index b21b5a0161..b74633a5a8 100644 --- a/v1.12.3-standalone-strict/iscsivolumesource.json +++ b/v1.12.3-standalone-strict/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/job-batch-v1.json b/v1.12.3-standalone-strict/job-batch-v1.json index e96642c329..1e7f6db71c 100644 --- a/v1.12.3-standalone-strict/job-batch-v1.json +++ b/v1.12.3-standalone-strict/job-batch-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,26 +400,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -443,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -462,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -487,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -521,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -564,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -627,7 +681,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -713,7 +770,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -756,11 +816,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -812,7 +878,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1090,7 +1159,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1187,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1289,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1386,7 +1464,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1507,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1555,7 +1642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1585,7 +1675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1620,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1644,7 +1740,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1746,7 +1845,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1782,7 +1884,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1868,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1904,7 +2012,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1941,7 +2052,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1998,7 +2112,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2014,17 +2131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2049,7 +2175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2058,7 +2187,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2094,7 +2226,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2141,7 +2276,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2198,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2214,17 +2355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2249,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2258,7 +2411,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2269,7 +2425,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,14 +2438,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2296,7 +2461,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2309,7 +2477,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2345,7 +2516,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2356,20 +2530,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2411,11 +2597,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2433,7 +2625,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2492,7 +2687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2622,15 +2820,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2744,7 +2951,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2791,7 +3001,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2821,7 +3034,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2856,7 +3072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2880,7 +3099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2982,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3018,7 +3243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3104,7 +3332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3140,7 +3371,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3234,7 +3471,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3250,17 +3490,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3285,7 +3534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3294,7 +3546,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3330,7 +3585,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3377,7 +3635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3434,7 +3695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3450,17 +3714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3485,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3494,7 +3770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3505,7 +3784,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3515,14 +3797,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3532,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3545,7 +3836,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3581,7 +3875,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3592,20 +3889,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3647,11 +3956,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3669,7 +3984,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3728,7 +4046,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3765,7 +4086,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3775,7 +4099,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3831,21 +4158,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3889,7 +4228,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3937,7 +4279,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3948,7 +4293,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3983,7 +4331,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4024,12 +4375,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4076,7 +4433,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4090,7 +4450,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4128,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4175,7 +4541,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4202,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4224,7 +4596,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4254,7 +4632,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4291,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4320,7 +4704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4357,7 +4744,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4376,12 +4766,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4431,7 +4827,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4441,7 +4840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4494,7 +4896,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4503,7 +4908,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4552,7 +4960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4587,11 +4998,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4638,7 +5055,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4677,7 +5097,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4698,7 +5121,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4738,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4755,7 +5184,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4786,7 +5218,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4806,7 +5241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4848,7 +5286,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4877,7 +5318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4917,7 +5361,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4937,7 +5384,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4957,7 +5407,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4990,7 +5443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5054,7 +5510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5107,7 +5566,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5124,7 +5586,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5159,7 +5624,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5181,7 +5649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5194,7 +5665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5218,7 +5692,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5298,7 +5775,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5309,7 +5789,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5379,7 +5862,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5392,7 +5878,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/job.json b/v1.12.3-standalone-strict/job.json index f85b586a6d..c2627a181e 100644 --- a/v1.12.3-standalone-strict/job.json +++ b/v1.12.3-standalone-strict/job.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,26 +394,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -437,7 +476,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -456,7 +498,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -481,7 +526,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -515,7 +563,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -555,7 +606,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -618,7 +672,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -704,7 +761,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -747,11 +807,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -803,7 +869,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1081,7 +1150,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1178,7 +1250,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1280,7 +1355,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1377,7 +1455,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1417,7 +1498,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1499,7 +1583,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1546,7 +1633,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1576,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1611,7 +1704,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1635,7 +1731,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1737,7 +1836,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1773,7 +1875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1859,7 +1964,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1895,7 +2003,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1932,7 +2043,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1989,7 +2103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2005,17 +2122,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2040,7 +2166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2049,7 +2178,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2085,7 +2217,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2132,7 +2267,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2189,7 +2327,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2205,17 +2346,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2240,7 +2390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2249,7 +2402,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2260,7 +2416,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,14 +2429,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,7 +2452,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2300,7 +2468,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2336,7 +2507,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2347,20 +2521,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2402,11 +2588,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2424,7 +2616,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2483,7 +2678,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2613,15 +2811,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2735,7 +2942,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2782,7 +2992,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2812,7 +3025,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2847,7 +3063,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2871,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2973,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3009,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3095,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3131,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3168,7 +3402,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3225,7 +3462,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3241,17 +3481,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3276,7 +3525,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3285,7 +3537,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3321,7 +3576,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3368,7 +3626,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3425,7 +3686,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3441,17 +3705,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3476,7 +3749,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3485,7 +3761,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3496,7 +3775,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3506,14 +3788,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,7 +3811,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3536,7 +3827,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3572,7 +3866,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3583,20 +3880,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3638,11 +3947,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3660,7 +3975,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3719,7 +4037,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3756,7 +4077,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3766,7 +4090,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3822,21 +4149,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3880,7 +4219,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3928,7 +4270,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3939,7 +4284,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3974,7 +4322,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4015,12 +4366,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4067,7 +4424,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4081,7 +4441,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4119,7 +4482,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4166,7 +4532,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4193,7 +4562,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4215,7 +4587,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4610,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4245,7 +4623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4282,7 +4663,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4311,7 +4695,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4348,7 +4735,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4367,12 +4757,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4422,7 +4818,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4432,7 +4831,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4485,7 +4887,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4494,7 +4899,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4543,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4578,11 +4989,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4629,7 +5046,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4668,7 +5088,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4689,7 +5112,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4729,7 +5155,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4746,7 +5175,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4777,7 +5209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4797,7 +5232,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4839,7 +5277,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4868,7 +5309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4908,7 +5352,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4928,7 +5375,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4948,7 +5398,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4981,7 +5434,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5045,7 +5501,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5098,7 +5557,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5577,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5150,7 +5615,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5172,7 +5640,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5185,7 +5656,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5209,7 +5683,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5289,7 +5766,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5300,7 +5780,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5370,7 +5853,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5383,7 +5869,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/joblist-batch-v1.json b/v1.12.3-standalone-strict/joblist-batch-v1.json index 7b26dc5656..2a5cf88e80 100644 --- a/v1.12.3-standalone-strict/joblist-batch-v1.json +++ b/v1.12.3-standalone-strict/joblist-batch-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,26 +422,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -465,7 +504,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -484,7 +526,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -509,7 +554,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -543,7 +591,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -586,7 +637,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -649,7 +703,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -735,7 +792,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -778,11 +838,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -834,7 +900,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1112,7 +1181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1209,7 +1281,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1311,7 +1386,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1408,7 +1486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1448,7 +1529,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1530,7 +1614,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1577,7 +1664,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1607,7 +1697,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1642,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1666,7 +1762,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1768,7 +1867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1804,7 +1906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1890,7 +1995,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1926,7 +2034,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1963,7 +2074,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2020,7 +2134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2036,17 +2153,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2071,7 +2197,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2080,7 +2209,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2116,7 +2248,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2163,7 +2298,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2220,7 +2358,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2236,17 +2377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2271,7 +2421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2280,7 +2433,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2291,7 +2447,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2301,14 +2460,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2318,7 +2483,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2331,7 +2499,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2367,7 +2538,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2378,20 +2552,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2433,11 +2619,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2455,7 +2647,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2514,7 +2709,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2644,15 +2842,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2766,7 +2973,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2813,7 +3023,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2843,7 +3056,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2878,7 +3094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2902,7 +3121,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3004,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3040,7 +3265,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3126,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3162,7 +3393,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3199,7 +3433,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3256,7 +3493,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3272,17 +3512,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3307,7 +3556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3316,7 +3568,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3352,7 +3607,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3399,7 +3657,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3456,7 +3717,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3472,17 +3736,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3507,7 +3780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3516,7 +3792,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3527,7 +3806,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3537,14 +3819,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3554,7 +3842,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3567,7 +3858,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3603,7 +3897,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3614,20 +3911,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3669,11 +3978,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3691,7 +4006,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3750,7 +4068,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3787,7 +4108,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3797,7 +4121,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3853,21 +4180,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3911,7 +4250,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3959,7 +4301,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3970,7 +4315,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4005,7 +4353,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4046,12 +4397,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4098,7 +4455,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4112,7 +4472,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4150,7 +4513,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4197,7 +4563,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4224,7 +4593,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4246,7 +4618,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4266,7 +4641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4276,7 +4654,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4313,7 +4694,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4342,7 +4726,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4379,7 +4766,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4398,12 +4788,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4453,7 +4849,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4463,7 +4862,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4516,7 +4918,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4525,7 +4930,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4574,7 +4982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4609,11 +5020,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4660,7 +5077,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4699,7 +5119,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4720,7 +5143,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4760,7 +5186,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4777,7 +5206,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4808,7 +5240,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4828,7 +5263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4870,7 +5308,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4899,7 +5340,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4939,7 +5383,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4959,7 +5406,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4979,7 +5429,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5012,7 +5465,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5076,7 +5532,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5129,7 +5588,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5146,7 +5608,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5181,7 +5646,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5203,7 +5671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5216,7 +5687,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5240,7 +5714,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5797,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5331,7 +5811,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5401,7 +5884,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5414,7 +5900,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/joblist.json b/v1.12.3-standalone-strict/joblist.json index dad2054dcd..a93b1faa8a 100644 --- a/v1.12.3-standalone-strict/joblist.json +++ b/v1.12.3-standalone-strict/joblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,26 +413,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -456,7 +495,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -475,7 +517,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -500,7 +545,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -534,7 +582,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -574,7 +625,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -637,7 +691,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -723,7 +780,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -766,11 +826,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -822,7 +888,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1100,7 +1169,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1197,7 +1269,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1299,7 +1374,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1396,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1436,7 +1517,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1518,7 +1602,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1565,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1595,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1654,7 +1750,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1756,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1878,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1914,7 +2022,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2062,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2008,7 +2122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2024,17 +2141,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2059,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2068,7 +2197,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2104,7 +2236,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2151,7 +2286,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2208,7 +2346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2224,17 +2365,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2259,7 +2409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2268,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2279,7 +2435,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2289,14 +2448,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2306,7 +2471,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2319,7 +2487,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2355,7 +2526,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2366,20 +2540,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2421,11 +2607,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2443,7 +2635,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2502,7 +2697,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2632,15 +2830,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2754,7 +2961,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2801,7 +3011,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2831,7 +3044,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2890,7 +3109,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2992,7 +3214,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3028,7 +3253,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3150,7 +3381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3187,7 +3421,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3244,7 +3481,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3260,17 +3500,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3295,7 +3544,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3304,7 +3556,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3340,7 +3595,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3387,7 +3645,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3444,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3460,17 +3724,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3495,7 +3768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3504,7 +3780,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3515,7 +3794,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3525,14 +3807,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3542,7 +3830,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3555,7 +3846,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3591,7 +3885,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3602,20 +3899,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3657,11 +3966,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3679,7 +3994,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3738,7 +4056,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3775,7 +4096,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3785,7 +4109,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3841,21 +4168,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3899,7 +4238,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3947,7 +4289,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3958,7 +4303,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3993,7 +4341,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4034,12 +4385,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4086,7 +4443,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4100,7 +4460,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4138,7 +4501,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4185,7 +4551,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4212,7 +4581,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4234,7 +4606,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4254,7 +4629,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4264,7 +4642,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4301,7 +4682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4330,7 +4714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4367,7 +4754,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4386,12 +4776,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4441,7 +4837,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4451,7 +4850,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4906,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4513,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4562,7 +4970,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4597,11 +5008,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4648,7 +5065,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4687,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4708,7 +5131,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4748,7 +5174,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4765,7 +5194,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4796,7 +5228,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4816,7 +5251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4858,7 +5296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4887,7 +5328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4927,7 +5371,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4947,7 +5394,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4967,7 +5417,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5000,7 +5453,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5064,7 +5520,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5576,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5134,7 +5596,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5169,7 +5634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5191,7 +5659,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5204,7 +5675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5228,7 +5702,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5308,7 +5785,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5319,7 +5799,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5389,7 +5872,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5402,7 +5888,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobspec-batch-v1.json b/v1.12.3-standalone-strict/jobspec-batch-v1.json index c8b30dd1f7..a1eec70c6a 100644 --- a/v1.12.3-standalone-strict/jobspec-batch-v1.json +++ b/v1.12.3-standalone-strict/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +110,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +138,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +175,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -194,7 +221,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -257,7 +287,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -343,7 +376,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -386,11 +422,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -442,7 +484,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -720,7 +765,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -817,7 +865,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -919,7 +970,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1016,7 +1070,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1056,7 +1113,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1138,7 +1198,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1185,7 +1248,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1215,7 +1281,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1250,7 +1319,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1274,7 +1346,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1376,7 +1451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1412,7 +1490,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1498,7 +1579,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,7 +1618,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1571,7 +1658,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1628,7 +1718,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1644,17 +1737,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1679,7 +1781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1688,7 +1793,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1724,7 +1832,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1771,7 +1882,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1828,7 +1942,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1844,17 +1961,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1879,7 +2005,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +2017,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1899,7 +2031,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,14 +2044,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1926,7 +2067,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1939,7 +2083,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1975,7 +2122,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1986,20 +2136,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2041,11 +2203,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2063,7 +2231,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2122,7 +2293,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2252,15 +2426,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2374,7 +2557,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2421,7 +2607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2451,7 +2640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2486,7 +2678,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2510,7 +2705,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2612,7 +2810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2648,7 +2849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2734,7 +2938,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2770,7 +2977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2807,7 +3017,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2864,7 +3077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2880,17 +3096,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2915,7 +3140,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2924,7 +3152,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2960,7 +3191,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3007,7 +3241,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3064,7 +3301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3080,17 +3320,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3115,7 +3364,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3376,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3135,7 +3390,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3145,14 +3403,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3162,7 +3426,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3175,7 +3442,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3211,7 +3481,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3222,20 +3495,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3277,11 +3562,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3299,7 +3590,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3358,7 +3652,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3395,7 +3692,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3405,7 +3705,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3461,21 +3764,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3519,7 +3834,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3567,7 +3885,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3578,7 +3899,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3613,7 +3937,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3654,12 +3981,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3706,7 +4039,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3720,7 +4056,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3758,7 +4097,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3805,7 +4147,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3832,7 +4177,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3854,7 +4202,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3874,7 +4225,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3884,7 +4238,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3921,7 +4278,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3950,7 +4310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3987,7 +4350,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4006,12 +4372,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4061,7 +4433,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4071,7 +4446,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4124,7 +4502,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4133,7 +4514,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4182,7 +4566,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4217,11 +4604,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4268,7 +4661,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4307,7 +4703,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4328,7 +4727,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4368,7 +4770,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4385,7 +4790,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4416,7 +4824,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4436,7 +4847,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4478,7 +4892,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4507,7 +4924,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4547,7 +4967,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4567,7 +4990,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4587,7 +5013,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4620,7 +5049,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4684,7 +5116,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4737,7 +5172,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4754,7 +5192,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4789,7 +5230,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4811,7 +5255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4824,7 +5271,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4848,7 +5298,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4928,7 +5381,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobspec.json b/v1.12.3-standalone-strict/jobspec.json index 857d4428cf..94a8649a5c 100644 --- a/v1.12.3-standalone-strict/jobspec.json +++ b/v1.12.3-standalone-strict/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +110,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +138,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +175,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -191,7 +218,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -254,7 +284,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +373,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +419,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -439,7 +481,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -717,7 +762,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -814,7 +862,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -916,7 +967,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1013,7 +1067,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1053,7 +1110,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1135,7 +1195,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1182,7 +1245,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1212,7 +1278,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1247,7 +1316,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1271,7 +1343,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1373,7 +1448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1409,7 +1487,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1495,7 +1576,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1531,7 +1615,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1568,7 +1655,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1625,7 +1715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1641,17 +1734,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1676,7 +1778,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1685,7 +1790,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1721,7 +1829,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1768,7 +1879,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1825,7 +1939,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1841,17 +1958,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1876,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1885,7 +2014,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1896,7 +2028,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1906,14 +2041,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1923,7 +2064,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1936,7 +2080,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1972,7 +2119,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1983,20 +2133,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2038,11 +2200,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2060,7 +2228,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2119,7 +2290,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2249,15 +2423,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2371,7 +2554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2418,7 +2604,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2448,7 +2637,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2483,7 +2675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2507,7 +2702,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2609,7 +2807,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2645,7 +2846,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2731,7 +2935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2767,7 +2974,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2804,7 +3014,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2861,7 +3074,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2877,17 +3093,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2912,7 +3137,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2921,7 +3149,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2957,7 +3188,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3004,7 +3238,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3061,7 +3298,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3077,17 +3317,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3112,7 +3361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3121,7 +3373,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3132,7 +3387,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3142,14 +3400,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3159,7 +3423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3172,7 +3439,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3208,7 +3478,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3219,20 +3492,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3274,11 +3559,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3296,7 +3587,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3355,7 +3649,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3392,7 +3689,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3402,7 +3702,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3458,21 +3761,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3516,7 +3831,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3564,7 +3882,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3575,7 +3896,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3610,7 +3934,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3651,12 +3978,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3703,7 +4036,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3717,7 +4053,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3755,7 +4094,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3802,7 +4144,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3829,7 +4174,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3851,7 +4199,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3871,7 +4222,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3881,7 +4235,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3918,7 +4275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3947,7 +4307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3984,7 +4347,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4003,12 +4369,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4058,7 +4430,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4068,7 +4443,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4121,7 +4499,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4130,7 +4511,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4179,7 +4563,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4214,11 +4601,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4265,7 +4658,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4304,7 +4700,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4325,7 +4724,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4365,7 +4767,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4382,7 +4787,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4413,7 +4821,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4433,7 +4844,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4475,7 +4889,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4504,7 +4921,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4544,7 +4964,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4987,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4584,7 +5010,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4617,7 +5046,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4681,7 +5113,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4734,7 +5169,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4751,7 +5189,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4786,7 +5227,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4808,7 +5252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4821,7 +5268,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4845,7 +5295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4925,7 +5378,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobstatus-batch-v1.json b/v1.12.3-standalone-strict/jobstatus-batch-v1.json index f7690ebca4..cafb1a297b 100644 --- a/v1.12.3-standalone-strict/jobstatus-batch-v1.json +++ b/v1.12.3-standalone-strict/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -73,7 +76,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -86,7 +92,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobstatus.json b/v1.12.3-standalone-strict/jobstatus.json index f7690ebca4..cafb1a297b 100644 --- a/v1.12.3-standalone-strict/jobstatus.json +++ b/v1.12.3-standalone-strict/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -73,7 +76,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -86,7 +92,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobtemplatespec-batch-v1beta1.json b/v1.12.3-standalone-strict/jobtemplatespec-batch-v1beta1.json index b394e44db4..ceab21347e 100644 --- a/v1.12.3-standalone-strict/jobtemplatespec-batch-v1beta1.json +++ b/v1.12.3-standalone-strict/jobtemplatespec-batch-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -108,7 +117,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -171,7 +183,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -257,7 +272,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -300,11 +318,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -356,26 +380,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -501,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -544,7 +595,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -607,7 +661,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -693,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -736,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -792,7 +858,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1139,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1167,7 +1239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1269,7 +1344,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1487,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1488,7 +1572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1535,7 +1622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1565,7 +1655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1600,7 +1693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1624,7 +1720,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1726,7 +1825,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,7 +1864,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1848,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1884,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1921,7 +2032,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1978,7 +2092,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1994,17 +2111,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2029,7 +2155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2038,7 +2167,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2074,7 +2206,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2121,7 +2256,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2178,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2335,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2238,7 +2391,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2249,7 +2405,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2259,14 +2418,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2276,7 +2441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2289,7 +2457,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2325,7 +2496,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2336,20 +2510,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2391,11 +2577,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2413,7 +2605,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2472,7 +2667,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2602,15 +2800,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2931,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2771,7 +2981,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2801,7 +3014,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2836,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2860,7 +3079,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2962,7 +3184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2998,7 +3223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3084,7 +3312,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3120,7 +3351,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3157,7 +3391,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3214,7 +3451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3230,17 +3470,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3265,7 +3514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3274,7 +3526,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3310,7 +3565,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3357,7 +3615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3414,7 +3675,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3430,17 +3694,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3465,7 +3738,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3474,7 +3750,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3485,7 +3764,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3495,14 +3777,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3512,7 +3800,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3525,7 +3816,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3561,7 +3855,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3572,20 +3869,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3627,11 +3936,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3649,7 +3964,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3708,7 +4026,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3745,7 +4066,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3755,7 +4079,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3811,21 +4138,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3869,7 +4208,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3917,7 +4259,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3928,7 +4273,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3963,7 +4311,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4004,12 +4355,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4056,7 +4413,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4070,7 +4430,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4108,7 +4471,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4155,7 +4521,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4182,7 +4551,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4204,7 +4576,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4224,7 +4599,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4234,7 +4612,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4271,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4337,7 +4724,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4356,12 +4746,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4411,7 +4807,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4421,7 +4820,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4474,7 +4876,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4483,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4532,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4567,11 +4978,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4618,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4657,7 +5077,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4678,7 +5101,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4718,7 +5144,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4735,7 +5164,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4766,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4786,7 +5221,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4828,7 +5266,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4857,7 +5298,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4897,7 +5341,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4917,7 +5364,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4937,7 +5387,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4970,7 +5423,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5034,7 +5490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5087,7 +5546,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5104,7 +5566,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5139,7 +5604,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5161,7 +5629,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5174,7 +5645,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5198,7 +5672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5278,7 +5755,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobtemplatespec-batch-v2alpha1.json b/v1.12.3-standalone-strict/jobtemplatespec-batch-v2alpha1.json index b394e44db4..ceab21347e 100644 --- a/v1.12.3-standalone-strict/jobtemplatespec-batch-v2alpha1.json +++ b/v1.12.3-standalone-strict/jobtemplatespec-batch-v2alpha1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -108,7 +117,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -171,7 +183,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -257,7 +272,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -300,11 +318,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -356,26 +380,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -442,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -501,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -544,7 +595,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -607,7 +661,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -693,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -736,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -792,7 +858,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1139,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1167,7 +1239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1269,7 +1344,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1487,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1488,7 +1572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1535,7 +1622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1565,7 +1655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1600,7 +1693,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1624,7 +1720,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1726,7 +1825,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,7 +1864,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1848,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1884,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1921,7 +2032,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1978,7 +2092,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1994,17 +2111,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2029,7 +2155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2038,7 +2167,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2074,7 +2206,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2121,7 +2256,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2178,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2335,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2238,7 +2391,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2249,7 +2405,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2259,14 +2418,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2276,7 +2441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2289,7 +2457,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2325,7 +2496,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2336,20 +2510,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2391,11 +2577,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2413,7 +2605,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2472,7 +2667,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2602,15 +2800,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2931,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2771,7 +2981,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2801,7 +3014,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2836,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2860,7 +3079,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2962,7 +3184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2998,7 +3223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3084,7 +3312,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3120,7 +3351,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3157,7 +3391,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3214,7 +3451,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3230,17 +3470,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3265,7 +3514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3274,7 +3526,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3310,7 +3565,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3357,7 +3615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3414,7 +3675,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3430,17 +3694,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3465,7 +3738,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3474,7 +3750,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3485,7 +3764,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3495,14 +3777,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3512,7 +3800,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3525,7 +3816,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3561,7 +3855,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3572,20 +3869,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3627,11 +3936,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3649,7 +3964,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3708,7 +4026,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3745,7 +4066,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3755,7 +4079,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3811,21 +4138,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3869,7 +4208,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3917,7 +4259,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3928,7 +4273,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3963,7 +4311,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4004,12 +4355,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4056,7 +4413,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4070,7 +4430,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4108,7 +4471,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4155,7 +4521,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4182,7 +4551,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4204,7 +4576,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4224,7 +4599,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4234,7 +4612,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4271,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4300,7 +4684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4337,7 +4724,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4356,12 +4746,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4411,7 +4807,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4421,7 +4820,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4474,7 +4876,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4483,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4532,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4567,11 +4978,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4618,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4657,7 +5077,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4678,7 +5101,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4718,7 +5144,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4735,7 +5164,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4766,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4786,7 +5221,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4828,7 +5266,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4857,7 +5298,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4897,7 +5341,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4917,7 +5364,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4937,7 +5387,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4970,7 +5423,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5034,7 +5490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5087,7 +5546,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5104,7 +5566,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5139,7 +5604,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5161,7 +5629,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5174,7 +5645,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5198,7 +5672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5278,7 +5755,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/jobtemplatespec.json b/v1.12.3-standalone-strict/jobtemplatespec.json index 5b03ea98d0..cc9c904619 100644 --- a/v1.12.3-standalone-strict/jobtemplatespec.json +++ b/v1.12.3-standalone-strict/jobtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -105,7 +114,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -168,7 +180,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -254,7 +269,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,11 +315,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -353,26 +377,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -538,7 +589,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +655,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -687,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -730,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -786,7 +852,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1064,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1161,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1263,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1360,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1400,7 +1481,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1482,7 +1566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1529,7 +1616,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1559,7 +1649,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1594,7 +1687,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1714,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1720,7 +1819,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1756,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1842,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1878,7 +1986,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1915,7 +2026,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1972,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1988,17 +2105,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2023,7 +2149,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2032,7 +2161,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2068,7 +2200,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2115,7 +2250,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2172,7 +2310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2188,17 +2329,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2223,7 +2373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2232,7 +2385,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2243,7 +2399,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2253,14 +2412,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,7 +2435,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2283,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2319,7 +2490,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2330,20 +2504,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2571,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2599,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2466,7 +2661,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2596,15 +2794,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2718,7 +2925,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2765,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2795,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2830,7 +3046,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2854,7 +3073,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2956,7 +3178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2992,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3114,7 +3345,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3151,7 +3385,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3208,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3224,17 +3464,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3259,7 +3508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3268,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3304,7 +3559,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3351,7 +3609,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3408,7 +3669,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3424,17 +3688,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3459,7 +3732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3468,7 +3744,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3479,7 +3758,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3489,14 +3771,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3506,7 +3794,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3519,7 +3810,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3555,7 +3849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3566,20 +3863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3621,11 +3930,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3643,7 +3958,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3702,7 +4020,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3739,7 +4060,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3749,7 +4073,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3805,21 +4132,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3863,7 +4202,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3911,7 +4253,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3922,7 +4267,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3957,7 +4305,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3998,12 +4349,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4050,7 +4407,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4064,7 +4424,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4102,7 +4465,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4149,7 +4515,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4176,7 +4545,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4198,7 +4570,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4218,7 +4593,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4606,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4265,7 +4646,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4294,7 +4678,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4331,7 +4718,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4350,12 +4740,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4405,7 +4801,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4415,7 +4814,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4468,7 +4870,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4477,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4526,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,11 +4972,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4612,7 +5029,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4651,7 +5071,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4672,7 +5095,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4712,7 +5138,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4729,7 +5158,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4760,7 +5192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4822,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4851,7 +5292,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4891,7 +5335,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4911,7 +5358,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4931,7 +5381,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4964,7 +5417,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5028,7 +5484,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5081,7 +5540,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5098,7 +5560,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5133,7 +5598,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5155,7 +5623,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5168,7 +5639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5192,7 +5666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5272,7 +5749,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/json-apiextensions-v1beta1.json b/v1.12.3-standalone-strict/json-apiextensions-v1beta1.json index 898e4f717a..ae1faf15f4 100644 --- a/v1.12.3-standalone-strict/json-apiextensions-v1beta1.json +++ b/v1.12.3-standalone-strict/json-apiextensions-v1beta1.json @@ -1,5 +1,6 @@ { "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/json.json b/v1.12.3-standalone-strict/json.json index 898e4f717a..ae1faf15f4 100644 --- a/v1.12.3-standalone-strict/json.json +++ b/v1.12.3-standalone-strict/json.json @@ -1,5 +1,6 @@ { "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/keytopath-v1.json b/v1.12.3-standalone-strict/keytopath-v1.json index c6dfff85b9..6d3c8c8e69 100644 --- a/v1.12.3-standalone-strict/keytopath-v1.json +++ b/v1.12.3-standalone-strict/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-standalone-strict/keytopath.json b/v1.12.3-standalone-strict/keytopath.json index c6dfff85b9..6d3c8c8e69 100644 --- a/v1.12.3-standalone-strict/keytopath.json +++ b/v1.12.3-standalone-strict/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-standalone-strict/labelselector-meta-v1.json b/v1.12.3-standalone-strict/labelselector-meta-v1.json index 68ba3535ea..23cbd7b3cd 100644 --- a/v1.12.3-standalone-strict/labelselector-meta-v1.json +++ b/v1.12.3-standalone-strict/labelselector-meta-v1.json @@ -43,7 +43,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/labelselector.json b/v1.12.3-standalone-strict/labelselector.json index 68ba3535ea..23cbd7b3cd 100644 --- a/v1.12.3-standalone-strict/labelselector.json +++ b/v1.12.3-standalone-strict/labelselector.json @@ -43,7 +43,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/lease-coordination-v1beta1.json b/v1.12.3-standalone-strict/lease-coordination-v1beta1.json index 1874f13559..e247be7155 100644 --- a/v1.12.3-standalone-strict/lease-coordination-v1beta1.json +++ b/v1.12.3-standalone-strict/lease-coordination-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -388,12 +412,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone-strict/lease.json b/v1.12.3-standalone-strict/lease.json index 845e354a3a..ace6a8d74d 100644 --- a/v1.12.3-standalone-strict/lease.json +++ b/v1.12.3-standalone-strict/lease.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -382,12 +406,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone-strict/leaselist-coordination-v1beta1.json b/v1.12.3-standalone-strict/leaselist-coordination-v1beta1.json index 20125f5c58..d16b96bab7 100644 --- a/v1.12.3-standalone-strict/leaselist-coordination-v1beta1.json +++ b/v1.12.3-standalone-strict/leaselist-coordination-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -410,12 +434,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone-strict/leaselist.json b/v1.12.3-standalone-strict/leaselist.json index 69e93d9e1e..573f36a01c 100644 --- a/v1.12.3-standalone-strict/leaselist.json +++ b/v1.12.3-standalone-strict/leaselist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,12 +425,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone-strict/leasespec-coordination-v1beta1.json b/v1.12.3-standalone-strict/leasespec-coordination-v1beta1.json index 316bf158e3..dce17f2889 100644 --- a/v1.12.3-standalone-strict/leasespec-coordination-v1beta1.json +++ b/v1.12.3-standalone-strict/leasespec-coordination-v1beta1.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone-strict/leasespec.json b/v1.12.3-standalone-strict/leasespec.json index 316bf158e3..dce17f2889 100644 --- a/v1.12.3-standalone-strict/leasespec.json +++ b/v1.12.3-standalone-strict/leasespec.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone-strict/lifecycle-v1.json b/v1.12.3-standalone-strict/lifecycle-v1.json index 5304e32c4a..b6a9608a8d 100644 --- a/v1.12.3-standalone-strict/lifecycle-v1.json +++ b/v1.12.3-standalone-strict/lifecycle-v1.json @@ -77,7 +77,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -199,7 +205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -235,7 +244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/lifecycle.json b/v1.12.3-standalone-strict/lifecycle.json index 5304e32c4a..b6a9608a8d 100644 --- a/v1.12.3-standalone-strict/lifecycle.json +++ b/v1.12.3-standalone-strict/lifecycle.json @@ -77,7 +77,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -113,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -199,7 +205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -235,7 +244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrange-v1.json b/v1.12.3-standalone-strict/limitrange-v1.json index bcb24b16c0..da2869cf69 100644 --- a/v1.12.3-standalone-strict/limitrange-v1.json +++ b/v1.12.3-standalone-strict/limitrange-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -382,7 +406,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -392,14 +419,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -409,14 +442,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -426,14 +465,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -443,14 +488,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -460,7 +511,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrange.json b/v1.12.3-standalone-strict/limitrange.json index 53e94039e7..949a7a079a 100644 --- a/v1.12.3-standalone-strict/limitrange.json +++ b/v1.12.3-standalone-strict/limitrange.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -386,14 +413,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -403,14 +436,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -420,14 +459,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -437,14 +482,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -454,7 +505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrangeitem-v1.json b/v1.12.3-standalone-strict/limitrangeitem-v1.json index a59814b24a..e0fa5a871e 100644 --- a/v1.12.3-standalone-strict/limitrangeitem-v1.json +++ b/v1.12.3-standalone-strict/limitrangeitem-v1.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrangeitem.json b/v1.12.3-standalone-strict/limitrangeitem.json index a59814b24a..e0fa5a871e 100644 --- a/v1.12.3-standalone-strict/limitrangeitem.json +++ b/v1.12.3-standalone-strict/limitrangeitem.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrangelist-v1.json b/v1.12.3-standalone-strict/limitrangelist-v1.json index 0c55e9391b..f189703fbe 100644 --- a/v1.12.3-standalone-strict/limitrangelist-v1.json +++ b/v1.12.3-standalone-strict/limitrangelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,7 +428,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -414,14 +441,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -431,14 +464,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -448,14 +487,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -465,14 +510,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -482,7 +533,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrangelist.json b/v1.12.3-standalone-strict/limitrangelist.json index ad89ab6534..277261ebb6 100644 --- a/v1.12.3-standalone-strict/limitrangelist.json +++ b/v1.12.3-standalone-strict/limitrangelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +419,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -405,14 +432,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -422,14 +455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -439,14 +478,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -456,14 +501,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -473,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrangespec-v1.json b/v1.12.3-standalone-strict/limitrangespec-v1.json index 9955a05450..d92fedf451 100644 --- a/v1.12.3-standalone-strict/limitrangespec-v1.json +++ b/v1.12.3-standalone-strict/limitrangespec-v1.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/limitrangespec.json b/v1.12.3-standalone-strict/limitrangespec.json index 9955a05450..d92fedf451 100644 --- a/v1.12.3-standalone-strict/limitrangespec.json +++ b/v1.12.3-standalone-strict/limitrangespec.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1.json b/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1.json index 4943271e41..85d6bc5306 100644 --- a/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1.json +++ b/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json b/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json index 50e848da0c..e9a67b8140 100644 --- a/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/localsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/localsubjectaccessreview.json b/v1.12.3-standalone-strict/localsubjectaccessreview.json index f786c7a37b..b40d6d08e3 100644 --- a/v1.12.3-standalone-strict/localsubjectaccessreview.json +++ b/v1.12.3-standalone-strict/localsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -501,7 +528,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/metricidentifier-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/metricidentifier-autoscaling-v2beta2.json index 92acfd9ed3..508280f7c5 100644 --- a/v1.12.3-standalone-strict/metricidentifier-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/metricidentifier-autoscaling-v2beta2.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/metricidentifier.json b/v1.12.3-standalone-strict/metricidentifier.json index 92acfd9ed3..508280f7c5 100644 --- a/v1.12.3-standalone-strict/metricidentifier.json +++ b/v1.12.3-standalone-strict/metricidentifier.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta1.json index 544176bcf3..65d0f9c935 100644 --- a/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta1.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -92,7 +98,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -116,7 +125,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -169,7 +181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -214,7 +229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -277,7 +295,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,7 +318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -316,7 +340,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -328,7 +355,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta2.json index 4b9c703f9a..8a0e4ddf7b 100644 --- a/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/metricspec-autoscaling-v2beta2.json @@ -66,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +91,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -100,7 +106,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -215,7 +227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -237,7 +252,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -249,7 +267,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -266,7 +287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -338,7 +362,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -360,7 +387,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -372,7 +402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -389,7 +422,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -418,7 +454,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -430,7 +469,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -447,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metricspec.json b/v1.12.3-standalone-strict/metricspec.json index 4b9c703f9a..8a0e4ddf7b 100644 --- a/v1.12.3-standalone-strict/metricspec.json +++ b/v1.12.3-standalone-strict/metricspec.json @@ -66,7 +66,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +91,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -100,7 +106,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -117,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -215,7 +227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -237,7 +252,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -249,7 +267,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -266,7 +287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -338,7 +362,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -360,7 +387,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -372,7 +402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -389,7 +422,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -418,7 +454,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -430,7 +469,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -447,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta1.json index f292cb425b..53b7ef6b5d 100644 --- a/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -33,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -86,7 +92,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -130,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -183,7 +198,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -238,7 +256,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -291,7 +312,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,7 +338,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -326,7 +353,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta2.json index f6f2a31f0b..daf91f243c 100644 --- a/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/metricstatus-autoscaling-v2beta2.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -103,7 +112,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +145,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -145,7 +160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -158,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -245,7 +266,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -274,7 +298,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -286,7 +313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -299,7 +329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -361,7 +394,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -390,7 +426,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -402,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -415,7 +457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metricstatus.json b/v1.12.3-standalone-strict/metricstatus.json index f6f2a31f0b..daf91f243c 100644 --- a/v1.12.3-standalone-strict/metricstatus.json +++ b/v1.12.3-standalone-strict/metricstatus.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -103,7 +112,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +145,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -145,7 +160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -158,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -245,7 +266,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -274,7 +298,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -286,7 +313,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -299,7 +329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -361,7 +394,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -390,7 +426,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -402,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -415,7 +457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metrictarget-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/metrictarget-autoscaling-v2beta2.json index 6b427678d4..6f97784561 100644 --- a/v1.12.3-standalone-strict/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metrictarget.json b/v1.12.3-standalone-strict/metrictarget.json index 6b427678d4..6f97784561 100644 --- a/v1.12.3-standalone-strict/metrictarget.json +++ b/v1.12.3-standalone-strict/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json index 29dd12f69d..9e0e1ced2f 100644 --- a/v1.12.3-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/metricvaluestatus.json b/v1.12.3-standalone-strict/metricvaluestatus.json index 29dd12f69d..9e0e1ced2f 100644 --- a/v1.12.3-standalone-strict/metricvaluestatus.json +++ b/v1.12.3-standalone-strict/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/microtime-meta-v1.json b/v1.12.3-standalone-strict/microtime-meta-v1.json index c3e6bac51e..70f9e08ff5 100644 --- a/v1.12.3-standalone-strict/microtime-meta-v1.json +++ b/v1.12.3-standalone-strict/microtime-meta-v1.json @@ -2,5 +2,6 @@ "description": "MicroTime is version of Time with microsecond level precision.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/microtime.json b/v1.12.3-standalone-strict/microtime.json index c3e6bac51e..70f9e08ff5 100644 --- a/v1.12.3-standalone-strict/microtime.json +++ b/v1.12.3-standalone-strict/microtime.json @@ -2,5 +2,6 @@ "description": "MicroTime is version of Time with microsecond level precision.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.3-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json index 75b8f9f725..c44ff8c5b3 100644 --- a/v1.12.3-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/mutatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -483,7 +507,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/mutatingwebhookconfiguration.json b/v1.12.3-standalone-strict/mutatingwebhookconfiguration.json index c13a52c744..6df668fb77 100644 --- a/v1.12.3-standalone-strict/mutatingwebhookconfiguration.json +++ b/v1.12.3-standalone-strict/mutatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -477,7 +501,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json index ab73ba96b8..01e407533c 100644 --- a/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -505,7 +529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist.json b/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist.json index 4bd6b78833..a47ddbe60d 100644 --- a/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist.json +++ b/v1.12.3-standalone-strict/mutatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -496,7 +520,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/namespace-v1.json b/v1.12.3-standalone-strict/namespace-v1.json index e647e1e75b..1946261ca5 100644 --- a/v1.12.3-standalone-strict/namespace-v1.json +++ b/v1.12.3-standalone-strict/namespace-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/namespace.json b/v1.12.3-standalone-strict/namespace.json index 3d93c11320..f72472a960 100644 --- a/v1.12.3-standalone-strict/namespace.json +++ b/v1.12.3-standalone-strict/namespace.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/namespacelist-v1.json b/v1.12.3-standalone-strict/namespacelist-v1.json index 8effddbf72..4df5cfc770 100644 --- a/v1.12.3-standalone-strict/namespacelist-v1.json +++ b/v1.12.3-standalone-strict/namespacelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/namespacelist.json b/v1.12.3-standalone-strict/namespacelist.json index 0ca7335b61..3814140a5e 100644 --- a/v1.12.3-standalone-strict/namespacelist.json +++ b/v1.12.3-standalone-strict/namespacelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/networkpolicy-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicy-extensions-v1beta1.json index cfd4966967..b29a4a0c49 100644 --- a/v1.12.3-standalone-strict/networkpolicy-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -496,7 +523,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +582,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -660,7 +693,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -716,7 +752,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -813,7 +855,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicy-networking-v1.json b/v1.12.3-standalone-strict/networkpolicy-networking-v1.json index 1ae0f68e30..c9579e2af2 100644 --- a/v1.12.3-standalone-strict/networkpolicy-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicy-networking-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -496,7 +523,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +582,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -660,7 +693,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -716,7 +752,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -813,7 +855,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicy.json b/v1.12.3-standalone-strict/networkpolicy.json index c714e89d55..6b6329b632 100644 --- a/v1.12.3-standalone-strict/networkpolicy.json +++ b/v1.12.3-standalone-strict/networkpolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -490,7 +517,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -546,7 +576,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -654,7 +687,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -710,7 +746,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -743,7 +782,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -807,7 +849,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json index 7d6b4a21ff..1777719d7b 100644 --- a/v1.12.3-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicyegressrule-extensions-v1beta1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -114,7 +117,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyegressrule-networking-v1.json b/v1.12.3-standalone-strict/networkpolicyegressrule-networking-v1.json index 885d0dc66e..709fa25fe2 100644 --- a/v1.12.3-standalone-strict/networkpolicyegressrule-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicyegressrule-networking-v1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -114,7 +117,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyegressrule.json b/v1.12.3-standalone-strict/networkpolicyegressrule.json index 885d0dc66e..709fa25fe2 100644 --- a/v1.12.3-standalone-strict/networkpolicyegressrule.json +++ b/v1.12.3-standalone-strict/networkpolicyegressrule.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -114,7 +117,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json index c572b380cc..2a77c061cb 100644 --- a/v1.12.3-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicyingressrule-extensions-v1beta1.json @@ -81,7 +81,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -137,7 +140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/networkpolicyingressrule-networking-v1.json b/v1.12.3-standalone-strict/networkpolicyingressrule-networking-v1.json index ea43766ee3..0d7ac31f84 100644 --- a/v1.12.3-standalone-strict/networkpolicyingressrule-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicyingressrule-networking-v1.json @@ -81,7 +81,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -137,7 +140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/networkpolicyingressrule.json b/v1.12.3-standalone-strict/networkpolicyingressrule.json index ea43766ee3..0d7ac31f84 100644 --- a/v1.12.3-standalone-strict/networkpolicyingressrule.json +++ b/v1.12.3-standalone-strict/networkpolicyingressrule.json @@ -81,7 +81,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -137,7 +140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -170,7 +176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/networkpolicylist-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicylist-extensions-v1beta1.json index c4e5c9a4ec..be96ccca58 100644 --- a/v1.12.3-standalone-strict/networkpolicylist-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -423,7 +447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -518,7 +545,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -574,7 +604,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -682,7 +715,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -738,7 +774,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -771,7 +810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -835,7 +877,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicylist-networking-v1.json b/v1.12.3-standalone-strict/networkpolicylist-networking-v1.json index 6824469bde..349920db48 100644 --- a/v1.12.3-standalone-strict/networkpolicylist-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicylist-networking-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -423,7 +447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -518,7 +545,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -574,7 +604,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -682,7 +715,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -738,7 +774,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -771,7 +810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -835,7 +877,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicylist.json b/v1.12.3-standalone-strict/networkpolicylist.json index 2561ac36c0..07e368b653 100644 --- a/v1.12.3-standalone-strict/networkpolicylist.json +++ b/v1.12.3-standalone-strict/networkpolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -414,7 +438,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -509,7 +536,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -565,7 +595,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -673,7 +706,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -729,7 +765,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -762,7 +801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -826,7 +868,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicypeer-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicypeer-extensions-v1beta1.json index 5788ba069c..b1f2d1cf36 100644 --- a/v1.12.3-standalone-strict/networkpolicypeer-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicypeer-extensions-v1beta1.json @@ -72,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicypeer-networking-v1.json b/v1.12.3-standalone-strict/networkpolicypeer-networking-v1.json index b9dc7f4e72..77495e98a1 100644 --- a/v1.12.3-standalone-strict/networkpolicypeer-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicypeer-networking-v1.json @@ -72,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicypeer.json b/v1.12.3-standalone-strict/networkpolicypeer.json index b9dc7f4e72..77495e98a1 100644 --- a/v1.12.3-standalone-strict/networkpolicypeer.json +++ b/v1.12.3-standalone-strict/networkpolicypeer.json @@ -72,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyport-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicyport-extensions-v1beta1.json index 0a64e748c9..e75a698b80 100644 --- a/v1.12.3-standalone-strict/networkpolicyport-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicyport-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/networkpolicyport-networking-v1.json b/v1.12.3-standalone-strict/networkpolicyport-networking-v1.json index 05c11afc20..ed8bd9768d 100644 --- a/v1.12.3-standalone-strict/networkpolicyport-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicyport-networking-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/networkpolicyport.json b/v1.12.3-standalone-strict/networkpolicyport.json index 05c11afc20..ed8bd9768d 100644 --- a/v1.12.3-standalone-strict/networkpolicyport.json +++ b/v1.12.3-standalone-strict/networkpolicyport.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/networkpolicyspec-extensions-v1beta1.json b/v1.12.3-standalone-strict/networkpolicyspec-extensions-v1beta1.json index 54d854f7ac..68668e7c9f 100644 --- a/v1.12.3-standalone-strict/networkpolicyspec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/networkpolicyspec-extensions-v1beta1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -126,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -182,7 +188,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -290,7 +299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +358,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,7 +394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -443,7 +461,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyspec-networking-v1.json b/v1.12.3-standalone-strict/networkpolicyspec-networking-v1.json index 4c0e286bb0..10b10859ed 100644 --- a/v1.12.3-standalone-strict/networkpolicyspec-networking-v1.json +++ b/v1.12.3-standalone-strict/networkpolicyspec-networking-v1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -126,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -182,7 +188,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -290,7 +299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +358,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,7 +394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -443,7 +461,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/networkpolicyspec.json b/v1.12.3-standalone-strict/networkpolicyspec.json index 4c0e286bb0..10b10859ed 100644 --- a/v1.12.3-standalone-strict/networkpolicyspec.json +++ b/v1.12.3-standalone-strict/networkpolicyspec.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -126,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -182,7 +188,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -290,7 +299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +358,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,7 +394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -443,7 +461,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/nfsvolumesource-v1.json b/v1.12.3-standalone-strict/nfsvolumesource-v1.json index 4684f8c0fb..948755148d 100644 --- a/v1.12.3-standalone-strict/nfsvolumesource-v1.json +++ b/v1.12.3-standalone-strict/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3-standalone-strict/nfsvolumesource.json b/v1.12.3-standalone-strict/nfsvolumesource.json index 4684f8c0fb..948755148d 100644 --- a/v1.12.3-standalone-strict/nfsvolumesource.json +++ b/v1.12.3-standalone-strict/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3-standalone-strict/node-v1.json b/v1.12.3-standalone-strict/node-v1.json index 933c894292..e6b5175fdb 100644 --- a/v1.12.3-standalone-strict/node-v1.json +++ b/v1.12.3-standalone-strict/node-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -477,7 +501,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -514,7 +541,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -524,14 +554,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -541,7 +577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -789,7 +828,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/node.json b/v1.12.3-standalone-strict/node.json index 57f59716ca..b3df87cf60 100644 --- a/v1.12.3-standalone-strict/node.json +++ b/v1.12.3-standalone-strict/node.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -471,7 +495,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -508,7 +535,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -518,14 +548,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -535,7 +571,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -783,7 +822,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/nodelist-v1.json b/v1.12.3-standalone-strict/nodelist-v1.json index 4948ac7cc8..cfc4fd627d 100644 --- a/v1.12.3-standalone-strict/nodelist-v1.json +++ b/v1.12.3-standalone-strict/nodelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -499,7 +523,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -536,7 +563,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -546,14 +576,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -563,7 +599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -811,7 +850,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/nodelist.json b/v1.12.3-standalone-strict/nodelist.json index 3e666b2bec..8b97f1485e 100644 --- a/v1.12.3-standalone-strict/nodelist.json +++ b/v1.12.3-standalone-strict/nodelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -490,7 +514,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -527,7 +554,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -537,14 +567,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -554,7 +590,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -802,7 +841,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/nodespec-v1.json b/v1.12.3-standalone-strict/nodespec-v1.json index b2d4628d2b..2a0cfaed4b 100644 --- a/v1.12.3-standalone-strict/nodespec-v1.json +++ b/v1.12.3-standalone-strict/nodespec-v1.json @@ -107,7 +107,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/nodespec.json b/v1.12.3-standalone-strict/nodespec.json index b2d4628d2b..2a0cfaed4b 100644 --- a/v1.12.3-standalone-strict/nodespec.json +++ b/v1.12.3-standalone-strict/nodespec.json @@ -107,7 +107,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/nodestatus-v1.json b/v1.12.3-standalone-strict/nodestatus-v1.json index 968b0dce1f..2bb751a97f 100644 --- a/v1.12.3-standalone-strict/nodestatus-v1.json +++ b/v1.12.3-standalone-strict/nodestatus-v1.json @@ -30,7 +30,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -40,14 +43,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -57,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -305,7 +317,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/nodestatus.json b/v1.12.3-standalone-strict/nodestatus.json index 968b0dce1f..2bb751a97f 100644 --- a/v1.12.3-standalone-strict/nodestatus.json +++ b/v1.12.3-standalone-strict/nodestatus.json @@ -30,7 +30,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -40,14 +43,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -57,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -305,7 +317,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/objectmeta-meta-v1.json b/v1.12.3-standalone-strict/objectmeta-meta-v1.json index d2c8ceb7a9..fee0e6e212 100644 --- a/v1.12.3-standalone-strict/objectmeta-meta-v1.json +++ b/v1.12.3-standalone-strict/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -105,7 +114,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -168,7 +180,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -254,7 +269,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,11 +315,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/objectmeta.json b/v1.12.3-standalone-strict/objectmeta.json index c89b0435e4..98e8b8c9f4 100644 --- a/v1.12.3-standalone-strict/objectmeta.json +++ b/v1.12.3-standalone-strict/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -102,7 +111,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -165,7 +177,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta1.json index 9f9744c492..7b9669d16e 100644 --- a/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -71,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -116,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta2.json index fe092cc4da..c2762e32ca 100644 --- a/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/objectmetricsource-autoscaling-v2beta2.json @@ -86,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -108,7 +111,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -120,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -137,7 +146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/objectmetricsource.json b/v1.12.3-standalone-strict/objectmetricsource.json index fe092cc4da..c2762e32ca 100644 --- a/v1.12.3-standalone-strict/objectmetricsource.json +++ b/v1.12.3-standalone-strict/objectmetricsource.json @@ -86,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -108,7 +111,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -120,7 +126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -137,7 +146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json index d483484dc4..9ead29cb30 100644 --- a/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -84,7 +90,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json index f36f8ce11b..145fa79c50 100644 --- a/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/objectmetricstatus-autoscaling-v2beta2.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -123,7 +132,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/objectmetricstatus.json b/v1.12.3-standalone-strict/objectmetricstatus.json index f36f8ce11b..145fa79c50 100644 --- a/v1.12.3-standalone-strict/objectmetricstatus.json +++ b/v1.12.3-standalone-strict/objectmetricstatus.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -123,7 +132,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/ownerreference-meta-v1.json b/v1.12.3-standalone-strict/ownerreference-meta-v1.json index f757b5d760..e46a80bec1 100644 --- a/v1.12.3-standalone-strict/ownerreference-meta-v1.json +++ b/v1.12.3-standalone-strict/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/ownerreference.json b/v1.12.3-standalone-strict/ownerreference.json index f757b5d760..e46a80bec1 100644 --- a/v1.12.3-standalone-strict/ownerreference.json +++ b/v1.12.3-standalone-strict/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/patch-meta-v1.json b/v1.12.3-standalone-strict/patch-meta-v1.json index 4a857af6cc..1e571d6b45 100644 --- a/v1.12.3-standalone-strict/patch-meta-v1.json +++ b/v1.12.3-standalone-strict/patch-meta-v1.json @@ -1,5 +1,6 @@ { "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/patch.json b/v1.12.3-standalone-strict/patch.json index 4a857af6cc..1e571d6b45 100644 --- a/v1.12.3-standalone-strict/patch.json +++ b/v1.12.3-standalone-strict/patch.json @@ -1,5 +1,6 @@ { "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/persistentvolume-v1.json b/v1.12.3-standalone-strict/persistentvolume-v1.json index b7a7adf091..cc103c8f61 100644 --- a/v1.12.3-standalone-strict/persistentvolume-v1.json +++ b/v1.12.3-standalone-strict/persistentvolume-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,12 +423,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -451,7 +481,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -465,7 +498,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -487,7 +523,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -497,7 +536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -527,7 +569,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -581,7 +626,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -745,11 +793,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,12 +830,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -831,7 +891,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -841,7 +904,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -901,7 +967,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -910,7 +979,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -932,7 +1004,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -967,11 +1042,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1018,7 +1099,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1093,7 +1177,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1245,7 +1332,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1270,7 +1360,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1334,7 +1427,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1394,7 +1490,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1418,7 +1517,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1467,7 +1569,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/persistentvolume.json b/v1.12.3-standalone-strict/persistentvolume.json index 724b92e867..5b3e3200dd 100644 --- a/v1.12.3-standalone-strict/persistentvolume.json +++ b/v1.12.3-standalone-strict/persistentvolume.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,12 +417,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -445,7 +475,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -459,7 +492,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -481,7 +517,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -491,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -521,7 +563,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -575,7 +620,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -739,11 +787,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -770,12 +824,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -825,7 +885,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -835,7 +898,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -895,7 +961,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -904,7 +973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -926,7 +998,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -961,11 +1036,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1012,7 +1093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1087,7 +1171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1239,7 +1326,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1264,7 +1354,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1328,7 +1421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1388,7 +1484,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1412,7 +1511,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1461,7 +1563,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/persistentvolumeclaim-v1.json b/v1.12.3-standalone-strict/persistentvolumeclaim-v1.json index 84ad29d4cd..a6e2e886c6 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaim-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaim-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -414,7 +438,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -424,14 +451,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -441,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -494,7 +530,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +586,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -557,7 +599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/persistentvolumeclaim.json b/v1.12.3-standalone-strict/persistentvolumeclaim.json index b4633d761e..4951672efa 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaim.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaim.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -408,7 +432,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -418,14 +445,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -435,7 +468,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -488,7 +524,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -541,7 +580,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -551,7 +593,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimlist-v1.json b/v1.12.3-standalone-strict/persistentvolumeclaimlist-v1.json index 5951cd2081..9dcf649350 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimlist-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -436,7 +460,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -446,14 +473,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -463,7 +496,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -516,7 +552,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -569,7 +608,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -579,7 +621,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimlist.json b/v1.12.3-standalone-strict/persistentvolumeclaimlist.json index 349e3abc1d..406728a952 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimlist.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -427,7 +451,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -437,14 +464,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -454,7 +487,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -507,7 +543,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -560,7 +599,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -570,7 +612,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimspec-v1.json b/v1.12.3-standalone-strict/persistentvolumeclaimspec-v1.json index 25cf2bdb80..13510e54ea 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimspec-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimspec-v1.json @@ -44,7 +44,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -54,14 +57,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -71,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -124,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimspec.json b/v1.12.3-standalone-strict/persistentvolumeclaimspec.json index 25cf2bdb80..13510e54ea 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimspec.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimspec.json @@ -44,7 +44,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -54,14 +57,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -71,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -124,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimstatus-v1.json b/v1.12.3-standalone-strict/persistentvolumeclaimstatus-v1.json index 628d0712a4..1362fe1b00 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimstatus-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimstatus.json b/v1.12.3-standalone-strict/persistentvolumeclaimstatus.json index 628d0712a4..1362fe1b00 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimstatus.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource-v1.json b/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource-v1.json index 60126e673c..5e50108da8 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource.json b/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource.json index 60126e673c..5e50108da8 100644 --- a/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource.json +++ b/v1.12.3-standalone-strict/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/persistentvolumelist-v1.json b/v1.12.3-standalone-strict/persistentvolumelist-v1.json index 9b2b0f6bf6..ff7a7de0ee 100644 --- a/v1.12.3-standalone-strict/persistentvolumelist-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -421,12 +445,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -473,7 +503,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -487,7 +520,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -509,7 +545,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -519,7 +558,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -549,7 +591,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -603,7 +648,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -767,11 +815,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -798,12 +852,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -853,7 +913,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -863,7 +926,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -923,7 +989,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -932,7 +1001,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -954,7 +1026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -989,11 +1064,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1040,7 +1121,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1115,7 +1199,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1267,7 +1354,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1292,7 +1382,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1356,7 +1449,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1416,7 +1512,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1440,7 +1539,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1489,7 +1591,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/persistentvolumelist.json b/v1.12.3-standalone-strict/persistentvolumelist.json index 0d136bb733..902958ae43 100644 --- a/v1.12.3-standalone-strict/persistentvolumelist.json +++ b/v1.12.3-standalone-strict/persistentvolumelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -412,12 +436,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -464,7 +494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -478,7 +511,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -500,7 +536,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -510,7 +549,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -540,7 +582,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -594,7 +639,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -758,11 +806,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -789,12 +843,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -844,7 +904,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -854,7 +917,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -914,7 +980,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -923,7 +992,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -945,7 +1017,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -980,11 +1055,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1031,7 +1112,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1106,7 +1190,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1258,7 +1345,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1283,7 +1373,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1347,7 +1440,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1407,7 +1503,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1431,7 +1530,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1480,7 +1582,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/persistentvolumespec-v1.json b/v1.12.3-standalone-strict/persistentvolumespec-v1.json index 045e8457de..89e4e6bfba 100644 --- a/v1.12.3-standalone-strict/persistentvolumespec-v1.json +++ b/v1.12.3-standalone-strict/persistentvolumespec-v1.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -81,7 +87,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -95,7 +104,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -117,7 +129,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -157,7 +175,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -211,7 +232,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -375,11 +399,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,12 +436,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -461,7 +497,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +510,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -531,7 +573,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -540,7 +585,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -562,7 +610,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -597,11 +648,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -648,7 +705,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -723,7 +783,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -875,7 +938,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -900,7 +966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -964,7 +1033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1024,7 +1096,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1048,7 +1123,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1097,7 +1175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/persistentvolumespec.json b/v1.12.3-standalone-strict/persistentvolumespec.json index 045e8457de..89e4e6bfba 100644 --- a/v1.12.3-standalone-strict/persistentvolumespec.json +++ b/v1.12.3-standalone-strict/persistentvolumespec.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -81,7 +87,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -95,7 +104,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -117,7 +129,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -157,7 +175,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -211,7 +232,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -375,11 +399,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,12 +436,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -461,7 +497,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +510,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -531,7 +573,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -540,7 +585,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -562,7 +610,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -597,11 +648,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -648,7 +705,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -723,7 +783,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -875,7 +938,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -900,7 +966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -964,7 +1033,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1024,7 +1096,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1048,7 +1123,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1097,7 +1175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/pod-v1.json b/v1.12.3-standalone-strict/pod-v1.json index 32b1ae9533..e6dc73f19f 100644 --- a/v1.12.3-standalone-strict/pod-v1.json +++ b/v1.12.3-standalone-strict/pod-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -654,7 +681,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -751,7 +781,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +886,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -950,7 +986,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -990,7 +1029,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1072,7 +1114,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1119,7 +1164,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1149,7 +1197,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1184,7 +1235,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1208,7 +1262,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1310,7 +1367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1346,7 +1406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1534,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1505,7 +1574,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1562,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1578,17 +1653,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1613,7 +1697,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1622,7 +1709,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1658,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1705,7 +1798,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1762,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,17 +1877,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1813,7 +1921,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1822,7 +1933,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1833,7 +1947,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1843,14 +1960,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1860,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +1999,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1909,7 +2038,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1920,20 +2052,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1975,11 +2119,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1997,7 +2147,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2056,7 +2209,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2186,15 +2342,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2308,7 +2473,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2355,7 +2523,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2385,7 +2556,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2420,7 +2594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2444,7 +2621,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2546,7 +2726,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2582,7 +2765,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2668,7 +2854,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2893,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2741,7 +2933,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2798,7 +2993,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2814,17 +3012,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2849,7 +3056,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2858,7 +3068,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2894,7 +3107,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2941,7 +3157,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2998,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,17 +3236,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3049,7 +3280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3058,7 +3292,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3069,7 +3306,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3079,14 +3319,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3096,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3358,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3145,7 +3397,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3156,20 +3411,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3211,11 +3478,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3233,7 +3506,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3292,7 +3568,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3329,7 +3608,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3339,7 +3621,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3395,21 +3680,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3453,7 +3750,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3501,7 +3801,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3512,7 +3815,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3547,7 +3853,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3588,12 +3897,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3640,7 +3955,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3654,7 +3972,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3692,7 +4013,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3739,7 +4063,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3766,7 +4093,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3788,7 +4118,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3808,7 +4141,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3855,7 +4194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3884,7 +4226,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3921,7 +4266,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3940,12 +4288,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3995,7 +4349,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4005,7 +4362,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4058,7 +4418,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4067,7 +4430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4116,7 +4482,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4151,11 +4520,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4202,7 +4577,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4241,7 +4619,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4262,7 +4643,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4302,7 +4686,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4319,7 +4706,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4350,7 +4740,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4370,7 +4763,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4412,7 +4808,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4441,7 +4840,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4481,7 +4883,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4501,7 +4906,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4521,7 +4929,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4554,7 +4965,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4618,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4671,7 +5088,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4688,7 +5108,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4723,7 +5146,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4745,7 +5171,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4758,7 +5187,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4782,7 +5214,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5007,7 +5442,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5116,7 +5554,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5254,7 +5695,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5363,7 +5807,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/pod.json b/v1.12.3-standalone-strict/pod.json index 0ede128d37..56764a7b97 100644 --- a/v1.12.3-standalone-strict/pod.json +++ b/v1.12.3-standalone-strict/pod.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -648,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -745,7 +775,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -847,7 +880,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -944,7 +980,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -984,7 +1023,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1066,7 +1108,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1113,7 +1158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1143,7 +1191,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1178,7 +1229,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1202,7 +1256,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1304,7 +1361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1340,7 +1400,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1426,7 +1489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1462,7 +1528,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1568,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1628,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1572,17 +1647,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1607,7 +1691,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1616,7 +1703,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1652,7 +1742,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1699,7 +1792,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1756,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1772,17 +1871,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1807,7 +1915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1927,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1827,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1837,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1854,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1867,7 +1993,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1903,7 +2032,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1914,20 +2046,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1969,11 +2113,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1991,7 +2141,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2050,7 +2203,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2180,15 +2336,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2302,7 +2467,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2349,7 +2517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2379,7 +2550,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2414,7 +2588,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2438,7 +2615,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2540,7 +2720,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2576,7 +2759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2662,7 +2848,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2698,7 +2887,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2735,7 +2927,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2792,7 +2987,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2808,17 +3006,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2843,7 +3050,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2852,7 +3062,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2888,7 +3101,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2935,7 +3151,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2992,7 +3211,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3008,17 +3230,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3043,7 +3274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3052,7 +3286,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3063,7 +3300,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3073,14 +3313,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3090,7 +3336,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3103,7 +3352,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3139,7 +3391,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3150,20 +3405,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3205,11 +3472,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3227,7 +3500,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3286,7 +3562,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3323,7 +3602,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3333,7 +3615,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3389,21 +3674,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3447,7 +3744,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3495,7 +3795,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3506,7 +3809,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3541,7 +3847,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3582,12 +3891,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3634,7 +3949,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3648,7 +3966,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3686,7 +4007,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3733,7 +4057,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3760,7 +4087,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3782,7 +4112,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3802,7 +4135,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3812,7 +4148,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3849,7 +4188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3878,7 +4220,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3915,7 +4260,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3934,12 +4282,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3989,7 +4343,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3999,7 +4356,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4061,7 +4424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4110,7 +4476,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4145,11 +4514,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4196,7 +4571,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4235,7 +4613,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4256,7 +4637,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4296,7 +4680,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4313,7 +4700,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4344,7 +4734,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4364,7 +4757,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4406,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4435,7 +4834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4475,7 +4877,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4495,7 +4900,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4515,7 +4923,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4548,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4612,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4665,7 +5082,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4682,7 +5102,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4717,7 +5140,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4739,7 +5165,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4752,7 +5181,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4776,7 +5208,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5001,7 +5436,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5110,7 +5548,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5248,7 +5689,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5357,7 +5801,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/podaffinity-v1.json b/v1.12.3-standalone-strict/podaffinity-v1.json index 0e63decbd9..5a1aedfa0b 100644 --- a/v1.12.3-standalone-strict/podaffinity-v1.json +++ b/v1.12.3-standalone-strict/podaffinity-v1.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podaffinity.json b/v1.12.3-standalone-strict/podaffinity.json index 0e63decbd9..5a1aedfa0b 100644 --- a/v1.12.3-standalone-strict/podaffinity.json +++ b/v1.12.3-standalone-strict/podaffinity.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podaffinityterm-v1.json b/v1.12.3-standalone-strict/podaffinityterm-v1.json index 7c13defd7d..9dd073dc27 100644 --- a/v1.12.3-standalone-strict/podaffinityterm-v1.json +++ b/v1.12.3-standalone-strict/podaffinityterm-v1.json @@ -49,7 +49,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podaffinityterm.json b/v1.12.3-standalone-strict/podaffinityterm.json index 7c13defd7d..9dd073dc27 100644 --- a/v1.12.3-standalone-strict/podaffinityterm.json +++ b/v1.12.3-standalone-strict/podaffinityterm.json @@ -49,7 +49,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podantiaffinity-v1.json b/v1.12.3-standalone-strict/podantiaffinity-v1.json index e0e70c3e2e..0fcd4395ef 100644 --- a/v1.12.3-standalone-strict/podantiaffinity-v1.json +++ b/v1.12.3-standalone-strict/podantiaffinity-v1.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podantiaffinity.json b/v1.12.3-standalone-strict/podantiaffinity.json index e0e70c3e2e..0fcd4395ef 100644 --- a/v1.12.3-standalone-strict/podantiaffinity.json +++ b/v1.12.3-standalone-strict/podantiaffinity.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -162,7 +165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/poddisruptionbudget-policy-v1beta1.json b/v1.12.3-standalone-strict/poddisruptionbudget-policy-v1beta1.json index 0ef6580c33..de4b6afa2d 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudget-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/poddisruptionbudget-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,7 +404,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -393,7 +420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -477,7 +510,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -499,7 +535,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/poddisruptionbudget.json b/v1.12.3-standalone-strict/poddisruptionbudget.json index c71ac2499b..3e43101024 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudget.json +++ b/v1.12.3-standalone-strict/poddisruptionbudget.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -387,7 +414,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -436,7 +466,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -493,7 +529,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json b/v1.12.3-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json index a5f4b5fab0..6785e622f3 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/poddisruptionbudgetlist-policy-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -414,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -463,7 +493,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -498,7 +531,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -520,7 +556,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/poddisruptionbudgetlist.json b/v1.12.3-standalone-strict/poddisruptionbudgetlist.json index a33eebe05f..b702aaad69 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudgetlist.json +++ b/v1.12.3-standalone-strict/poddisruptionbudgetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -289,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -332,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -392,7 +416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -405,7 +432,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -489,7 +522,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -511,7 +547,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json b/v1.12.3-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json index c56b2d226a..4872fff659 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/poddisruptionbudgetspec-policy-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -72,7 +78,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/poddisruptionbudgetspec.json b/v1.12.3-standalone-strict/poddisruptionbudgetspec.json index c56b2d226a..4872fff659 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudgetspec.json +++ b/v1.12.3-standalone-strict/poddisruptionbudgetspec.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -72,7 +78,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.3-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json index 2763c27acb..ffb5fa526b 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/poddisruptionbudgetstatus.json b/v1.12.3-standalone-strict/poddisruptionbudgetstatus.json index 2763c27acb..ffb5fa526b 100644 --- a/v1.12.3-standalone-strict/poddisruptionbudgetstatus.json +++ b/v1.12.3-standalone-strict/poddisruptionbudgetstatus.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/podlist-v1.json b/v1.12.3-standalone-strict/podlist-v1.json index 394efc4fef..9b9f6ca97d 100644 --- a/v1.12.3-standalone-strict/podlist-v1.json +++ b/v1.12.3-standalone-strict/podlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -676,7 +703,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -773,7 +803,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -875,7 +908,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -972,7 +1008,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1012,7 +1051,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1094,7 +1136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1141,7 +1186,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1171,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1206,7 +1257,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1230,7 +1284,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1332,7 +1389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1368,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1454,7 +1517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1490,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1527,7 +1596,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1584,7 +1656,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1600,17 +1675,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1635,7 +1719,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1644,7 +1731,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1680,7 +1770,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1727,7 +1820,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1784,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1800,17 +1899,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1835,7 +1943,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1844,7 +1955,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1855,7 +1969,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1865,14 +1982,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1882,7 +2005,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1895,7 +2021,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1931,7 +2060,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1942,20 +2074,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1997,11 +2141,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2019,7 +2169,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2078,7 +2231,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2208,15 +2364,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2330,7 +2495,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2377,7 +2545,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2407,7 +2578,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2442,7 +2616,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2466,7 +2643,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2568,7 +2748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2604,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2690,7 +2876,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2726,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2763,7 +2955,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2820,7 +3015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2836,17 +3034,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2871,7 +3078,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2880,7 +3090,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2916,7 +3129,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2963,7 +3179,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3020,7 +3239,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,17 +3258,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3071,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3080,7 +3314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3091,7 +3328,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3101,14 +3341,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3118,7 +3364,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3131,7 +3380,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3167,7 +3419,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3178,20 +3433,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3233,11 +3500,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3255,7 +3528,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3314,7 +3590,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3351,7 +3630,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3361,7 +3643,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3417,21 +3702,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3475,7 +3772,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3523,7 +3823,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3534,7 +3837,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3569,7 +3875,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3610,12 +3919,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3662,7 +3977,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3676,7 +3994,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3714,7 +4035,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3761,7 +4085,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3788,7 +4115,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3810,7 +4140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3830,7 +4163,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3840,7 +4176,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3877,7 +4216,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3906,7 +4248,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3943,7 +4288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3962,12 +4310,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4017,7 +4371,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4080,7 +4440,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4089,7 +4452,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4138,7 +4504,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4173,11 +4542,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4224,7 +4599,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4263,7 +4641,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4284,7 +4665,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4324,7 +4708,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4341,7 +4728,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4372,7 +4762,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4392,7 +4785,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4434,7 +4830,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4463,7 +4862,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4503,7 +4905,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4523,7 +4928,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4543,7 +4951,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4576,7 +4987,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4640,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4693,7 +5110,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4710,7 +5130,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4745,7 +5168,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4767,7 +5193,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5209,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4804,7 +5236,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5029,7 +5464,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5138,7 +5576,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5276,7 +5717,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5385,7 +5829,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/podlist.json b/v1.12.3-standalone-strict/podlist.json index 7d6035cba2..5d5d870c72 100644 --- a/v1.12.3-standalone-strict/podlist.json +++ b/v1.12.3-standalone-strict/podlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -667,7 +694,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,7 +794,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -866,7 +899,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -963,7 +999,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1042,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1085,7 +1127,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1132,7 +1177,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1210,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1197,7 +1248,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1221,7 +1275,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1323,7 +1380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1359,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1445,7 +1508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1481,7 +1547,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1518,7 +1587,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1575,7 +1647,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1591,17 +1666,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1626,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1635,7 +1722,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1671,7 +1761,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1718,7 +1811,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1775,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1791,17 +1890,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1826,7 +1934,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1835,7 +1946,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1846,7 +1960,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1856,14 +1973,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1873,7 +1996,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1886,7 +2012,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1922,7 +2051,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1933,20 +2065,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1988,11 +2132,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2010,7 +2160,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2069,7 +2222,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2199,15 +2355,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2321,7 +2486,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2368,7 +2536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2398,7 +2569,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2433,7 +2607,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2457,7 +2634,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2559,7 +2739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2595,7 +2778,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2681,7 +2867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2717,7 +2906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2754,7 +2946,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2811,7 +3006,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2827,17 +3025,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2862,7 +3069,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2871,7 +3081,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2907,7 +3120,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2954,7 +3170,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3011,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,17 +3249,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3062,7 +3293,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3071,7 +3305,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3082,7 +3319,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3092,14 +3332,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3109,7 +3355,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3122,7 +3371,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3158,7 +3410,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3169,20 +3424,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3224,11 +3491,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3246,7 +3519,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3305,7 +3581,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3342,7 +3621,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3352,7 +3634,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3408,21 +3693,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3466,7 +3763,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3514,7 +3814,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3525,7 +3828,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3560,7 +3866,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3601,12 +3910,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3653,7 +3968,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3667,7 +3985,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3705,7 +4026,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3752,7 +4076,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3779,7 +4106,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3801,7 +4131,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3821,7 +4154,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3831,7 +4167,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3868,7 +4207,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3897,7 +4239,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3934,7 +4279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3953,12 +4301,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4008,7 +4362,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4018,7 +4375,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4071,7 +4431,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4080,7 +4443,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4129,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4164,11 +4533,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4215,7 +4590,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4254,7 +4632,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4275,7 +4656,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4315,7 +4699,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4332,7 +4719,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4363,7 +4753,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4383,7 +4776,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4425,7 +4821,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4454,7 +4853,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4494,7 +4896,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4514,7 +4919,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,7 +4942,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4567,7 +4978,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4631,7 +5045,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4684,7 +5101,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4701,7 +5121,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4736,7 +5159,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4758,7 +5184,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4771,7 +5200,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4795,7 +5227,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5020,7 +5455,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5129,7 +5567,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5267,7 +5708,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5376,7 +5820,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/podpreset-settings-v1alpha1.json b/v1.12.3-standalone-strict/podpreset-settings-v1alpha1.json index 784c25c141..81d9568baa 100644 --- a/v1.12.3-standalone-strict/podpreset-settings-v1alpha1.json +++ b/v1.12.3-standalone-strict/podpreset-settings-v1alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -416,7 +440,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -463,7 +490,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -493,7 +523,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -526,7 +559,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -550,7 +586,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -604,7 +643,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -645,7 +687,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -685,12 +730,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -737,7 +788,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -751,7 +805,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -789,7 +846,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -836,7 +896,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -863,7 +926,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -885,7 +951,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -905,7 +974,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -915,7 +987,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -952,7 +1027,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -981,7 +1059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1018,7 +1099,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1037,12 +1121,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1092,7 +1182,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1102,7 +1195,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1155,7 +1251,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1164,7 +1263,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1213,7 +1315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1248,11 +1353,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1299,7 +1410,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1338,7 +1452,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1359,7 +1476,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1399,7 +1519,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1416,7 +1539,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1447,7 +1573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1467,7 +1596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1509,7 +1641,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1538,7 +1673,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1578,7 +1716,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1598,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1762,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1651,7 +1798,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1715,7 +1865,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1768,7 +1921,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1785,7 +1941,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1820,7 +1979,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1842,7 +2004,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1855,7 +2020,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1879,7 +2047,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podpreset.json b/v1.12.3-standalone-strict/podpreset.json index 501f271619..ca0218ed5f 100644 --- a/v1.12.3-standalone-strict/podpreset.json +++ b/v1.12.3-standalone-strict/podpreset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -410,7 +434,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -457,7 +484,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -487,7 +517,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -520,7 +553,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -544,7 +580,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -598,7 +637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -639,7 +681,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -679,12 +724,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -731,7 +782,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -745,7 +799,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -783,7 +840,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -830,7 +890,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -857,7 +920,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -879,7 +945,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -899,7 +968,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -909,7 +981,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -946,7 +1021,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -975,7 +1053,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1012,7 +1093,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1031,12 +1115,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1086,7 +1176,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1096,7 +1189,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1149,7 +1245,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1158,7 +1257,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1207,7 +1309,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1242,11 +1347,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1293,7 +1404,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1332,7 +1446,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1353,7 +1470,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1393,7 +1513,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1410,7 +1533,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1441,7 +1567,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1461,7 +1590,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1503,7 +1635,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1532,7 +1667,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1572,7 +1710,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1592,7 +1733,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1612,7 +1756,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1645,7 +1792,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1709,7 +1859,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1762,7 +1915,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1779,7 +1935,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1814,7 +1973,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1836,7 +1998,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1849,7 +2014,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1873,7 +2041,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podpresetlist-settings-v1alpha1.json b/v1.12.3-standalone-strict/podpresetlist-settings-v1alpha1.json index 3f424ebc7d..06cb342b12 100644 --- a/v1.12.3-standalone-strict/podpresetlist-settings-v1alpha1.json +++ b/v1.12.3-standalone-strict/podpresetlist-settings-v1alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -438,7 +462,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -485,7 +512,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -515,7 +545,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -548,7 +581,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -572,7 +608,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -626,7 +665,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -667,7 +709,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -707,12 +752,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -759,7 +810,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -773,7 +827,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -811,7 +868,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -858,7 +918,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -885,7 +948,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -907,7 +973,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -927,7 +996,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -937,7 +1009,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -974,7 +1049,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1003,7 +1081,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1040,7 +1121,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1059,12 +1143,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1114,7 +1204,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1124,7 +1217,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1177,7 +1273,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1186,7 +1285,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1235,7 +1337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1270,11 +1375,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1321,7 +1432,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1360,7 +1474,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1381,7 +1498,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1421,7 +1541,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1438,7 +1561,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1469,7 +1595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1489,7 +1618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1531,7 +1663,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1560,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1600,7 +1738,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1620,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1784,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1673,7 +1820,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1737,7 +1887,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1790,7 +1943,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1807,7 +1963,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1842,7 +2001,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1864,7 +2026,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1877,7 +2042,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1901,7 +2069,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podpresetlist.json b/v1.12.3-standalone-strict/podpresetlist.json index 1b3165ae11..34c30aaefc 100644 --- a/v1.12.3-standalone-strict/podpresetlist.json +++ b/v1.12.3-standalone-strict/podpresetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -476,7 +503,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -506,7 +536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -539,7 +572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -563,7 +599,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -617,7 +656,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -658,7 +700,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -698,12 +743,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -750,7 +801,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -764,7 +818,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -802,7 +859,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -849,7 +909,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -876,7 +939,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -898,7 +964,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -918,7 +987,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -928,7 +1000,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -965,7 +1040,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -994,7 +1072,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1031,7 +1112,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1050,12 +1134,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1105,7 +1195,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1115,7 +1208,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1168,7 +1264,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1177,7 +1276,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1226,7 +1328,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1261,11 +1366,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1312,7 +1423,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1351,7 +1465,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1372,7 +1489,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1412,7 +1532,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1429,7 +1552,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1460,7 +1586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1480,7 +1609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1522,7 +1654,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1551,7 +1686,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1591,7 +1729,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1611,7 +1752,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1631,7 +1775,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1664,7 +1811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1728,7 +1878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1781,7 +1934,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1798,7 +1954,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1833,7 +1992,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1855,7 +2017,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1868,7 +2033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1892,7 +2060,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podpresetspec-settings-v1alpha1.json b/v1.12.3-standalone-strict/podpresetspec-settings-v1alpha1.json index 79c9f7ab57..7439f4aa06 100644 --- a/v1.12.3-standalone-strict/podpresetspec-settings-v1alpha1.json +++ b/v1.12.3-standalone-strict/podpresetspec-settings-v1alpha1.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -93,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -123,7 +129,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -156,7 +165,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -180,7 +192,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -234,7 +249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -275,7 +293,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -315,12 +336,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -367,7 +394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -381,7 +411,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -419,7 +452,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -466,7 +502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -493,7 +532,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -515,7 +557,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -535,7 +580,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -545,7 +593,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -582,7 +633,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -611,7 +665,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -648,7 +705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -667,12 +727,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -722,7 +788,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -732,7 +801,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -785,7 +857,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -794,7 +869,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -843,7 +921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -878,11 +959,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -929,7 +1016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -968,7 +1058,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -989,7 +1082,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1029,7 +1125,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1046,7 +1145,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1077,7 +1179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1097,7 +1202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1139,7 +1247,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1168,7 +1279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1208,7 +1322,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1228,7 +1345,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1248,7 +1368,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1281,7 +1404,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1345,7 +1471,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1398,7 +1527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1415,7 +1547,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1450,7 +1585,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1472,7 +1610,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1485,7 +1626,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1509,7 +1653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podpresetspec.json b/v1.12.3-standalone-strict/podpresetspec.json index 79c9f7ab57..7439f4aa06 100644 --- a/v1.12.3-standalone-strict/podpresetspec.json +++ b/v1.12.3-standalone-strict/podpresetspec.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -93,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -123,7 +129,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -156,7 +165,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -180,7 +192,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -234,7 +249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -275,7 +293,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -315,12 +336,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -367,7 +394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -381,7 +411,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -419,7 +452,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -466,7 +502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -493,7 +532,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -515,7 +557,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -535,7 +580,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -545,7 +593,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -582,7 +633,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -611,7 +665,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -648,7 +705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -667,12 +727,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -722,7 +788,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -732,7 +801,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -785,7 +857,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -794,7 +869,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -843,7 +921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -878,11 +959,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -929,7 +1016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -968,7 +1058,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -989,7 +1082,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1029,7 +1125,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1046,7 +1145,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1077,7 +1179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1097,7 +1202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1139,7 +1247,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1168,7 +1279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1208,7 +1322,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1228,7 +1345,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1248,7 +1368,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1281,7 +1404,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1345,7 +1471,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1398,7 +1527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1415,7 +1547,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1450,7 +1585,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1472,7 +1610,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1485,7 +1626,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1509,7 +1653,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podsecuritycontext-v1.json b/v1.12.3-standalone-strict/podsecuritycontext-v1.json index d8f2138941..ed5c6b393e 100644 --- a/v1.12.3-standalone-strict/podsecuritycontext-v1.json +++ b/v1.12.3-standalone-strict/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -61,7 +73,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/podsecuritycontext.json b/v1.12.3-standalone-strict/podsecuritycontext.json index d8f2138941..ed5c6b393e 100644 --- a/v1.12.3-standalone-strict/podsecuritycontext.json +++ b/v1.12.3-standalone-strict/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -61,7 +73,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/podsecuritypolicy-extensions-v1beta1.json b/v1.12.3-standalone-strict/podsecuritypolicy-extensions-v1beta1.json index 907a8f4cee..25f1e1463a 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicy-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/podsecuritypolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -432,7 +459,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -479,7 +509,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -536,15 +569,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -575,11 +617,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicy-policy-v1beta1.json b/v1.12.3-standalone-strict/podsecuritypolicy-policy-v1beta1.json index 2a742d18bd..82e71142a7 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicy-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/podsecuritypolicy-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -432,7 +459,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -479,7 +509,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -536,15 +569,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -575,11 +617,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicy.json b/v1.12.3-standalone-strict/podsecuritypolicy.json index 3bc08462c9..6a01d8abcd 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicy.json +++ b/v1.12.3-standalone-strict/podsecuritypolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -426,7 +453,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -473,7 +503,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -530,15 +563,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -569,11 +611,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json b/v1.12.3-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json index 5c67a67895..099954a64c 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/podsecuritypolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -454,7 +481,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -501,7 +531,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -558,15 +591,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -597,11 +639,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicylist-policy-v1beta1.json b/v1.12.3-standalone-strict/podsecuritypolicylist-policy-v1beta1.json index 8a040c3415..30c19ecf24 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicylist-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/podsecuritypolicylist-policy-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -454,7 +481,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -501,7 +531,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -558,15 +591,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -597,11 +639,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicylist.json b/v1.12.3-standalone-strict/podsecuritypolicylist.json index 6f85bdd4f7..cc0415a4fd 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicylist.json +++ b/v1.12.3-standalone-strict/podsecuritypolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -392,7 +416,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -445,7 +472,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -492,7 +522,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -549,15 +582,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -588,11 +630,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.3-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json index 148118eeef..a82977e67d 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -62,7 +65,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -109,7 +115,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -166,15 +175,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -205,11 +223,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.3-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json index 0421ebcecf..2a3bc91c6f 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.3-standalone-strict/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -62,7 +65,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -109,7 +115,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -166,15 +175,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -205,11 +223,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsecuritypolicyspec.json b/v1.12.3-standalone-strict/podsecuritypolicyspec.json index 0421ebcecf..2a3bc91c6f 100644 --- a/v1.12.3-standalone-strict/podsecuritypolicyspec.json +++ b/v1.12.3-standalone-strict/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -62,7 +65,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -109,7 +115,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -166,15 +175,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -205,11 +223,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta1.json index cf7fa0f597..d17d89c89d 100644 --- a/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta2.json index bb845fb981..1f5b0551d2 100644 --- a/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/podsmetricsource-autoscaling-v2beta2.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/podsmetricsource.json b/v1.12.3-standalone-strict/podsmetricsource.json index bb845fb981..1f5b0551d2 100644 --- a/v1.12.3-standalone-strict/podsmetricsource.json +++ b/v1.12.3-standalone-strict/podsmetricsource.json @@ -60,7 +60,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -82,7 +85,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -94,7 +100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json index a047f6b0ca..a59ec34cd0 100644 --- a/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -70,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json index d131e449a7..7f21bab3b2 100644 --- a/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/podsmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podsmetricstatus.json b/v1.12.3-standalone-strict/podsmetricstatus.json index d131e449a7..7f21bab3b2 100644 --- a/v1.12.3-standalone-strict/podsmetricstatus.json +++ b/v1.12.3-standalone-strict/podsmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -97,7 +106,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/podspec-v1.json b/v1.12.3-standalone-strict/podspec-v1.json index 7f9397abb7..68638337f2 100644 --- a/v1.12.3-standalone-strict/podspec-v1.json +++ b/v1.12.3-standalone-strict/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -284,7 +287,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -381,7 +387,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +492,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -580,7 +592,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -620,7 +635,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -705,7 +723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -752,7 +773,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -782,7 +806,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -817,7 +844,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -841,7 +871,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -943,7 +976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -979,7 +1015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1065,7 +1104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1101,7 +1143,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1138,7 +1183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1195,7 +1243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1211,17 +1262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1246,7 +1306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1255,7 +1318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1291,7 +1357,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1338,7 +1407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1395,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,17 +1486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1446,7 +1530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1455,7 +1542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1466,7 +1556,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1476,14 +1569,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1493,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1506,7 +1608,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1542,7 +1647,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1553,20 +1661,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1608,11 +1728,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1630,7 +1756,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1689,7 +1818,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1819,15 +1951,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1941,7 +2082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1988,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2018,7 +2165,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2053,7 +2203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2077,7 +2230,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2179,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2215,7 +2374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2301,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2337,7 +2502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2374,7 +2542,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2431,7 +2602,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2447,17 +2621,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2482,7 +2665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2491,7 +2677,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2527,7 +2716,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2574,7 +2766,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2631,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2647,17 +2845,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2682,7 +2889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2901,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2702,7 +2915,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2712,14 +2928,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2729,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2742,7 +2967,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2778,7 +3006,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2789,20 +3020,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2844,11 +3087,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2866,7 +3115,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2925,7 +3177,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2962,7 +3217,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2972,7 +3230,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3028,21 +3289,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3086,7 +3359,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3134,7 +3410,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3145,7 +3424,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3180,7 +3462,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3221,12 +3506,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3273,7 +3564,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3287,7 +3581,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3325,7 +3622,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3372,7 +3672,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3399,7 +3702,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3421,7 +3727,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3441,7 +3750,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3451,7 +3763,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3488,7 +3803,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3517,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3554,7 +3875,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3573,12 +3897,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3628,7 +3958,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3971,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3700,7 +4039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3749,7 +4091,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3784,11 +4129,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3835,7 +4186,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3874,7 +4228,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3895,7 +4252,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3935,7 +4295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3952,7 +4315,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3983,7 +4349,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4003,7 +4372,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4045,7 +4417,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4074,7 +4449,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4114,7 +4492,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4134,7 +4515,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4154,7 +4538,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4187,7 +4574,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4251,7 +4641,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4304,7 +4697,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4717,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4356,7 +4755,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4378,7 +4780,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4391,7 +4796,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4415,7 +4823,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podspec.json b/v1.12.3-standalone-strict/podspec.json index 7f9397abb7..68638337f2 100644 --- a/v1.12.3-standalone-strict/podspec.json +++ b/v1.12.3-standalone-strict/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -284,7 +287,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -381,7 +387,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +492,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -580,7 +592,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -620,7 +635,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -705,7 +723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -752,7 +773,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -782,7 +806,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -817,7 +844,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -841,7 +871,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -943,7 +976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -979,7 +1015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1065,7 +1104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1101,7 +1143,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1138,7 +1183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1195,7 +1243,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1211,17 +1262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1246,7 +1306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1255,7 +1318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1291,7 +1357,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1338,7 +1407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1395,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,17 +1486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1446,7 +1530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1455,7 +1542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1466,7 +1556,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1476,14 +1569,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1493,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1506,7 +1608,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1542,7 +1647,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1553,20 +1661,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1608,11 +1728,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1630,7 +1756,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1689,7 +1818,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1819,15 +1951,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1941,7 +2082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1988,7 +2132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2018,7 +2165,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2053,7 +2203,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2077,7 +2230,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2179,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2215,7 +2374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2301,7 +2463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2337,7 +2502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2374,7 +2542,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2431,7 +2602,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2447,17 +2621,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2482,7 +2665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2491,7 +2677,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2527,7 +2716,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2574,7 +2766,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2631,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2647,17 +2845,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2682,7 +2889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2901,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2702,7 +2915,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2712,14 +2928,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2729,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2742,7 +2967,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2778,7 +3006,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2789,20 +3020,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2844,11 +3087,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2866,7 +3115,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2925,7 +3177,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2962,7 +3217,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2972,7 +3230,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3028,21 +3289,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3086,7 +3359,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3134,7 +3410,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3145,7 +3424,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3180,7 +3462,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3221,12 +3506,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3273,7 +3564,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3287,7 +3581,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3325,7 +3622,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3372,7 +3672,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3399,7 +3702,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3421,7 +3727,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3441,7 +3750,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3451,7 +3763,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3488,7 +3803,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3517,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3554,7 +3875,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3573,12 +3897,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3628,7 +3958,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3971,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3700,7 +4039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3749,7 +4091,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3784,11 +4129,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3835,7 +4186,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3874,7 +4228,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3895,7 +4252,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3935,7 +4295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3952,7 +4315,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3983,7 +4349,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4003,7 +4372,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4045,7 +4417,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4074,7 +4449,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4114,7 +4492,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4134,7 +4515,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4154,7 +4538,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4187,7 +4574,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4251,7 +4641,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4304,7 +4697,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4717,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4356,7 +4755,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4378,7 +4780,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4391,7 +4796,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4415,7 +4823,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podstatus-v1.json b/v1.12.3-standalone-strict/podstatus-v1.json index dd1bb5d316..a762d0ba23 100644 --- a/v1.12.3-standalone-strict/podstatus-v1.json +++ b/v1.12.3-standalone-strict/podstatus-v1.json @@ -148,7 +148,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -257,7 +260,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -395,7 +401,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -504,7 +513,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/podstatus.json b/v1.12.3-standalone-strict/podstatus.json index dd1bb5d316..a762d0ba23 100644 --- a/v1.12.3-standalone-strict/podstatus.json +++ b/v1.12.3-standalone-strict/podstatus.json @@ -148,7 +148,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -257,7 +260,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -395,7 +401,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -504,7 +513,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone-strict/podtemplate-v1.json b/v1.12.3-standalone-strict/podtemplate-v1.json index 733a05cad2..d318d114ca 100644 --- a/v1.12.3-standalone-strict/podtemplate-v1.json +++ b/v1.12.3-standalone-strict/podtemplate-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -401,7 +428,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -435,7 +465,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -478,7 +511,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -541,7 +577,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -627,7 +666,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -670,11 +712,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -726,7 +774,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1004,7 +1055,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,7 +1155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1203,7 +1260,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1300,7 +1360,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1340,7 +1403,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1422,7 +1488,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1469,7 +1538,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1499,7 +1571,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1534,7 +1609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1558,7 +1636,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1660,7 +1741,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1696,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1782,7 +1869,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1818,7 +1908,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1855,7 +1948,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1912,7 +2008,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1928,17 +2027,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1963,7 +2071,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1972,7 +2083,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2008,7 +2122,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2055,7 +2172,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2128,17 +2251,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2163,7 +2295,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2172,7 +2307,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2183,7 +2321,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2193,14 +2334,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2210,7 +2357,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2223,7 +2373,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2259,7 +2412,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2270,20 +2426,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2325,11 +2493,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2347,7 +2521,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2406,7 +2583,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2716,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2658,7 +2847,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2705,7 +2897,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2735,7 +2930,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2770,7 +2968,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2794,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2896,7 +3100,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2932,7 +3139,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3018,7 +3228,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3054,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3307,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3148,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3164,17 +3386,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3199,7 +3430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3208,7 +3442,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3244,7 +3481,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3291,7 +3531,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3348,7 +3591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3364,17 +3610,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3399,7 +3654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3408,7 +3666,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3419,7 +3680,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3429,14 +3693,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3446,7 +3716,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3459,7 +3732,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3495,7 +3771,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3506,20 +3785,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3561,11 +3852,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3583,7 +3880,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3642,7 +3942,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3679,7 +3982,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3689,7 +3995,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3745,21 +4054,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3803,7 +4124,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3851,7 +4175,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3862,7 +4189,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3897,7 +4227,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3938,12 +4271,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4329,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4004,7 +4346,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4042,7 +4387,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4089,7 +4437,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4116,7 +4467,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4492,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4158,7 +4515,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4528,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4205,7 +4568,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4600,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4271,7 +4640,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4290,12 +4662,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4345,7 +4723,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4355,7 +4736,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4408,7 +4792,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4417,7 +4804,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4466,7 +4856,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4501,11 +4894,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4552,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4591,7 +4993,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4612,7 +5017,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4652,7 +5060,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4669,7 +5080,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4700,7 +5114,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4720,7 +5137,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4762,7 +5182,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4791,7 +5214,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4831,7 +5257,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4851,7 +5280,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4871,7 +5303,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4904,7 +5339,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4968,7 +5406,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5021,7 +5462,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5038,7 +5482,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5073,7 +5520,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5095,7 +5545,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5108,7 +5561,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5132,7 +5588,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podtemplate.json b/v1.12.3-standalone-strict/podtemplate.json index 0e7de6fefa..387f0bb2c1 100644 --- a/v1.12.3-standalone-strict/podtemplate.json +++ b/v1.12.3-standalone-strict/podtemplate.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -395,7 +422,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -429,7 +459,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -469,7 +502,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -532,7 +568,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -618,7 +657,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -661,11 +703,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -717,7 +765,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -995,7 +1046,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1092,7 +1146,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1194,7 +1251,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1291,7 +1351,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1331,7 +1394,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1413,7 +1479,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1460,7 +1529,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1490,7 +1562,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1525,7 +1600,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1549,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1651,7 +1732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1687,7 +1771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1773,7 +1860,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1809,7 +1899,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1846,7 +1939,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1903,7 +1999,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1919,17 +2018,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1954,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1963,7 +2074,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1999,7 +2113,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2046,7 +2163,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2103,7 +2223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2119,17 +2242,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2154,7 +2286,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2163,7 +2298,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2174,7 +2312,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2184,14 +2325,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2201,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2214,7 +2364,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2250,7 +2403,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2261,20 +2417,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2316,11 +2484,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2338,7 +2512,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2397,7 +2574,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2527,15 +2707,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2649,7 +2838,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2696,7 +2888,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2726,7 +2921,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2761,7 +2959,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2785,7 +2986,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2887,7 +3091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2923,7 +3130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3009,7 +3219,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3258,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3082,7 +3298,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3139,7 +3358,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3155,17 +3377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3190,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3199,7 +3433,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3235,7 +3472,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3282,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3339,7 +3582,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3355,17 +3601,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3390,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3399,7 +3657,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3410,7 +3671,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3420,14 +3684,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3437,7 +3707,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3450,7 +3723,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3486,7 +3762,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3497,20 +3776,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3552,11 +3843,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3574,7 +3871,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3633,7 +3933,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3670,7 +3973,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3680,7 +3986,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3736,21 +4045,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3794,7 +4115,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3842,7 +4166,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3853,7 +4180,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3888,7 +4218,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3929,12 +4262,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3981,7 +4320,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3995,7 +4337,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4033,7 +4378,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4080,7 +4428,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4107,7 +4458,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4129,7 +4483,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4149,7 +4506,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4159,7 +4519,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4559,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4591,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4262,7 +4631,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4281,12 +4653,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4336,7 +4714,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4346,7 +4727,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4399,7 +4783,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4408,7 +4795,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4457,7 +4847,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4492,11 +4885,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4543,7 +4942,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4582,7 +4984,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4603,7 +5008,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4643,7 +5051,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4660,7 +5071,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4691,7 +5105,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5128,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4753,7 +5173,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4782,7 +5205,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4822,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4842,7 +5271,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4862,7 +5294,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4895,7 +5330,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4959,7 +5397,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5012,7 +5453,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5029,7 +5473,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5064,7 +5511,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5086,7 +5536,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5099,7 +5552,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5123,7 +5579,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podtemplatelist-v1.json b/v1.12.3-standalone-strict/podtemplatelist-v1.json index 5f9dd7061f..de044fd2b1 100644 --- a/v1.12.3-standalone-strict/podtemplatelist-v1.json +++ b/v1.12.3-standalone-strict/podtemplatelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -423,7 +450,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -457,7 +487,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -500,7 +533,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -563,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -649,7 +688,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -692,11 +734,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -748,7 +796,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1026,7 +1077,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1123,7 +1177,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1225,7 +1282,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1322,7 +1382,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1362,7 +1425,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1444,7 +1510,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1491,7 +1560,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1521,7 +1593,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1556,7 +1631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1580,7 +1658,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1682,7 +1763,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1718,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1804,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1840,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1877,7 +1970,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1934,7 +2030,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1950,17 +2049,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1985,7 +2093,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1994,7 +2105,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2030,7 +2144,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2077,7 +2194,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2150,17 +2273,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2185,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2194,7 +2329,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2205,7 +2343,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2215,14 +2356,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2232,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2245,7 +2395,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2281,7 +2434,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2292,20 +2448,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2347,11 +2515,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2369,7 +2543,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2428,7 +2605,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2558,15 +2738,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2680,7 +2869,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2727,7 +2919,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2757,7 +2952,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2792,7 +2990,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2816,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2918,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2954,7 +3161,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3040,7 +3250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3076,7 +3289,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3113,7 +3329,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3170,7 +3389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3186,17 +3408,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3221,7 +3452,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3230,7 +3464,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3266,7 +3503,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3313,7 +3553,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3370,7 +3613,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3386,17 +3632,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3421,7 +3676,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3430,7 +3688,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3441,7 +3702,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3451,14 +3715,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3468,7 +3738,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3481,7 +3754,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3517,7 +3793,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3528,20 +3807,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3583,11 +3874,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3605,7 +3902,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3664,7 +3964,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3701,7 +4004,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3711,7 +4017,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3767,21 +4076,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3825,7 +4146,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3873,7 +4197,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3884,7 +4211,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3919,7 +4249,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3960,12 +4293,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4012,7 +4351,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4026,7 +4368,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4064,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4111,7 +4459,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4138,7 +4489,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4537,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4190,7 +4550,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4227,7 +4590,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4256,7 +4622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4293,7 +4662,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4312,12 +4684,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4367,7 +4745,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4377,7 +4758,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4430,7 +4814,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4439,7 +4826,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4488,7 +4878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4523,11 +4916,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4574,7 +4973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4613,7 +5015,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4634,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4674,7 +5082,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4691,7 +5102,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4722,7 +5136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4742,7 +5159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4784,7 +5204,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4813,7 +5236,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4853,7 +5279,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4873,7 +5302,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4893,7 +5325,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4926,7 +5361,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4990,7 +5428,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5043,7 +5484,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5060,7 +5504,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5095,7 +5542,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5117,7 +5567,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5130,7 +5583,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5154,7 +5610,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podtemplatelist.json b/v1.12.3-standalone-strict/podtemplatelist.json index 8eac14faad..ed28a53a83 100644 --- a/v1.12.3-standalone-strict/podtemplatelist.json +++ b/v1.12.3-standalone-strict/podtemplatelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -414,7 +441,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -448,7 +478,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +521,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -551,7 +587,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -637,7 +676,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -680,11 +722,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -736,7 +784,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1014,7 +1065,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1111,7 +1165,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1213,7 +1270,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1310,7 +1370,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1350,7 +1413,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1432,7 +1498,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1479,7 +1548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1509,7 +1581,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1544,7 +1619,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1568,7 +1646,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1670,7 +1751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1706,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1792,7 +1879,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1828,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1865,7 +1958,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1922,7 +2018,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1938,17 +2037,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1973,7 +2081,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1982,7 +2093,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2018,7 +2132,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2065,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2122,7 +2242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2138,17 +2261,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2173,7 +2305,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2182,7 +2317,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2193,7 +2331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2233,7 +2383,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2269,7 +2422,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2280,20 +2436,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2335,11 +2503,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2357,7 +2531,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2416,7 +2593,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2546,15 +2726,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2668,7 +2857,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2715,7 +2907,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2745,7 +2940,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2780,7 +2978,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2804,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2906,7 +3110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2942,7 +3149,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3028,7 +3238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3064,7 +3277,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3101,7 +3317,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3158,7 +3377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3174,17 +3396,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3209,7 +3440,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3218,7 +3452,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3254,7 +3491,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3301,7 +3541,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3358,7 +3601,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3374,17 +3620,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3409,7 +3664,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3418,7 +3676,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3429,7 +3690,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3439,14 +3703,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3456,7 +3726,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3469,7 +3742,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3505,7 +3781,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3516,20 +3795,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3571,11 +3862,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3593,7 +3890,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3652,7 +3952,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3689,7 +3992,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3699,7 +4005,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3755,21 +4064,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3813,7 +4134,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3861,7 +4185,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3872,7 +4199,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3907,7 +4237,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3948,12 +4281,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4000,7 +4339,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4014,7 +4356,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4052,7 +4397,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4099,7 +4447,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4126,7 +4477,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4148,7 +4502,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4168,7 +4525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4178,7 +4538,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4215,7 +4578,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4610,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4281,7 +4650,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4300,12 +4672,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4355,7 +4733,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4365,7 +4746,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4418,7 +4802,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4427,7 +4814,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4476,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4511,11 +4904,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4562,7 +4961,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4601,7 +5003,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4622,7 +5027,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4662,7 +5070,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4679,7 +5090,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4710,7 +5124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4730,7 +5147,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4772,7 +5192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4801,7 +5224,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4841,7 +5267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4861,7 +5290,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4881,7 +5313,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4914,7 +5349,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4978,7 +5416,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5031,7 +5472,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5048,7 +5492,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5083,7 +5530,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5105,7 +5555,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5118,7 +5571,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5142,7 +5598,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podtemplatespec-v1.json b/v1.12.3-standalone-strict/podtemplatespec-v1.json index d0ce7ddbd1..a8f0498338 100644 --- a/v1.12.3-standalone-strict/podtemplatespec-v1.json +++ b/v1.12.3-standalone-strict/podtemplatespec-v1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -108,7 +117,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -171,7 +183,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -257,7 +272,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -300,11 +318,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -356,7 +380,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -634,7 +661,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -731,7 +761,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -833,7 +866,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -930,7 +966,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1009,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1052,7 +1094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1099,7 +1144,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1129,7 +1177,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1164,7 +1215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1188,7 +1242,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1290,7 +1347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1326,7 +1386,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1412,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1448,7 +1514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1485,7 +1554,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1542,7 +1614,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1558,17 +1633,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1593,7 +1677,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1602,7 +1689,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1638,7 +1728,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1685,7 +1778,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1742,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1758,17 +1857,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1793,7 +1901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1802,7 +1913,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1813,7 +1927,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1823,14 +1940,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1840,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1853,7 +1979,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1889,7 +2018,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1900,20 +2032,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1955,11 +2099,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1977,7 +2127,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2189,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2166,15 +2322,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2288,7 +2453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2335,7 +2503,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2365,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2400,7 +2574,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2424,7 +2601,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2526,7 +2706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2562,7 +2745,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2648,7 +2834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2684,7 +2873,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2721,7 +2913,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2778,7 +2973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2794,17 +2992,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2829,7 +3036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2838,7 +3048,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2874,7 +3087,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2921,7 +3137,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2978,7 +3197,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2994,17 +3216,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3029,7 +3260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3038,7 +3272,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3049,7 +3286,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3059,14 +3299,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3076,7 +3322,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3089,7 +3338,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3125,7 +3377,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3136,20 +3391,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3191,11 +3458,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3213,7 +3486,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3272,7 +3548,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3309,7 +3588,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3319,7 +3601,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3375,21 +3660,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3433,7 +3730,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3481,7 +3781,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3492,7 +3795,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3527,7 +3833,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3568,12 +3877,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3620,7 +3935,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3634,7 +3952,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3672,7 +3993,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3719,7 +4043,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3746,7 +4073,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3768,7 +4098,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3788,7 +4121,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3798,7 +4134,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3835,7 +4174,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3864,7 +4206,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3901,7 +4246,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3920,12 +4268,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3975,7 +4329,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3985,7 +4342,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4038,7 +4398,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4047,7 +4410,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4096,7 +4462,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4131,11 +4500,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4182,7 +4557,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4221,7 +4599,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4242,7 +4623,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4282,7 +4666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4299,7 +4686,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4330,7 +4720,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4350,7 +4743,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4392,7 +4788,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4421,7 +4820,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4461,7 +4863,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4481,7 +4886,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4501,7 +4909,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4534,7 +4945,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4598,7 +5012,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4651,7 +5068,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4668,7 +5088,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4703,7 +5126,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4725,7 +5151,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4738,7 +5167,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4762,7 +5194,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/podtemplatespec.json b/v1.12.3-standalone-strict/podtemplatespec.json index 27746ff3ce..ee9127be81 100644 --- a/v1.12.3-standalone-strict/podtemplatespec.json +++ b/v1.12.3-standalone-strict/podtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -105,7 +114,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -168,7 +180,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -254,7 +269,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -297,11 +315,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -353,7 +377,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -631,7 +658,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -728,7 +758,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -830,7 +863,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -927,7 +963,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -967,7 +1006,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1049,7 +1091,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1096,7 +1141,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1126,7 +1174,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1161,7 +1212,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1185,7 +1239,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1287,7 +1344,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1323,7 +1383,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1409,7 +1472,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1445,7 +1511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1482,7 +1551,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1539,7 +1611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1555,17 +1630,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1590,7 +1674,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1599,7 +1686,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1635,7 +1725,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1682,7 +1775,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1739,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1755,17 +1854,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1790,7 +1898,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1799,7 +1910,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1810,7 +1924,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1820,14 +1937,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1837,7 +1960,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1850,7 +1976,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1886,7 +2015,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1897,20 +2029,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1952,11 +2096,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1974,7 +2124,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2033,7 +2186,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2163,15 +2319,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2285,7 +2450,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2332,7 +2500,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2362,7 +2533,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2397,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2421,7 +2598,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2523,7 +2703,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2559,7 +2742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2645,7 +2831,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2681,7 +2870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2718,7 +2910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2775,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2791,17 +2989,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2826,7 +3033,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2835,7 +3045,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2871,7 +3084,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2918,7 +3134,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2975,7 +3194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2991,17 +3213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3026,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3035,7 +3269,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3046,7 +3283,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3056,14 +3296,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3073,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3086,7 +3335,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3122,7 +3374,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3133,20 +3388,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3188,11 +3455,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3210,7 +3483,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3269,7 +3545,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3306,7 +3585,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3316,7 +3598,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3372,21 +3657,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3430,7 +3727,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3478,7 +3778,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3489,7 +3792,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3524,7 +3830,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3565,12 +3874,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3617,7 +3932,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3631,7 +3949,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3669,7 +3990,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3716,7 +4040,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3743,7 +4070,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3765,7 +4095,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3785,7 +4118,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3795,7 +4131,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3832,7 +4171,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3861,7 +4203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3898,7 +4243,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3917,12 +4265,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3972,7 +4326,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3982,7 +4339,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4035,7 +4395,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4044,7 +4407,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4093,7 +4459,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4128,11 +4497,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4179,7 +4554,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4218,7 +4596,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4239,7 +4620,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4279,7 +4663,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4296,7 +4683,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4327,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4347,7 +4740,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4389,7 +4785,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4418,7 +4817,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4458,7 +4860,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4478,7 +4883,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4498,7 +4906,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4531,7 +4942,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4595,7 +5009,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4648,7 +5065,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4665,7 +5085,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4700,7 +5123,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4722,7 +5148,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4735,7 +5164,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4759,7 +5191,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/portworxvolumesource-v1.json b/v1.12.3-standalone-strict/portworxvolumesource-v1.json index ffdcfa6aa5..17ff50e82c 100644 --- a/v1.12.3-standalone-strict/portworxvolumesource-v1.json +++ b/v1.12.3-standalone-strict/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3-standalone-strict/portworxvolumesource.json b/v1.12.3-standalone-strict/portworxvolumesource.json index ffdcfa6aa5..17ff50e82c 100644 --- a/v1.12.3-standalone-strict/portworxvolumesource.json +++ b/v1.12.3-standalone-strict/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3-standalone-strict/preferredschedulingterm-v1.json b/v1.12.3-standalone-strict/preferredschedulingterm-v1.json index 6a44683818..695792c799 100644 --- a/v1.12.3-standalone-strict/preferredschedulingterm-v1.json +++ b/v1.12.3-standalone-strict/preferredschedulingterm-v1.json @@ -89,7 +89,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/preferredschedulingterm.json b/v1.12.3-standalone-strict/preferredschedulingterm.json index 6a44683818..695792c799 100644 --- a/v1.12.3-standalone-strict/preferredschedulingterm.json +++ b/v1.12.3-standalone-strict/preferredschedulingterm.json @@ -89,7 +89,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/priorityclass-scheduling-v1alpha1.json b/v1.12.3-standalone-strict/priorityclass-scheduling-v1alpha1.json index 159ef85c3d..1202209182 100644 --- a/v1.12.3-standalone-strict/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.3-standalone-strict/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -142,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -291,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +411,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/priorityclass-scheduling-v1beta1.json b/v1.12.3-standalone-strict/priorityclass-scheduling-v1beta1.json index d7cda24ec3..8468bf3ff6 100644 --- a/v1.12.3-standalone-strict/priorityclass-scheduling-v1beta1.json +++ b/v1.12.3-standalone-strict/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -142,7 +154,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +220,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -291,7 +309,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,11 +355,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +411,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/priorityclass.json b/v1.12.3-standalone-strict/priorityclass.json index 48abedaca1..b3410c65bb 100644 --- a/v1.12.3-standalone-strict/priorityclass.json +++ b/v1.12.3-standalone-strict/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -136,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -199,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -285,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -328,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +405,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1alpha1.json b/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1alpha1.json index 3d216acdbb..a87ae0ea7f 100644 --- a/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1alpha1.json +++ b/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1alpha1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -164,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -313,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1beta1.json b/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1beta1.json index 8a7351ba36..4a8e8f91a7 100644 --- a/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1beta1.json +++ b/v1.12.3-standalone-strict/priorityclasslist-scheduling-v1beta1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -164,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +242,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -313,7 +331,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,11 +377,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/priorityclasslist.json b/v1.12.3-standalone-strict/priorityclasslist.json index b5f90ecefa..04dbf4e1fe 100644 --- a/v1.12.3-standalone-strict/priorityclasslist.json +++ b/v1.12.3-standalone-strict/priorityclasslist.json @@ -39,7 +39,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -56,7 +59,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -81,7 +87,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -115,7 +124,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -155,7 +167,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -218,7 +233,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -304,7 +322,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -347,11 +368,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/probe-v1.json b/v1.12.3-standalone-strict/probe-v1.json index 896abf588a..ab51507978 100644 --- a/v1.12.3-standalone-strict/probe-v1.json +++ b/v1.12.3-standalone-strict/probe-v1.json @@ -22,7 +22,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -95,17 +101,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -130,7 +145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -139,7 +157,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/probe.json b/v1.12.3-standalone-strict/probe.json index 896abf588a..ab51507978 100644 --- a/v1.12.3-standalone-strict/probe.json +++ b/v1.12.3-standalone-strict/probe.json @@ -22,7 +22,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -79,7 +82,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -95,17 +101,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -130,7 +145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -139,7 +157,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/projectedvolumesource-v1.json b/v1.12.3-standalone-strict/projectedvolumesource-v1.json index 6ccc132087..f8865a7cd1 100644 --- a/v1.12.3-standalone-strict/projectedvolumesource-v1.json +++ b/v1.12.3-standalone-strict/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -60,7 +66,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -102,7 +111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -131,7 +143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -171,7 +186,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -191,7 +209,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone-strict/projectedvolumesource.json b/v1.12.3-standalone-strict/projectedvolumesource.json index 6ccc132087..f8865a7cd1 100644 --- a/v1.12.3-standalone-strict/projectedvolumesource.json +++ b/v1.12.3-standalone-strict/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -60,7 +66,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -102,7 +111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -131,7 +143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -171,7 +186,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -191,7 +209,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -211,7 +232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone-strict/quantity-resource.json b/v1.12.3-standalone-strict/quantity-resource.json index 15fb8c684e..8047117a46 100644 --- a/v1.12.3-standalone-strict/quantity-resource.json +++ b/v1.12.3-standalone-strict/quantity-resource.json @@ -4,9 +4,10 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/quantity.json b/v1.12.3-standalone-strict/quantity.json index 15fb8c684e..8047117a46 100644 --- a/v1.12.3-standalone-strict/quantity.json +++ b/v1.12.3-standalone-strict/quantity.json @@ -4,9 +4,10 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", - "type": "object" + "type": "object", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/quobytevolumesource-v1.json b/v1.12.3-standalone-strict/quobytevolumesource-v1.json index bafa62eb93..c89b8309dd 100644 --- a/v1.12.3-standalone-strict/quobytevolumesource-v1.json +++ b/v1.12.3-standalone-strict/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3-standalone-strict/quobytevolumesource.json b/v1.12.3-standalone-strict/quobytevolumesource.json index bafa62eb93..c89b8309dd 100644 --- a/v1.12.3-standalone-strict/quobytevolumesource.json +++ b/v1.12.3-standalone-strict/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3-standalone-strict/rbdpersistentvolumesource-v1.json b/v1.12.3-standalone-strict/rbdpersistentvolumesource-v1.json index 384030c589..e545c45678 100644 --- a/v1.12.3-standalone-strict/rbdpersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/rbdpersistentvolumesource.json b/v1.12.3-standalone-strict/rbdpersistentvolumesource.json index 384030c589..e545c45678 100644 --- a/v1.12.3-standalone-strict/rbdpersistentvolumesource.json +++ b/v1.12.3-standalone-strict/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone-strict/rbdvolumesource-v1.json b/v1.12.3-standalone-strict/rbdvolumesource-v1.json index d8115f5faa..8e1ee9edbc 100644 --- a/v1.12.3-standalone-strict/rbdvolumesource-v1.json +++ b/v1.12.3-standalone-strict/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/rbdvolumesource.json b/v1.12.3-standalone-strict/rbdvolumesource.json index d8115f5faa..8e1ee9edbc 100644 --- a/v1.12.3-standalone-strict/rbdvolumesource.json +++ b/v1.12.3-standalone-strict/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicaset-apps-v1.json b/v1.12.3-standalone-strict/replicaset-apps-v1.json index 2d056d1aad..b5d0a4befa 100644 --- a/v1.12.3-standalone-strict/replicaset-apps-v1.json +++ b/v1.12.3-standalone-strict/replicaset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -550,7 +592,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -699,7 +747,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,11 +793,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -798,7 +855,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1076,7 +1136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1341,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1484,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1494,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1541,7 +1619,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1571,7 +1652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1606,7 +1690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1717,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1732,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1768,7 +1861,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1854,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,7 +1989,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1927,7 +2029,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1984,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2044,7 +2164,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2080,7 +2203,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2127,7 +2253,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2184,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2200,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2235,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2255,7 +2402,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,14 +2415,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2282,7 +2438,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2295,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2493,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2507,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2397,11 +2574,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2419,7 +2602,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2664,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2608,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2730,7 +2928,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2777,7 +2978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3011,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2842,7 +3049,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3076,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2968,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3004,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,7 +3348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3163,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3220,7 +3448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3236,17 +3467,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3271,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3280,7 +3523,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3316,7 +3562,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3363,7 +3612,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3420,7 +3672,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3436,17 +3691,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3471,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3491,7 +3761,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3501,14 +3774,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3518,7 +3797,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3531,7 +3813,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3567,7 +3852,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3578,20 +3866,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3633,11 +3933,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3655,7 +3961,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3714,7 +4023,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3751,7 +4063,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3761,7 +4076,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3817,21 +4135,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,7 +4205,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3923,7 +4256,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3934,7 +4270,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3969,7 +4308,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4010,12 +4352,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4062,7 +4410,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4076,7 +4427,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4114,7 +4468,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4161,7 +4518,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4188,7 +4548,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4210,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4230,7 +4596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4240,7 +4609,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4277,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4306,7 +4681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4343,7 +4721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4362,12 +4743,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4417,7 +4804,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4427,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4480,7 +4873,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4489,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4538,7 +4937,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,11 +4975,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4624,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4663,7 +5074,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4684,7 +5098,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4724,7 +5141,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4741,7 +5161,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4772,7 +5195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4834,7 +5263,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4863,7 +5295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4903,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5361,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5384,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4976,7 +5420,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5040,7 +5487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5093,7 +5543,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5145,7 +5601,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5167,7 +5626,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5180,7 +5642,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5204,7 +5669,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5293,7 +5761,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5347,17 +5818,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicaset-apps-v1beta2.json b/v1.12.3-standalone-strict/replicaset-apps-v1beta2.json index 22edf86049..78d53dfdd7 100644 --- a/v1.12.3-standalone-strict/replicaset-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/replicaset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -550,7 +592,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -699,7 +747,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,11 +793,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -798,7 +855,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1076,7 +1136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1341,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1484,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1494,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1541,7 +1619,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1571,7 +1652,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1606,7 +1690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1630,7 +1717,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1732,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1768,7 +1861,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1854,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1890,7 +1989,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1927,7 +2029,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1984,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2044,7 +2164,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2080,7 +2203,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2127,7 +2253,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2184,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2200,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2235,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2255,7 +2402,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,14 +2415,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2282,7 +2438,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2295,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2493,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2507,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2397,11 +2574,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2419,7 +2602,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2664,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2608,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2730,7 +2928,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2777,7 +2978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3011,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2842,7 +3049,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2866,7 +3076,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2968,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3004,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3126,7 +3348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3163,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3220,7 +3448,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3236,17 +3467,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3271,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3280,7 +3523,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3316,7 +3562,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3363,7 +3612,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3420,7 +3672,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3436,17 +3691,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3471,7 +3735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3480,7 +3747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3491,7 +3761,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3501,14 +3774,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3518,7 +3797,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3531,7 +3813,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3567,7 +3852,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3578,20 +3866,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3633,11 +3933,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3655,7 +3961,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3714,7 +4023,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3751,7 +4063,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3761,7 +4076,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3817,21 +4135,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,7 +4205,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3923,7 +4256,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3934,7 +4270,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3969,7 +4308,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4010,12 +4352,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4062,7 +4410,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4076,7 +4427,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4114,7 +4468,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4161,7 +4518,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4188,7 +4548,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4210,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4230,7 +4596,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4240,7 +4609,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4277,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4306,7 +4681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4343,7 +4721,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4362,12 +4743,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4417,7 +4804,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4427,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4480,7 +4873,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4489,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4538,7 +4937,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,11 +4975,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4624,7 +5032,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4663,7 +5074,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4684,7 +5098,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4724,7 +5141,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4741,7 +5161,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4772,7 +5195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4834,7 +5263,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4863,7 +5295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4903,7 +5338,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4923,7 +5361,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4943,7 +5384,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4976,7 +5420,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5040,7 +5487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5093,7 +5543,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5145,7 +5601,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5167,7 +5626,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5180,7 +5642,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5204,7 +5669,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5293,7 +5761,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5347,17 +5818,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicaset-extensions-v1beta1.json b/v1.12.3-standalone-strict/replicaset-extensions-v1beta1.json index 8b6819e792..ca493af5ad 100644 --- a/v1.12.3-standalone-strict/replicaset-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/replicaset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,12 +397,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -426,7 +456,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -445,7 +478,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +506,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -504,7 +543,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -547,7 +589,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -610,7 +655,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -795,7 +852,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1073,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1170,7 +1233,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1272,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1369,7 +1438,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1409,7 +1481,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1491,7 +1566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1538,7 +1616,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1568,7 +1649,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1603,7 +1687,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1627,7 +1714,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1729,7 +1819,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1851,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +1986,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1924,7 +2026,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1981,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1997,17 +2105,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2032,7 +2149,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2041,7 +2161,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2077,7 +2200,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2124,7 +2250,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2181,7 +2310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2197,17 +2329,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2232,7 +2373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2241,7 +2385,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2252,7 +2399,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2262,14 +2412,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,7 +2435,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2292,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2328,7 +2490,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2339,20 +2504,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2394,11 +2571,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2416,7 +2599,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2475,7 +2661,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2605,15 +2794,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2727,7 +2925,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2774,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2804,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2839,7 +3046,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2863,7 +3073,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2965,7 +3178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3001,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3087,7 +3306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3123,7 +3345,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3160,7 +3385,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3217,7 +3445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3233,17 +3464,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3268,7 +3508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3277,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3313,7 +3559,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3360,7 +3609,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3417,7 +3669,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3433,17 +3688,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3468,7 +3732,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3477,7 +3744,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3488,7 +3758,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3498,14 +3771,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3515,7 +3794,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3528,7 +3810,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3564,7 +3849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3575,20 +3863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3630,11 +3930,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3652,7 +3958,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3711,7 +4020,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3748,7 +4060,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3758,7 +4073,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3814,21 +4132,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3872,7 +4202,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3920,7 +4253,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3931,7 +4267,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3966,7 +4305,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4007,12 +4349,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4059,7 +4407,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4073,7 +4424,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4111,7 +4465,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4158,7 +4515,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4185,7 +4545,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4207,7 +4570,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4227,7 +4593,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4237,7 +4606,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4274,7 +4646,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4303,7 +4678,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4340,7 +4718,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4359,12 +4740,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4414,7 +4801,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4424,7 +4814,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4477,7 +4870,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4486,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4535,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4570,11 +4972,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4621,7 +5029,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4660,7 +5071,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4681,7 +5095,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4721,7 +5138,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4738,7 +5158,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4769,7 +5192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4789,7 +5215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4831,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4860,7 +5292,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4900,7 +5335,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4920,7 +5358,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4940,7 +5381,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4973,7 +5417,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5037,7 +5484,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5090,7 +5540,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5107,7 +5560,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5142,7 +5598,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5164,7 +5623,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5177,7 +5639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5201,7 +5666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5290,7 +5758,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5344,17 +5815,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicaset.json b/v1.12.3-standalone-strict/replicaset.json index 189169f6de..a420c8da64 100644 --- a/v1.12.3-standalone-strict/replicaset.json +++ b/v1.12.3-standalone-strict/replicaset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,12 +391,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +472,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +500,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +537,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -538,7 +580,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -687,7 +735,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -730,11 +781,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -786,7 +843,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1064,7 +1124,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1161,7 +1224,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1263,7 +1329,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1360,7 +1429,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1400,7 +1472,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1482,7 +1557,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1529,7 +1607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1559,7 +1640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1594,7 +1678,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1705,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1720,7 +1810,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1756,7 +1849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1842,7 +1938,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1878,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1915,7 +2017,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1972,7 +2077,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1988,17 +2096,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2023,7 +2140,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2032,7 +2152,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2068,7 +2191,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2115,7 +2241,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2172,7 +2301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2188,17 +2320,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2223,7 +2364,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2232,7 +2376,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2243,7 +2390,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2253,14 +2403,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,7 +2426,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2283,7 +2442,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2319,7 +2481,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2330,20 +2495,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2562,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2590,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2466,7 +2652,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2596,15 +2785,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2718,7 +2916,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2765,7 +2966,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2795,7 +2999,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2830,7 +3037,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2854,7 +3064,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2956,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2992,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3297,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3114,7 +3336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3151,7 +3376,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3208,7 +3436,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3224,17 +3455,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3259,7 +3499,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3268,7 +3511,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3304,7 +3550,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3351,7 +3600,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3408,7 +3660,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3424,17 +3679,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3459,7 +3723,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3468,7 +3735,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3479,7 +3749,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3489,14 +3762,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3506,7 +3785,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3519,7 +3801,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3555,7 +3840,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3566,20 +3854,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3621,11 +3921,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3643,7 +3949,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3702,7 +4011,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3739,7 +4051,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3749,7 +4064,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3805,21 +4123,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3863,7 +4193,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3911,7 +4244,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3922,7 +4258,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3957,7 +4296,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3998,12 +4340,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4050,7 +4398,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4064,7 +4415,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4102,7 +4456,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4149,7 +4506,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4176,7 +4536,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4198,7 +4561,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4218,7 +4584,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4228,7 +4597,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4265,7 +4637,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4294,7 +4669,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4331,7 +4709,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4350,12 +4731,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4405,7 +4792,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4415,7 +4805,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4468,7 +4861,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4477,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4526,7 +4925,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4561,11 +4963,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4612,7 +5020,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4651,7 +5062,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4672,7 +5086,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4712,7 +5129,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4729,7 +5149,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4760,7 +5183,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5206,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4822,7 +5251,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4851,7 +5283,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4891,7 +5326,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4911,7 +5349,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4931,7 +5372,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4964,7 +5408,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5028,7 +5475,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5081,7 +5531,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5098,7 +5551,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5133,7 +5589,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5155,7 +5614,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5168,7 +5630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5192,7 +5657,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5281,7 +5749,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5335,17 +5806,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicasetlist-apps-v1.json b/v1.12.3-standalone-strict/replicasetlist-apps-v1.json index d1b302062c..fd62a4b84d 100644 --- a/v1.12.3-standalone-strict/replicasetlist-apps-v1.json +++ b/v1.12.3-standalone-strict/replicasetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -451,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -495,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -529,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5315,7 +5783,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5369,17 +5840,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicasetlist-apps-v1beta2.json b/v1.12.3-standalone-strict/replicasetlist-apps-v1beta2.json index 2c06094756..f941c8a3df 100644 --- a/v1.12.3-standalone-strict/replicasetlist-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/replicasetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -451,7 +481,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +503,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -495,7 +531,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -529,7 +568,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5315,7 +5783,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5369,17 +5840,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicasetlist-extensions-v1beta1.json b/v1.12.3-standalone-strict/replicasetlist-extensions-v1beta1.json index 76924e76c9..d817b95994 100644 --- a/v1.12.3-standalone-strict/replicasetlist-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/replicasetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,12 +419,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -448,7 +478,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -467,7 +500,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -492,7 +528,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -526,7 +565,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -569,7 +611,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -632,7 +677,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -718,7 +766,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -761,11 +812,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -817,7 +874,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1095,7 +1155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1192,7 +1255,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1294,7 +1360,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1391,7 +1460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1431,7 +1503,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1513,7 +1588,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1560,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1590,7 +1671,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1625,7 +1709,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1649,7 +1736,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1751,7 +1841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1787,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1873,7 +1969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1909,7 +2008,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1946,7 +2048,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2003,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2019,17 +2127,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2054,7 +2171,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2063,7 +2183,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2099,7 +2222,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2146,7 +2272,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2203,7 +2332,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2219,17 +2351,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2254,7 +2395,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2263,7 +2407,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2274,7 +2421,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2284,14 +2434,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2301,7 +2457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2314,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2350,7 +2512,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2361,20 +2526,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2416,11 +2593,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2438,7 +2621,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2497,7 +2683,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2627,15 +2816,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2749,7 +2947,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2796,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2826,7 +3030,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2861,7 +3068,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2885,7 +3095,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2987,7 +3200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3239,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3109,7 +3328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3145,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3407,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3239,7 +3467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3255,17 +3486,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3290,7 +3530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3299,7 +3542,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3335,7 +3581,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3382,7 +3631,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3439,7 +3691,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3455,17 +3710,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3490,7 +3754,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3499,7 +3766,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3510,7 +3780,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3520,14 +3793,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3537,7 +3816,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3550,7 +3832,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3586,7 +3871,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3597,20 +3885,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3652,11 +3952,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3674,7 +3980,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3733,7 +4042,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3770,7 +4082,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3780,7 +4095,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3836,21 +4154,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3894,7 +4224,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3942,7 +4275,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3953,7 +4289,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3988,7 +4327,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4029,12 +4371,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4081,7 +4429,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4095,7 +4446,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4133,7 +4487,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4180,7 +4537,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4207,7 +4567,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4229,7 +4592,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4249,7 +4615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4259,7 +4628,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4296,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4325,7 +4700,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4362,7 +4740,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4381,12 +4762,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4436,7 +4823,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4446,7 +4836,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4499,7 +4892,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4508,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4557,7 +4956,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4592,11 +4994,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4643,7 +5051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4682,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4703,7 +5117,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4743,7 +5160,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4760,7 +5180,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4791,7 +5214,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4811,7 +5237,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4853,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4882,7 +5314,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4922,7 +5357,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4942,7 +5380,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4962,7 +5403,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4995,7 +5439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5059,7 +5506,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5112,7 +5562,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5129,7 +5582,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5164,7 +5620,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5186,7 +5645,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5199,7 +5661,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5223,7 +5688,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5312,7 +5780,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5366,17 +5837,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicasetlist.json b/v1.12.3-standalone-strict/replicasetlist.json index 6e6bf725fe..44d43d6b14 100644 --- a/v1.12.3-standalone-strict/replicasetlist.json +++ b/v1.12.3-standalone-strict/replicasetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,12 +410,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -439,7 +469,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +491,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -483,7 +519,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -517,7 +556,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -557,7 +599,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -620,7 +665,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -805,7 +862,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1083,7 +1143,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1180,7 +1243,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1282,7 +1348,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1379,7 +1448,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1419,7 +1491,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1501,7 +1576,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1548,7 +1626,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1578,7 +1659,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1613,7 +1697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1637,7 +1724,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1739,7 +1829,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1775,7 +1868,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1957,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1897,7 +1996,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1934,7 +2036,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1991,7 +2096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2007,17 +2115,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2042,7 +2159,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2051,7 +2171,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2087,7 +2210,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2134,7 +2260,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2191,7 +2320,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2339,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2383,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2251,7 +2395,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2262,7 +2409,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2272,14 +2422,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2289,7 +2445,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2302,7 +2461,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2338,7 +2500,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2349,20 +2514,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2404,11 +2581,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2426,7 +2609,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2485,7 +2671,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2615,15 +2804,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2737,7 +2935,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2784,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2814,7 +3018,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2849,7 +3056,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2873,7 +3083,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2975,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3227,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3097,7 +3316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3133,7 +3355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3395,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3227,7 +3455,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3243,17 +3474,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3278,7 +3518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3287,7 +3530,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3323,7 +3569,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3370,7 +3619,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3427,7 +3679,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3443,17 +3698,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3478,7 +3742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3487,7 +3754,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3498,7 +3768,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3508,14 +3781,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3525,7 +3804,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3538,7 +3820,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3574,7 +3859,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3585,20 +3873,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3640,11 +3940,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3662,7 +3968,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3721,7 +4030,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3758,7 +4070,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3768,7 +4083,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3824,21 +4142,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3882,7 +4212,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3930,7 +4263,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3941,7 +4277,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3976,7 +4315,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4017,12 +4359,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4069,7 +4417,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4083,7 +4434,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4121,7 +4475,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4168,7 +4525,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4195,7 +4555,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4217,7 +4580,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4237,7 +4603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4247,7 +4616,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4284,7 +4656,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4313,7 +4688,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4350,7 +4728,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4369,12 +4750,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4424,7 +4811,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4434,7 +4824,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4487,7 +4880,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4496,7 +4892,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4545,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4580,11 +4982,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4631,7 +5039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4670,7 +5081,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4691,7 +5105,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4731,7 +5148,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4748,7 +5168,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4779,7 +5202,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4799,7 +5225,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4841,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4870,7 +5302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4910,7 +5345,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4930,7 +5368,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4950,7 +5391,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4983,7 +5427,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5047,7 +5494,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5100,7 +5550,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5570,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5152,7 +5608,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5174,7 +5633,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5187,7 +5649,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5211,7 +5676,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5300,7 +5768,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5354,17 +5825,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicasetspec-apps-v1.json b/v1.12.3-standalone-strict/replicasetspec-apps-v1.json index 7a598ffc8c..d4d68a6a12 100644 --- a/v1.12.3-standalone-strict/replicasetspec-apps-v1.json +++ b/v1.12.3-standalone-strict/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -243,7 +264,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +353,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +399,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +461,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -706,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,7 +842,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -905,7 +947,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1002,7 +1047,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1042,7 +1090,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1171,7 +1225,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1201,7 +1258,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1236,7 +1296,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1260,7 +1323,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1362,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1398,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1484,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1520,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1557,7 +1635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1630,17 +1714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1674,7 +1770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1710,7 +1809,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1757,7 +1859,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,17 +1938,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1865,7 +1982,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1994,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1885,7 +2008,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2021,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2044,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1925,7 +2060,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1961,7 +2099,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1972,20 +2113,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2027,11 +2180,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2049,7 +2208,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2108,7 +2270,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2238,15 +2403,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2407,7 +2584,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2437,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2472,7 +2655,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2496,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2598,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2634,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2720,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2756,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2793,7 +2994,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2850,7 +3054,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2866,17 +3073,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2901,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2910,7 +3129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2946,7 +3168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2993,7 +3218,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3066,17 +3297,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3101,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3353,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3121,7 +3367,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3131,14 +3380,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3148,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3161,7 +3419,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3197,7 +3458,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3208,20 +3472,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3263,11 +3539,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3285,7 +3567,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3344,7 +3629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3381,7 +3669,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3391,7 +3682,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3447,21 +3741,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3505,7 +3811,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3553,7 +3862,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3564,7 +3876,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3599,7 +3914,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3640,12 +3958,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3692,7 +4016,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3706,7 +4033,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3744,7 +4074,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3791,7 +4124,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3860,7 +4202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3870,7 +4215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3936,7 +4287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3973,7 +4327,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3992,12 +4349,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4047,7 +4410,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4057,7 +4423,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4479,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4119,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4543,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4203,11 +4581,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4254,7 +4638,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4293,7 +4680,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4314,7 +4704,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4354,7 +4747,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4371,7 +4767,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4402,7 +4801,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4422,7 +4824,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4464,7 +4869,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4493,7 +4901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4533,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4967,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,7 +4990,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4606,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4740,7 +5169,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4775,7 +5207,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4797,7 +5232,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4810,7 +5248,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4834,7 +5275,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicasetspec-apps-v1beta2.json b/v1.12.3-standalone-strict/replicasetspec-apps-v1beta2.json index 7a598ffc8c..d4d68a6a12 100644 --- a/v1.12.3-standalone-strict/replicasetspec-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -137,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -243,7 +264,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +353,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +399,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +461,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -706,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,7 +842,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -905,7 +947,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1002,7 +1047,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1042,7 +1090,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1171,7 +1225,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1201,7 +1258,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1236,7 +1296,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1260,7 +1323,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1362,7 +1428,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1398,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1484,7 +1556,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1520,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1557,7 +1635,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1630,17 +1714,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1674,7 +1770,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1710,7 +1809,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1757,7 +1859,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,17 +1938,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1865,7 +1982,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1994,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1885,7 +2008,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2021,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2044,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1925,7 +2060,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1961,7 +2099,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1972,20 +2113,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2027,11 +2180,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2049,7 +2208,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2108,7 +2270,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2238,15 +2403,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2407,7 +2584,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2437,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2472,7 +2655,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2496,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2598,7 +2787,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2634,7 +2826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2720,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2756,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2793,7 +2994,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2850,7 +3054,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2866,17 +3073,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2901,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2910,7 +3129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2946,7 +3168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2993,7 +3218,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3050,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3066,17 +3297,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3101,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3353,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3121,7 +3367,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3131,14 +3380,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3148,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3161,7 +3419,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3197,7 +3458,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3208,20 +3472,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3263,11 +3539,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3285,7 +3567,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3344,7 +3629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3381,7 +3669,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3391,7 +3682,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3447,21 +3741,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3505,7 +3811,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3553,7 +3862,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3564,7 +3876,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3599,7 +3914,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3640,12 +3958,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3692,7 +4016,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3706,7 +4033,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3744,7 +4074,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3791,7 +4124,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3818,7 +4154,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3860,7 +4202,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3870,7 +4215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3907,7 +4255,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3936,7 +4287,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3973,7 +4327,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3992,12 +4349,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4047,7 +4410,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4057,7 +4423,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4479,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4119,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4168,7 +4543,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4203,11 +4581,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4254,7 +4638,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4293,7 +4680,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4314,7 +4704,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4354,7 +4747,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4371,7 +4767,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4402,7 +4801,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4422,7 +4824,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4464,7 +4869,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4493,7 +4901,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4533,7 +4944,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4553,7 +4967,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4573,7 +4990,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4606,7 +5026,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4670,7 +5093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4723,7 +5149,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4740,7 +5169,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4775,7 +5207,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4797,7 +5232,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4810,7 +5248,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4834,7 +5275,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicasetspec-extensions-v1beta1.json b/v1.12.3-standalone-strict/replicasetspec-extensions-v1beta1.json index 64baf3a6a5..fcac2d71a6 100644 --- a/v1.12.3-standalone-strict/replicasetspec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -56,7 +62,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +84,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +112,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +149,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -326,7 +350,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -369,11 +396,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +458,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -703,7 +739,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -800,7 +839,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -902,7 +944,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -999,7 +1044,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1039,7 +1087,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1121,7 +1172,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1168,7 +1222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1198,7 +1255,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1233,7 +1293,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1257,7 +1320,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1359,7 +1425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1395,7 +1464,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1481,7 +1553,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1517,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1554,7 +1632,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1611,7 +1692,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1627,17 +1711,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1662,7 +1755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1671,7 +1767,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1707,7 +1806,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1754,7 +1856,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1811,7 +1916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1827,17 +1935,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1862,7 +1979,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1871,7 +1991,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1882,7 +2005,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1892,14 +2018,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,7 +2041,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1922,7 +2057,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1958,7 +2096,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1969,20 +2110,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2024,11 +2177,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2046,7 +2205,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2105,7 +2267,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2235,15 +2400,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2357,7 +2531,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2404,7 +2581,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2434,7 +2614,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2469,7 +2652,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2493,7 +2679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2595,7 +2784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2631,7 +2823,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2717,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2753,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2790,7 +2991,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2847,7 +3051,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2863,17 +3070,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2898,7 +3114,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2907,7 +3126,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2943,7 +3165,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2990,7 +3215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3047,7 +3275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3063,17 +3294,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3098,7 +3338,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3107,7 +3350,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3118,7 +3364,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3128,14 +3377,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3145,7 +3400,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3158,7 +3416,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3194,7 +3455,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3205,20 +3469,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3260,11 +3536,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3282,7 +3564,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3341,7 +3626,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3378,7 +3666,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3388,7 +3679,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3444,21 +3738,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3502,7 +3808,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3550,7 +3859,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3561,7 +3873,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3596,7 +3911,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3637,12 +3955,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3689,7 +4013,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3703,7 +4030,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3741,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3788,7 +4121,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3815,7 +4151,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3837,7 +4176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3857,7 +4199,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3867,7 +4212,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3904,7 +4252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3933,7 +4284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3970,7 +4324,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3989,12 +4346,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4044,7 +4407,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4054,7 +4420,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4107,7 +4476,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4116,7 +4488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4165,7 +4540,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4200,11 +4578,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4251,7 +4635,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4290,7 +4677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4311,7 +4701,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4351,7 +4744,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4368,7 +4764,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4399,7 +4798,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4419,7 +4821,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4461,7 +4866,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4898,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4530,7 +4941,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4550,7 +4964,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4570,7 +4987,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4603,7 +5023,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4667,7 +5090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4720,7 +5146,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4737,7 +5166,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4772,7 +5204,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4794,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4807,7 +5245,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4831,7 +5272,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicasetspec.json b/v1.12.3-standalone-strict/replicasetspec.json index d1435ba6a9..8b93a04f91 100644 --- a/v1.12.3-standalone-strict/replicasetspec.json +++ b/v1.12.3-standalone-strict/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -56,7 +62,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +84,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +112,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +149,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +192,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -237,7 +258,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -323,7 +347,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -366,11 +393,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -422,7 +455,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -700,7 +736,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -797,7 +836,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -899,7 +941,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -996,7 +1041,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1036,7 +1084,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1118,7 +1169,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1165,7 +1219,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1195,7 +1252,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1230,7 +1290,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1254,7 +1317,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1356,7 +1422,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1392,7 +1461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1478,7 +1550,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1514,7 +1589,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1551,7 +1629,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1608,7 +1689,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1624,17 +1708,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1659,7 +1752,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1668,7 +1764,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1704,7 +1803,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1751,7 +1853,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1808,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1824,17 +1932,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1859,7 +1976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1868,7 +1988,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1879,7 +2002,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1889,14 +2015,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1906,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1919,7 +2054,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1955,7 +2093,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1966,20 +2107,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2021,11 +2174,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2043,7 +2202,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2102,7 +2264,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2232,15 +2397,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2354,7 +2528,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2401,7 +2578,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2431,7 +2611,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2466,7 +2649,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2490,7 +2676,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2592,7 +2781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2628,7 +2820,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2714,7 +2909,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2750,7 +2948,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2787,7 +2988,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2844,7 +3048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2860,17 +3067,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2895,7 +3111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2904,7 +3123,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2940,7 +3162,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2987,7 +3212,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3044,7 +3272,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3060,17 +3291,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3095,7 +3335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3104,7 +3347,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3115,7 +3361,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3125,14 +3374,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3142,7 +3397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3155,7 +3413,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3191,7 +3452,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3202,20 +3466,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3257,11 +3533,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3279,7 +3561,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3338,7 +3623,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3375,7 +3663,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3385,7 +3676,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3441,21 +3735,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3499,7 +3805,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3547,7 +3856,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3558,7 +3870,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3593,7 +3908,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3634,12 +3952,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3686,7 +4010,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3700,7 +4027,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3738,7 +4068,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3785,7 +4118,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3812,7 +4148,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3834,7 +4173,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3854,7 +4196,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3864,7 +4209,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3901,7 +4249,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3930,7 +4281,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3967,7 +4321,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3986,12 +4343,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4041,7 +4404,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4051,7 +4417,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4104,7 +4473,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4113,7 +4485,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4162,7 +4537,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4197,11 +4575,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4248,7 +4632,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4287,7 +4674,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4308,7 +4698,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4348,7 +4741,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4365,7 +4761,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4396,7 +4795,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4416,7 +4818,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4458,7 +4863,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4487,7 +4895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4527,7 +4938,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4547,7 +4961,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4567,7 +4984,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4600,7 +5020,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4664,7 +5087,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4717,7 +5143,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4734,7 +5163,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4769,7 +5201,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4791,7 +5226,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4804,7 +5242,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4828,7 +5269,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicasetstatus-apps-v1.json b/v1.12.3-standalone-strict/replicasetstatus-apps-v1.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.3-standalone-strict/replicasetstatus-apps-v1.json +++ b/v1.12.3-standalone-strict/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/replicasetstatus-apps-v1beta2.json b/v1.12.3-standalone-strict/replicasetstatus-apps-v1beta2.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.3-standalone-strict/replicasetstatus-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/replicasetstatus-extensions-v1beta1.json b/v1.12.3-standalone-strict/replicasetstatus-extensions-v1beta1.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.3-standalone-strict/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/replicasetstatus.json b/v1.12.3-standalone-strict/replicasetstatus.json index a319d8975a..4fdc279c83 100644 --- a/v1.12.3-standalone-strict/replicasetstatus.json +++ b/v1.12.3-standalone-strict/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/replicationcontroller-v1.json b/v1.12.3-standalone-strict/replicationcontroller-v1.json index 14cc52234f..8556d47d77 100644 --- a/v1.12.3-standalone-strict/replicationcontroller-v1.json +++ b/v1.12.3-standalone-strict/replicationcontroller-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,17 +397,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -399,7 +432,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -424,7 +460,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -458,7 +497,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -501,7 +543,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -564,7 +609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -650,7 +698,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -693,11 +744,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -749,7 +806,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1027,7 +1087,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1124,7 +1187,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1226,7 +1292,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1323,7 +1392,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1363,7 +1435,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1445,7 +1520,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1492,7 +1570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1522,7 +1603,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1557,7 +1641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1581,7 +1668,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1683,7 +1773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1719,7 +1812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1805,7 +1901,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1841,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1878,7 +1980,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1935,7 +2040,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1951,17 +2059,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1986,7 +2103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1995,7 +2115,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2031,7 +2154,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2135,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,17 +2283,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2186,7 +2327,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2195,7 +2339,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2206,7 +2353,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2216,14 +2366,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2233,7 +2389,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2246,7 +2405,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2282,7 +2444,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2293,20 +2458,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2348,11 +2525,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2370,7 +2553,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2429,7 +2615,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2559,15 +2748,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2681,7 +2879,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2728,7 +2929,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2758,7 +2962,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2793,7 +3000,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2817,7 +3027,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2919,7 +3132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2955,7 +3171,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3041,7 +3260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3077,7 +3299,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,7 +3339,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3171,7 +3399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3187,17 +3418,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3222,7 +3462,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3231,7 +3474,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3267,7 +3513,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3314,7 +3563,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3371,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3387,17 +3642,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3422,7 +3686,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3698,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3442,7 +3712,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3452,14 +3725,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3469,7 +3748,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3482,7 +3764,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3518,7 +3803,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3529,20 +3817,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3584,11 +3884,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3606,7 +3912,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3665,7 +3974,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3702,7 +4014,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3712,7 +4027,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3768,21 +4086,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3826,7 +4156,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3874,7 +4207,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3885,7 +4221,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3920,7 +4259,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3961,12 +4303,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4013,7 +4361,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4027,7 +4378,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4065,7 +4419,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4112,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4139,7 +4499,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4161,7 +4524,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4181,7 +4547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4191,7 +4560,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4228,7 +4600,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4257,7 +4632,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4294,7 +4672,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4313,12 +4694,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4368,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4378,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4431,7 +4824,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4440,7 +4836,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4489,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,11 +4926,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4575,7 +4983,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4614,7 +5025,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4635,7 +5049,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4675,7 +5092,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4692,7 +5112,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4723,7 +5146,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4743,7 +5169,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4785,7 +5214,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5246,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4854,7 +5289,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4874,7 +5312,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4894,7 +5335,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4927,7 +5371,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4991,7 +5438,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5044,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5061,7 +5514,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5096,7 +5552,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5118,7 +5577,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5131,7 +5593,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5155,7 +5620,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5244,7 +5712,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5298,17 +5769,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicationcontroller.json b/v1.12.3-standalone-strict/replicationcontroller.json index 91b14eb344..a91e4e1e23 100644 --- a/v1.12.3-standalone-strict/replicationcontroller.json +++ b/v1.12.3-standalone-strict/replicationcontroller.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,17 +391,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,7 +426,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -418,7 +454,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -452,7 +491,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -492,7 +534,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -555,7 +600,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -641,7 +689,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -684,11 +735,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -740,7 +797,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1018,7 +1078,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1115,7 +1178,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1217,7 +1283,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1314,7 +1383,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1426,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1436,7 +1511,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1483,7 +1561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1513,7 +1594,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1548,7 +1632,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1572,7 +1659,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1674,7 +1764,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1710,7 +1803,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1796,7 +1892,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1832,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1869,7 +1971,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1926,7 +2031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1942,17 +2050,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1977,7 +2094,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1986,7 +2106,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2022,7 +2145,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2126,7 +2255,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2142,17 +2274,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2177,7 +2318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2186,7 +2330,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2197,7 +2344,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,14 +2357,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2224,7 +2380,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2237,7 +2396,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2273,7 +2435,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2284,20 +2449,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2339,11 +2516,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2361,7 +2544,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2550,15 +2739,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2672,7 +2870,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2719,7 +2920,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2749,7 +2953,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2784,7 +2991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2808,7 +3018,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2910,7 +3123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2946,7 +3162,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3032,7 +3251,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3068,7 +3290,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3105,7 +3330,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3162,7 +3390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3178,17 +3409,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3213,7 +3453,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3222,7 +3465,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3258,7 +3504,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3305,7 +3554,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3362,7 +3614,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3378,17 +3633,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3413,7 +3677,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3689,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3433,7 +3703,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3443,14 +3716,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3460,7 +3739,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3473,7 +3755,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3509,7 +3794,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3520,20 +3808,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3575,11 +3875,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3597,7 +3903,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3656,7 +3965,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3693,7 +4005,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3703,7 +4018,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3759,21 +4077,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3817,7 +4147,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3865,7 +4198,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3876,7 +4212,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3911,7 +4250,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3952,12 +4294,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4004,7 +4352,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4018,7 +4369,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4056,7 +4410,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4103,7 +4460,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4130,7 +4490,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4152,7 +4515,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4172,7 +4538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4182,7 +4551,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4219,7 +4591,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4248,7 +4623,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4285,7 +4663,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4304,12 +4685,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4359,7 +4746,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4369,7 +4759,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4422,7 +4815,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4431,7 +4827,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4480,7 +4879,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4515,11 +4917,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4566,7 +4974,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4605,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4626,7 +5040,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4666,7 +5083,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4683,7 +5103,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4714,7 +5137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4734,7 +5160,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4776,7 +5205,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5237,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4845,7 +5280,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4865,7 +5303,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4885,7 +5326,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4918,7 +5362,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4982,7 +5429,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5035,7 +5485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5052,7 +5505,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5087,7 +5543,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5109,7 +5568,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5122,7 +5584,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5146,7 +5611,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5235,7 +5703,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5289,17 +5760,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicationcontrollerlist-v1.json b/v1.12.3-standalone-strict/replicationcontrollerlist-v1.json index a2c34c9d0c..31fcf98466 100644 --- a/v1.12.3-standalone-strict/replicationcontrollerlist-v1.json +++ b/v1.12.3-standalone-strict/replicationcontrollerlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,17 +419,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -421,7 +454,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -446,7 +482,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -480,7 +519,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -523,7 +565,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -586,7 +631,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -672,7 +720,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -715,11 +766,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -771,7 +828,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1049,7 +1109,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1146,7 +1209,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1248,7 +1314,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1414,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1457,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1467,7 +1542,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1514,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1544,7 +1625,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1579,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1603,7 +1690,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1705,7 +1795,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1741,7 +1834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1827,7 +1923,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1900,7 +2002,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1957,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1973,17 +2081,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2008,7 +2125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2017,7 +2137,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2053,7 +2176,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2100,7 +2226,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2157,7 +2286,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2173,17 +2305,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2208,7 +2349,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2217,7 +2361,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2228,7 +2375,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2238,14 +2388,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2255,7 +2411,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2268,7 +2427,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2304,7 +2466,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2315,20 +2480,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2370,11 +2547,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2392,7 +2575,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2451,7 +2637,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2770,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2703,7 +2901,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2750,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2780,7 +2984,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2815,7 +3022,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2839,7 +3049,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2941,7 +3154,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2977,7 +3193,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3063,7 +3282,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3099,7 +3321,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3136,7 +3361,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3193,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3209,17 +3440,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3244,7 +3484,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3253,7 +3496,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3289,7 +3535,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3336,7 +3585,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3393,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3409,17 +3664,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3444,7 +3708,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3720,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3464,7 +3734,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3474,14 +3747,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3491,7 +3770,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3504,7 +3786,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3540,7 +3825,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3551,20 +3839,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3606,11 +3906,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3628,7 +3934,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3687,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3724,7 +4036,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3734,7 +4049,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3790,21 +4108,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3848,7 +4178,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3896,7 +4229,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3907,7 +4243,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3942,7 +4281,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3983,12 +4325,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4035,7 +4383,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4049,7 +4400,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4087,7 +4441,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4134,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4161,7 +4521,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4183,7 +4546,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4203,7 +4569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4213,7 +4582,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4250,7 +4622,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4279,7 +4654,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4316,7 +4694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4335,12 +4716,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4390,7 +4777,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4400,7 +4790,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4453,7 +4846,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4462,7 +4858,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4511,7 +4910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4546,11 +4948,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4597,7 +5005,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4636,7 +5047,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4657,7 +5071,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4697,7 +5114,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4714,7 +5134,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4745,7 +5168,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4765,7 +5191,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4807,7 +5236,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4836,7 +5268,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4876,7 +5311,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4896,7 +5334,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4916,7 +5357,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4949,7 +5393,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5013,7 +5460,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5066,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5083,7 +5536,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5118,7 +5574,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5140,7 +5599,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5153,7 +5615,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5177,7 +5642,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5266,7 +5734,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5320,17 +5791,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicationcontrollerlist.json b/v1.12.3-standalone-strict/replicationcontrollerlist.json index f80d5d40e5..18021bb206 100644 --- a/v1.12.3-standalone-strict/replicationcontrollerlist.json +++ b/v1.12.3-standalone-strict/replicationcontrollerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,17 +410,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -412,7 +445,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -437,7 +473,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -471,7 +510,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -511,7 +553,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -574,7 +619,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -660,7 +708,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -703,11 +754,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -759,7 +816,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1037,7 +1097,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1134,7 +1197,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1236,7 +1302,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1333,7 +1402,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1445,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1455,7 +1530,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1502,7 +1580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1532,7 +1613,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1567,7 +1651,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1591,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1693,7 +1783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1729,7 +1822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1815,7 +1911,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +1990,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1945,7 +2050,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1961,17 +2069,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1996,7 +2113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2005,7 +2125,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2041,7 +2164,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2088,7 +2214,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2145,7 +2274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2161,17 +2293,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2196,7 +2337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2205,7 +2349,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2216,7 +2363,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2226,14 +2376,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2243,7 +2399,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2256,7 +2415,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2292,7 +2454,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2303,20 +2468,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2358,11 +2535,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2380,7 +2563,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2439,7 +2625,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2569,15 +2758,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2691,7 +2889,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2738,7 +2939,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2768,7 +2972,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2803,7 +3010,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2827,7 +3037,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2929,7 +3142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2965,7 +3181,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3051,7 +3270,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3087,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3349,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3181,7 +3409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3197,17 +3428,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3232,7 +3472,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3241,7 +3484,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3277,7 +3523,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3324,7 +3573,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3381,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3397,17 +3652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3432,7 +3696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3441,7 +3708,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3452,7 +3722,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3462,14 +3735,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3479,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3492,7 +3774,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3528,7 +3813,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3539,20 +3827,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3594,11 +3894,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3616,7 +3922,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3675,7 +3984,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3712,7 +4024,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3722,7 +4037,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3778,21 +4096,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3836,7 +4166,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3884,7 +4217,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3895,7 +4231,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3930,7 +4269,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3971,12 +4313,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4023,7 +4371,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4037,7 +4388,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4075,7 +4429,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4122,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4149,7 +4509,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4171,7 +4534,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4191,7 +4557,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4201,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4238,7 +4610,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4267,7 +4642,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4304,7 +4682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4323,12 +4704,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4378,7 +4765,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4388,7 +4778,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4441,7 +4834,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4450,7 +4846,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4499,7 +4898,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4534,11 +4936,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4585,7 +4993,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4624,7 +5035,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4645,7 +5059,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4685,7 +5102,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4702,7 +5122,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4733,7 +5156,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4753,7 +5179,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4795,7 +5224,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4824,7 +5256,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4864,7 +5299,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4884,7 +5322,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4904,7 +5345,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4937,7 +5381,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5001,7 +5448,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5054,7 +5504,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5071,7 +5524,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5106,7 +5562,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5128,7 +5587,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5141,7 +5603,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5165,7 +5630,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5254,7 +5722,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5308,17 +5779,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone-strict/replicationcontrollerspec-v1.json b/v1.12.3-standalone-strict/replicationcontrollerspec-v1.json index 4f1d218ecc..d1619530a8 100644 --- a/v1.12.3-standalone-strict/replicationcontrollerspec-v1.json +++ b/v1.12.3-standalone-strict/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +412,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -657,7 +693,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -754,7 +793,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -856,7 +898,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -953,7 +998,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -993,7 +1041,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1075,7 +1126,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1122,7 +1176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1152,7 +1209,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1187,7 +1247,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1211,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1313,7 +1379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1349,7 +1418,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1435,7 +1507,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1471,7 +1546,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1508,7 +1586,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1565,7 +1646,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1581,17 +1665,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1616,7 +1709,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1625,7 +1721,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1661,7 +1760,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1708,7 +1810,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1765,7 +1870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,17 +1889,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1816,7 +1933,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1825,7 +1945,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1836,7 +1959,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1846,14 +1972,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1863,7 +1995,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1876,7 +2011,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1912,7 +2050,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1923,20 +2064,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1978,11 +2131,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2000,7 +2159,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2059,7 +2221,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2189,15 +2354,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2311,7 +2485,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2358,7 +2535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2388,7 +2568,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2423,7 +2606,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2447,7 +2633,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2549,7 +2738,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2585,7 +2777,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2671,7 +2866,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2707,7 +2905,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2744,7 +2945,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2801,7 +3005,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2817,17 +3024,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2852,7 +3068,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2861,7 +3080,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2897,7 +3119,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2944,7 +3169,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3001,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,17 +3248,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3052,7 +3292,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3061,7 +3304,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3072,7 +3318,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3082,14 +3331,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3099,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3112,7 +3370,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3148,7 +3409,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3159,20 +3423,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3214,11 +3490,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3236,7 +3518,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3295,7 +3580,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3332,7 +3620,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3342,7 +3633,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3398,21 +3692,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3456,7 +3762,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3504,7 +3813,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3515,7 +3827,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3550,7 +3865,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3591,12 +3909,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3643,7 +3967,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3657,7 +3984,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3695,7 +4025,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3742,7 +4075,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3769,7 +4105,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3791,7 +4130,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3811,7 +4153,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3821,7 +4166,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3858,7 +4206,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3887,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3924,7 +4278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3943,12 +4300,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3998,7 +4361,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4008,7 +4374,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4061,7 +4430,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4070,7 +4442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4119,7 +4494,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4154,11 +4532,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4205,7 +4589,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4244,7 +4631,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4265,7 +4655,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4305,7 +4698,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4322,7 +4718,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4353,7 +4752,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4373,7 +4775,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4415,7 +4820,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4444,7 +4852,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4484,7 +4895,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4504,7 +4918,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4524,7 +4941,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4557,7 +4977,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4621,7 +5044,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4674,7 +5100,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4691,7 +5120,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4726,7 +5158,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4748,7 +5183,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5199,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4785,7 +5226,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicationcontrollerspec.json b/v1.12.3-standalone-strict/replicationcontrollerspec.json index ce36889256..a314b9a4d8 100644 --- a/v1.12.3-standalone-strict/replicationcontrollerspec.json +++ b/v1.12.3-standalone-strict/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +146,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +212,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +301,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +347,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +409,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -654,7 +690,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -751,7 +790,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -853,7 +895,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -950,7 +995,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -990,7 +1038,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1072,7 +1123,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1119,7 +1173,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1149,7 +1206,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1184,7 +1244,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1208,7 +1271,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1310,7 +1376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1346,7 +1415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1505,7 +1583,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1562,7 +1643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1578,17 +1662,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1613,7 +1706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1622,7 +1718,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1658,7 +1757,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1705,7 +1807,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1762,7 +1867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,17 +1886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1813,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1822,7 +1942,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1833,7 +1956,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1843,14 +1969,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1860,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +2008,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1909,7 +2047,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1920,20 +2061,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1975,11 +2128,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1997,7 +2156,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2056,7 +2218,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2186,15 +2351,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2308,7 +2482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2355,7 +2532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2385,7 +2565,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2420,7 +2603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2444,7 +2630,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2546,7 +2735,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2582,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2668,7 +2863,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2704,7 +2902,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2741,7 +2942,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2798,7 +3002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2814,17 +3021,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2849,7 +3065,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2858,7 +3077,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2894,7 +3116,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2941,7 +3166,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2998,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,17 +3245,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3049,7 +3289,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3058,7 +3301,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3069,7 +3315,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3079,14 +3328,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3096,7 +3351,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3367,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3145,7 +3406,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3156,20 +3420,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3211,11 +3487,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3233,7 +3515,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3292,7 +3577,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3329,7 +3617,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3339,7 +3630,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3395,21 +3689,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3453,7 +3759,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3501,7 +3810,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3512,7 +3824,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3547,7 +3862,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3588,12 +3906,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3640,7 +3964,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3654,7 +3981,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3692,7 +4022,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3739,7 +4072,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3766,7 +4102,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3788,7 +4127,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3808,7 +4150,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3818,7 +4163,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3855,7 +4203,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3884,7 +4235,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3921,7 +4275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3940,12 +4297,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3995,7 +4358,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4005,7 +4371,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4058,7 +4427,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4067,7 +4439,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4116,7 +4491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4151,11 +4529,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4202,7 +4586,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4241,7 +4628,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4262,7 +4652,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4302,7 +4695,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4319,7 +4715,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4350,7 +4749,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4370,7 +4772,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4412,7 +4817,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4441,7 +4849,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4481,7 +4892,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4501,7 +4915,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4521,7 +4938,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4554,7 +4974,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4618,7 +5041,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4671,7 +5097,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4688,7 +5117,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4723,7 +5155,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4745,7 +5180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4758,7 +5196,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4782,7 +5223,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/replicationcontrollerstatus-v1.json b/v1.12.3-standalone-strict/replicationcontrollerstatus-v1.json index 7501c252ae..691152dbdd 100644 --- a/v1.12.3-standalone-strict/replicationcontrollerstatus-v1.json +++ b/v1.12.3-standalone-strict/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/replicationcontrollerstatus.json b/v1.12.3-standalone-strict/replicationcontrollerstatus.json index 7501c252ae..691152dbdd 100644 --- a/v1.12.3-standalone-strict/replicationcontrollerstatus.json +++ b/v1.12.3-standalone-strict/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,22 +63,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/resourcefieldselector-v1.json b/v1.12.3-standalone-strict/resourcefieldselector-v1.json index aeb5eaef9d..d17d2e497b 100644 --- a/v1.12.3-standalone-strict/resourcefieldselector-v1.json +++ b/v1.12.3-standalone-strict/resourcefieldselector-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/resourcefieldselector.json b/v1.12.3-standalone-strict/resourcefieldselector.json index aeb5eaef9d..d17d2e497b 100644 --- a/v1.12.3-standalone-strict/resourcefieldselector.json +++ b/v1.12.3-standalone-strict/resourcefieldselector.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json index 622bef5b4e..d28953e729 100644 --- a/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -25,7 +28,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json index 01b4c67870..ade2b4d870 100644 --- a/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/resourcemetricsource-autoscaling-v2beta2.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcemetricsource.json b/v1.12.3-standalone-strict/resourcemetricsource.json index 01b4c67870..ade2b4d870 100644 --- a/v1.12.3-standalone-strict/resourcemetricsource.json +++ b/v1.12.3-standalone-strict/resourcemetricsource.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json index 68112c7177..8a2e663d3f 100644 --- a/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -19,7 +22,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json index 5d95b21ad3..82f0ef4fb5 100644 --- a/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone-strict/resourcemetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcemetricstatus.json b/v1.12.3-standalone-strict/resourcemetricstatus.json index 5d95b21ad3..82f0ef4fb5 100644 --- a/v1.12.3-standalone-strict/resourcemetricstatus.json +++ b/v1.12.3-standalone-strict/resourcemetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequota-v1.json b/v1.12.3-standalone-strict/resourcequota-v1.json index e997edd1b1..e93542c169 100644 --- a/v1.12.3-standalone-strict/resourcequota-v1.json +++ b/v1.12.3-standalone-strict/resourcequota-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -383,7 +410,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -453,7 +483,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -463,14 +496,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -480,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequota.json b/v1.12.3-standalone-strict/resourcequota.json index dc30abe2ef..688fe09586 100644 --- a/v1.12.3-standalone-strict/resourcequota.json +++ b/v1.12.3-standalone-strict/resourcequota.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,7 +391,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -377,7 +404,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -447,7 +477,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -457,14 +490,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -474,7 +513,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequotalist-v1.json b/v1.12.3-standalone-strict/resourcequotalist-v1.json index 614665c92a..5cc3b42968 100644 --- a/v1.12.3-standalone-strict/resourcequotalist-v1.json +++ b/v1.12.3-standalone-strict/resourcequotalist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +419,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -405,7 +432,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -475,7 +505,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -485,14 +518,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -502,7 +541,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequotalist.json b/v1.12.3-standalone-strict/resourcequotalist.json index d52aa62593..062797e0c8 100644 --- a/v1.12.3-standalone-strict/resourcequotalist.json +++ b/v1.12.3-standalone-strict/resourcequotalist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,7 +410,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -396,7 +423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -466,7 +496,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -476,14 +509,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -493,7 +532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequotaspec-v1.json b/v1.12.3-standalone-strict/resourcequotaspec-v1.json index 359bd1c82a..f7de485e32 100644 --- a/v1.12.3-standalone-strict/resourcequotaspec-v1.json +++ b/v1.12.3-standalone-strict/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequotaspec.json b/v1.12.3-standalone-strict/resourcequotaspec.json index 359bd1c82a..f7de485e32 100644 --- a/v1.12.3-standalone-strict/resourcequotaspec.json +++ b/v1.12.3-standalone-strict/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequotastatus-v1.json b/v1.12.3-standalone-strict/resourcequotastatus-v1.json index 79d4ff458b..871f5801ea 100644 --- a/v1.12.3-standalone-strict/resourcequotastatus-v1.json +++ b/v1.12.3-standalone-strict/resourcequotastatus-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcequotastatus.json b/v1.12.3-standalone-strict/resourcequotastatus.json index 79d4ff458b..871f5801ea 100644 --- a/v1.12.3-standalone-strict/resourcequotastatus.json +++ b/v1.12.3-standalone-strict/resourcequotastatus.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcerequirements-v1.json b/v1.12.3-standalone-strict/resourcerequirements-v1.json index 48d995636b..581c797976 100644 --- a/v1.12.3-standalone-strict/resourcerequirements-v1.json +++ b/v1.12.3-standalone-strict/resourcerequirements-v1.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/resourcerequirements.json b/v1.12.3-standalone-strict/resourcerequirements.json index 48d995636b..581c797976 100644 --- a/v1.12.3-standalone-strict/resourcerequirements.json +++ b/v1.12.3-standalone-strict/resourcerequirements.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/role-rbac-v1.json b/v1.12.3-standalone-strict/role-rbac-v1.json index 00eefd4cf3..d39b59526f 100644 --- a/v1.12.3-standalone-strict/role-rbac-v1.json +++ b/v1.12.3-standalone-strict/role-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/role-rbac-v1alpha1.json b/v1.12.3-standalone-strict/role-rbac-v1alpha1.json index 9563a44312..993f8e8861 100644 --- a/v1.12.3-standalone-strict/role-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/role-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/role-rbac-v1beta1.json b/v1.12.3-standalone-strict/role-rbac-v1beta1.json index e2ee9fb252..6109e4f99f 100644 --- a/v1.12.3-standalone-strict/role-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/role-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/role.json b/v1.12.3-standalone-strict/role.json index 5d8a59337c..9c614e2182 100644 --- a/v1.12.3-standalone-strict/role.json +++ b/v1.12.3-standalone-strict/role.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebinding-rbac-v1.json b/v1.12.3-standalone-strict/rolebinding-rbac-v1.json index 5fcd91f044..64d788c813 100644 --- a/v1.12.3-standalone-strict/rolebinding-rbac-v1.json +++ b/v1.12.3-standalone-strict/rolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebinding-rbac-v1alpha1.json b/v1.12.3-standalone-strict/rolebinding-rbac-v1alpha1.json index ac542bd4bd..73af321fe6 100644 --- a/v1.12.3-standalone-strict/rolebinding-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/rolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebinding-rbac-v1beta1.json b/v1.12.3-standalone-strict/rolebinding-rbac-v1beta1.json index e2b40fbcb2..289be82d3a 100644 --- a/v1.12.3-standalone-strict/rolebinding-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/rolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebinding.json b/v1.12.3-standalone-strict/rolebinding.json index cfe9269e2c..3845946e92 100644 --- a/v1.12.3-standalone-strict/rolebinding.json +++ b/v1.12.3-standalone-strict/rolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebindinglist-rbac-v1.json b/v1.12.3-standalone-strict/rolebindinglist-rbac-v1.json index 472bd62315..05e6f34275 100644 --- a/v1.12.3-standalone-strict/rolebindinglist-rbac-v1.json +++ b/v1.12.3-standalone-strict/rolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebindinglist-rbac-v1alpha1.json b/v1.12.3-standalone-strict/rolebindinglist-rbac-v1alpha1.json index a32e2e3d04..6394abd8a7 100644 --- a/v1.12.3-standalone-strict/rolebindinglist-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/rolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebindinglist-rbac-v1beta1.json b/v1.12.3-standalone-strict/rolebindinglist-rbac-v1beta1.json index bca033c178..824463c180 100644 --- a/v1.12.3-standalone-strict/rolebindinglist-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/rolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolebindinglist.json b/v1.12.3-standalone-strict/rolebindinglist.json index 905c6a2307..ca1906aacc 100644 --- a/v1.12.3-standalone-strict/rolebindinglist.json +++ b/v1.12.3-standalone-strict/rolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolelist-rbac-v1.json b/v1.12.3-standalone-strict/rolelist-rbac-v1.json index a469ff00da..65b828a9d1 100644 --- a/v1.12.3-standalone-strict/rolelist-rbac-v1.json +++ b/v1.12.3-standalone-strict/rolelist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolelist-rbac-v1alpha1.json b/v1.12.3-standalone-strict/rolelist-rbac-v1alpha1.json index 1c506d8bc5..182f8d52b1 100644 --- a/v1.12.3-standalone-strict/rolelist-rbac-v1alpha1.json +++ b/v1.12.3-standalone-strict/rolelist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolelist-rbac-v1beta1.json b/v1.12.3-standalone-strict/rolelist-rbac-v1beta1.json index 641296f9e4..b8df523cec 100644 --- a/v1.12.3-standalone-strict/rolelist-rbac-v1beta1.json +++ b/v1.12.3-standalone-strict/rolelist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rolelist.json b/v1.12.3-standalone-strict/rolelist.json index d02aad802c..e8769a9cc2 100644 --- a/v1.12.3-standalone-strict/rolelist.json +++ b/v1.12.3-standalone-strict/rolelist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/rollbackconfig-apps-v1beta1.json b/v1.12.3-standalone-strict/rollbackconfig-apps-v1beta1.json index c3edb57aba..7cb5011e42 100644 --- a/v1.12.3-standalone-strict/rollbackconfig-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/rollbackconfig-extensions-v1beta1.json b/v1.12.3-standalone-strict/rollbackconfig-extensions-v1beta1.json index c3edb57aba..7cb5011e42 100644 --- a/v1.12.3-standalone-strict/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/rollbackconfig.json b/v1.12.3-standalone-strict/rollbackconfig.json index c3edb57aba..7cb5011e42 100644 --- a/v1.12.3-standalone-strict/rollbackconfig.json +++ b/v1.12.3-standalone-strict/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1.json b/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1.json +++ b/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json b/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/rollingupdatedaemonset-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json b/v1.12.3-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.3-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/rollingupdatedaemonset-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedaemonset.json b/v1.12.3-standalone-strict/rollingupdatedaemonset.json index 7c62eb7c27..09e4456308 100644 --- a/v1.12.3-standalone-strict/rollingupdatedaemonset.json +++ b/v1.12.3-standalone-strict/rollingupdatedaemonset.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1.json b/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1.json +++ b/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta1.json b/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta1.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta2.json b/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta2.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/rollingupdatedeployment-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json b/v1.12.3-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.3-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/rollingupdatedeployment-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatedeployment.json b/v1.12.3-standalone-strict/rollingupdatedeployment.json index a7f5a67987..446b31e8eb 100644 --- a/v1.12.3-standalone-strict/rollingupdatedeployment.json +++ b/v1.12.3-standalone-strict/rollingupdatedeployment.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json index e42001a318..375fba7758 100644 --- a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json index c51c0336df..f83cb74c9d 100644 --- a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json index e42001a318..375fba7758 100644 --- a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy.json b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy.json index e42001a318..375fba7758 100644 --- a/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy.json +++ b/v1.12.3-standalone-strict/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scale-apps-v1beta1.json b/v1.12.3-standalone-strict/scale-apps-v1beta1.json index d94e7951a9..48ff1be710 100644 --- a/v1.12.3-standalone-strict/scale-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/scale-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -392,7 +419,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scale-apps-v1beta2.json b/v1.12.3-standalone-strict/scale-apps-v1beta2.json index 108e47f3d2..35b6e32ae7 100644 --- a/v1.12.3-standalone-strict/scale-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/scale-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -392,7 +419,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scale-autoscaling-v1.json b/v1.12.3-standalone-strict/scale-autoscaling-v1.json index b5af2e5bfe..2cf3087388 100644 --- a/v1.12.3-standalone-strict/scale-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/scale-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scale-extensions-v1beta1.json b/v1.12.3-standalone-strict/scale-extensions-v1beta1.json index 8ba581d591..4e4afe1194 100644 --- a/v1.12.3-standalone-strict/scale-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/scale-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +397,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -392,7 +419,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scale.json b/v1.12.3-standalone-strict/scale.json index 5bbf50a48e..cb60c85e6d 100644 --- a/v1.12.3-standalone-strict/scale.json +++ b/v1.12.3-standalone-strict/scale.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,7 +391,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -386,7 +413,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scaleiopersistentvolumesource-v1.json b/v1.12.3-standalone-strict/scaleiopersistentvolumesource-v1.json index 0093de1381..17ac9a07d1 100644 --- a/v1.12.3-standalone-strict/scaleiopersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -53,7 +56,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone-strict/scaleiopersistentvolumesource.json b/v1.12.3-standalone-strict/scaleiopersistentvolumesource.json index 0093de1381..17ac9a07d1 100644 --- a/v1.12.3-standalone-strict/scaleiopersistentvolumesource.json +++ b/v1.12.3-standalone-strict/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -53,7 +56,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone-strict/scaleiovolumesource-v1.json b/v1.12.3-standalone-strict/scaleiovolumesource-v1.json index 13d3091d36..a67d9353ed 100644 --- a/v1.12.3-standalone-strict/scaleiovolumesource-v1.json +++ b/v1.12.3-standalone-strict/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -46,7 +49,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone-strict/scaleiovolumesource.json b/v1.12.3-standalone-strict/scaleiovolumesource.json index 13d3091d36..a67d9353ed 100644 --- a/v1.12.3-standalone-strict/scaleiovolumesource.json +++ b/v1.12.3-standalone-strict/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -46,7 +49,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone-strict/scalespec-apps-v1beta1.json b/v1.12.3-standalone-strict/scalespec-apps-v1beta1.json index 8ee6ad7b27..7ead4fa68a 100644 --- a/v1.12.3-standalone-strict/scalespec-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scalespec-apps-v1beta2.json b/v1.12.3-standalone-strict/scalespec-apps-v1beta2.json index 8ee6ad7b27..7ead4fa68a 100644 --- a/v1.12.3-standalone-strict/scalespec-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scalespec-autoscaling-v1.json b/v1.12.3-standalone-strict/scalespec-autoscaling-v1.json index 3b9529ed18..c4ee12cbbc 100644 --- a/v1.12.3-standalone-strict/scalespec-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scalespec-extensions-v1beta1.json b/v1.12.3-standalone-strict/scalespec-extensions-v1beta1.json index 4906bdab93..59d9f2de98 100644 --- a/v1.12.3-standalone-strict/scalespec-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scalespec.json b/v1.12.3-standalone-strict/scalespec.json index 4906bdab93..59d9f2de98 100644 --- a/v1.12.3-standalone-strict/scalespec.json +++ b/v1.12.3-standalone-strict/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/scalestatus-apps-v1beta1.json b/v1.12.3-standalone-strict/scalestatus-apps-v1beta1.json index 27f01f8d90..8232606851 100644 --- a/v1.12.3-standalone-strict/scalestatus-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scalestatus-apps-v1beta2.json b/v1.12.3-standalone-strict/scalestatus-apps-v1beta2.json index 27f01f8d90..8232606851 100644 --- a/v1.12.3-standalone-strict/scalestatus-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scalestatus-autoscaling-v1.json b/v1.12.3-standalone-strict/scalestatus-autoscaling-v1.json index 4fd6b807f0..62684dc395 100644 --- a/v1.12.3-standalone-strict/scalestatus-autoscaling-v1.json +++ b/v1.12.3-standalone-strict/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-standalone-strict/scalestatus-extensions-v1beta1.json b/v1.12.3-standalone-strict/scalestatus-extensions-v1beta1.json index 20c322e208..44538353d3 100644 --- a/v1.12.3-standalone-strict/scalestatus-extensions-v1beta1.json +++ b/v1.12.3-standalone-strict/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/scalestatus.json b/v1.12.3-standalone-strict/scalestatus.json index 20c322e208..44538353d3 100644 --- a/v1.12.3-standalone-strict/scalestatus.json +++ b/v1.12.3-standalone-strict/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/secret-v1.json b/v1.12.3-standalone-strict/secret-v1.json index ea7cc00c9d..dc30839141 100644 --- a/v1.12.3-standalone-strict/secret-v1.json +++ b/v1.12.3-standalone-strict/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +151,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +306,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +352,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +408,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/secret.json b/v1.12.3-standalone-strict/secret.json index 90c65cc9ca..690abe75cf 100644 --- a/v1.12.3-standalone-strict/secret.json +++ b/v1.12.3-standalone-strict/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -34,7 +37,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +65,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -93,7 +102,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -133,7 +145,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -196,7 +211,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -282,7 +300,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -325,11 +346,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -375,7 +402,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/secretenvsource-v1.json b/v1.12.3-standalone-strict/secretenvsource-v1.json index 61f1134ec9..558d93e426 100644 --- a/v1.12.3-standalone-strict/secretenvsource-v1.json +++ b/v1.12.3-standalone-strict/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/secretenvsource.json b/v1.12.3-standalone-strict/secretenvsource.json index 61f1134ec9..558d93e426 100644 --- a/v1.12.3-standalone-strict/secretenvsource.json +++ b/v1.12.3-standalone-strict/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/secretkeyselector-v1.json b/v1.12.3-standalone-strict/secretkeyselector-v1.json index 13654a1328..c39185dd71 100644 --- a/v1.12.3-standalone-strict/secretkeyselector-v1.json +++ b/v1.12.3-standalone-strict/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/secretkeyselector.json b/v1.12.3-standalone-strict/secretkeyselector.json index 13654a1328..c39185dd71 100644 --- a/v1.12.3-standalone-strict/secretkeyselector.json +++ b/v1.12.3-standalone-strict/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/secretlist-v1.json b/v1.12.3-standalone-strict/secretlist-v1.json index 7c1dae6219..b9b6c71d88 100644 --- a/v1.12.3-standalone-strict/secretlist-v1.json +++ b/v1.12.3-standalone-strict/secretlist-v1.json @@ -35,7 +35,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +62,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -84,7 +90,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -118,7 +127,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -161,7 +173,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -224,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -310,7 +328,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -353,11 +374,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -403,7 +430,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/secretlist.json b/v1.12.3-standalone-strict/secretlist.json index 8978ac2b8d..564773e7f1 100644 --- a/v1.12.3-standalone-strict/secretlist.json +++ b/v1.12.3-standalone-strict/secretlist.json @@ -29,7 +29,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -53,7 +56,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +84,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -112,7 +121,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +164,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -215,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -301,7 +319,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -344,11 +365,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -394,7 +421,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/secretprojection-v1.json b/v1.12.3-standalone-strict/secretprojection-v1.json index bcbf4adbce..e9c7ee84a0 100644 --- a/v1.12.3-standalone-strict/secretprojection-v1.json +++ b/v1.12.3-standalone-strict/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/secretprojection.json b/v1.12.3-standalone-strict/secretprojection.json index bcbf4adbce..e9c7ee84a0 100644 --- a/v1.12.3-standalone-strict/secretprojection.json +++ b/v1.12.3-standalone-strict/secretprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -40,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false, diff --git a/v1.12.3-standalone-strict/secretvolumesource-v1.json b/v1.12.3-standalone-strict/secretvolumesource-v1.json index dc26138ae2..2ac714fa55 100644 --- a/v1.12.3-standalone-strict/secretvolumesource-v1.json +++ b/v1.12.3-standalone-strict/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -38,7 +44,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3-standalone-strict/secretvolumesource.json b/v1.12.3-standalone-strict/secretvolumesource.json index dc26138ae2..2ac714fa55 100644 --- a/v1.12.3-standalone-strict/secretvolumesource.json +++ b/v1.12.3-standalone-strict/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -38,7 +44,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3-standalone-strict/securitycontext-v1.json b/v1.12.3-standalone-strict/securitycontext-v1.json index 52209f4901..9d220fed76 100644 --- a/v1.12.3-standalone-strict/securitycontext-v1.json +++ b/v1.12.3-standalone-strict/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -39,7 +42,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -50,20 +56,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3-standalone-strict/securitycontext.json b/v1.12.3-standalone-strict/securitycontext.json index 52209f4901..9d220fed76 100644 --- a/v1.12.3-standalone-strict/securitycontext.json +++ b/v1.12.3-standalone-strict/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -39,7 +42,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -50,20 +56,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1.json b/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1.json index 9edd40f026..45d692ec35 100644 --- a/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1.json +++ b/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -464,7 +488,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json b/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json index b4af5c1f92..d6f0a8b380 100644 --- a/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/selfsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -464,7 +488,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/selfsubjectaccessreview.json b/v1.12.3-standalone-strict/selfsubjectaccessreview.json index b67ebcc04c..372d0954a1 100644 --- a/v1.12.3-standalone-strict/selfsubjectaccessreview.json +++ b/v1.12.3-standalone-strict/selfsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1.json b/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1.json index a55c9162c8..ac0d07f0b9 100644 --- a/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1.json +++ b/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json b/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json index 85d49ce102..318cfc4fe1 100644 --- a/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/selfsubjectrulesreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/selfsubjectrulesreview.json b/v1.12.3-standalone-strict/selfsubjectrulesreview.json index 509104ed05..9c7f0faac6 100644 --- a/v1.12.3-standalone-strict/selfsubjectrulesreview.json +++ b/v1.12.3-standalone-strict/selfsubjectrulesreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/service-v1.json b/v1.12.3-standalone-strict/service-v1.json index caa4cb673b..f1eec57ded 100644 --- a/v1.12.3-standalone-strict/service-v1.json +++ b/v1.12.3-standalone-strict/service-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -407,7 +431,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -451,7 +478,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -475,7 +505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -487,11 +520,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -514,7 +553,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/service.json b/v1.12.3-standalone-strict/service.json index 02a0781ecc..566df173fe 100644 --- a/v1.12.3-standalone-strict/service.json +++ b/v1.12.3-standalone-strict/service.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -401,7 +425,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -445,7 +472,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -469,7 +499,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -481,11 +514,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -508,7 +547,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/serviceaccount-v1.json b/v1.12.3-standalone-strict/serviceaccount-v1.json index 221d760628..a074dcbb4a 100644 --- a/v1.12.3-standalone-strict/serviceaccount-v1.json +++ b/v1.12.3-standalone-strict/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -50,7 +53,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +81,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -109,7 +118,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +164,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -215,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -301,7 +319,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -344,11 +365,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/serviceaccount.json b/v1.12.3-standalone-strict/serviceaccount.json index 32b2fecebe..ff86c75c26 100644 --- a/v1.12.3-standalone-strict/serviceaccount.json +++ b/v1.12.3-standalone-strict/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -47,7 +50,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +78,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +115,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -146,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -209,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -295,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -338,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/serviceaccountlist-v1.json b/v1.12.3-standalone-strict/serviceaccountlist-v1.json index 9aa9053c92..d315e45faf 100644 --- a/v1.12.3-standalone-strict/serviceaccountlist-v1.json +++ b/v1.12.3-standalone-strict/serviceaccountlist-v1.json @@ -35,7 +35,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -72,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -97,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -131,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +186,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -237,7 +252,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -323,7 +341,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -366,11 +387,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/serviceaccountlist.json b/v1.12.3-standalone-strict/serviceaccountlist.json index b53b5bffe7..cc22a8dd5b 100644 --- a/v1.12.3-standalone-strict/serviceaccountlist.json +++ b/v1.12.3-standalone-strict/serviceaccountlist.json @@ -29,7 +29,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -66,7 +69,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -91,7 +97,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -125,7 +134,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +177,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -228,7 +243,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -314,7 +332,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -357,11 +378,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone-strict/serviceaccounttokenprojection-v1.json b/v1.12.3-standalone-strict/serviceaccounttokenprojection-v1.json index 964b9bbdc0..f39078e6f3 100644 --- a/v1.12.3-standalone-strict/serviceaccounttokenprojection-v1.json +++ b/v1.12.3-standalone-strict/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone-strict/serviceaccounttokenprojection.json b/v1.12.3-standalone-strict/serviceaccounttokenprojection.json index 964b9bbdc0..f39078e6f3 100644 --- a/v1.12.3-standalone-strict/serviceaccounttokenprojection.json +++ b/v1.12.3-standalone-strict/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone-strict/servicelist-v1.json b/v1.12.3-standalone-strict/servicelist-v1.json index 246be99f06..da3700a1e1 100644 --- a/v1.12.3-standalone-strict/servicelist-v1.json +++ b/v1.12.3-standalone-strict/servicelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +453,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -473,7 +500,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -497,7 +527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -509,11 +542,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -536,7 +575,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/servicelist.json b/v1.12.3-standalone-strict/servicelist.json index 10fbe20ce9..a5156b71ef 100644 --- a/v1.12.3-standalone-strict/servicelist.json +++ b/v1.12.3-standalone-strict/servicelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -420,7 +444,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -464,7 +491,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -488,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -500,11 +533,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -527,7 +566,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/serviceport-v1.json b/v1.12.3-standalone-strict/serviceport-v1.json index 9ede0ced46..11d5f97ba1 100644 --- a/v1.12.3-standalone-strict/serviceport-v1.json +++ b/v1.12.3-standalone-strict/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/serviceport.json b/v1.12.3-standalone-strict/serviceport.json index 9ede0ced46..11d5f97ba1 100644 --- a/v1.12.3-standalone-strict/serviceport.json +++ b/v1.12.3-standalone-strict/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/servicespec-v1.json b/v1.12.3-standalone-strict/servicespec-v1.json index b6d450bc98..94fd8439d7 100644 --- a/v1.12.3-standalone-strict/servicespec-v1.json +++ b/v1.12.3-standalone-strict/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -117,11 +126,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -144,7 +159,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/servicespec.json b/v1.12.3-standalone-strict/servicespec.json index b6d450bc98..94fd8439d7 100644 --- a/v1.12.3-standalone-strict/servicespec.json +++ b/v1.12.3-standalone-strict/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -117,11 +126,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -144,7 +159,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/sessionaffinityconfig-v1.json b/v1.12.3-standalone-strict/sessionaffinityconfig-v1.json index e307c3e9a8..68e0fbbcb8 100644 --- a/v1.12.3-standalone-strict/sessionaffinityconfig-v1.json +++ b/v1.12.3-standalone-strict/sessionaffinityconfig-v1.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/sessionaffinityconfig.json b/v1.12.3-standalone-strict/sessionaffinityconfig.json index e307c3e9a8..68e0fbbcb8 100644 --- a/v1.12.3-standalone-strict/sessionaffinityconfig.json +++ b/v1.12.3-standalone-strict/sessionaffinityconfig.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulset-apps-v1.json b/v1.12.3-standalone-strict/statefulset-apps-v1.json index 6a4e8e9f41..d9534068ff 100644 --- a/v1.12.3-standalone-strict/statefulset-apps-v1.json +++ b/v1.12.3-standalone-strict/statefulset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,12 +409,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -438,7 +468,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +605,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +760,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +806,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +868,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1149,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1354,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1454,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1497,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1582,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1632,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1703,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1730,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2042,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2102,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2121,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2165,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2177,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2216,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2266,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2345,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2401,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2415,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2428,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2467,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2506,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2520,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2587,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2615,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2677,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2810,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2941,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +2991,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3024,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3062,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3089,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3233,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3401,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,7 +3461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3249,17 +3480,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3536,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3575,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3625,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3685,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3704,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3760,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3774,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3787,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3826,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3865,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3879,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3946,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3974,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4036,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4076,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4089,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4148,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4218,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4269,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4283,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4321,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4365,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4423,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4440,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4481,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4531,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4561,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4622,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4662,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4734,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4756,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4817,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4830,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4886,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4898,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4950,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +4988,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5045,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5087,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5111,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5154,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5174,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5231,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5374,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5397,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5433,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5500,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5556,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5576,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5614,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5639,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5682,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5303,7 +5771,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5353,7 +5824,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5378,7 +5852,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5412,7 +5889,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5455,7 +5935,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5518,7 +6001,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5604,7 +6090,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5647,11 +6136,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5741,7 +6236,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5751,14 +6249,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5768,7 +6272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5821,7 +6328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5874,7 +6384,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5884,7 +6397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5976,7 +6492,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6030,7 +6549,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6042,12 +6564,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6064,7 +6592,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulset-apps-v1beta1.json b/v1.12.3-standalone-strict/statefulset-apps-v1beta1.json index 8dce46f41a..6cbabf3f17 100644 --- a/v1.12.3-standalone-strict/statefulset-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/statefulset-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,12 +408,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -437,7 +467,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -562,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -625,7 +670,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -711,7 +759,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -754,11 +805,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -810,7 +867,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1088,7 +1148,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1185,7 +1248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1287,7 +1353,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1384,7 +1453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1424,7 +1496,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1506,7 +1581,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1553,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1583,7 +1664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1618,7 +1702,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1642,7 +1729,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1744,7 +1834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1780,7 +1873,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1902,7 +2001,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1939,7 +2041,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1996,7 +2101,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2012,17 +2120,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2047,7 +2164,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2056,7 +2176,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2092,7 +2215,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2139,7 +2265,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2196,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2212,17 +2344,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2247,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2256,7 +2400,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2267,7 +2414,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2277,14 +2427,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2294,7 +2450,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2307,7 +2466,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2343,7 +2505,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2354,20 +2519,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2409,11 +2586,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2431,7 +2614,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2490,7 +2676,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2620,15 +2809,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2742,7 +2940,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2789,7 +2990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2819,7 +3023,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2854,7 +3061,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2878,7 +3088,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2980,7 +3193,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3016,7 +3232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3102,7 +3321,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3138,7 +3360,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3175,7 +3400,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3232,7 +3460,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3248,17 +3479,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3283,7 +3523,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3292,7 +3535,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3328,7 +3574,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3375,7 +3624,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3432,7 +3684,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3448,17 +3703,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3483,7 +3747,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3492,7 +3759,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3503,7 +3773,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3513,14 +3786,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3530,7 +3809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3543,7 +3825,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3579,7 +3864,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3590,20 +3878,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3645,11 +3945,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3667,7 +3973,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3726,7 +4035,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3763,7 +4075,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3773,7 +4088,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3829,21 +4147,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3887,7 +4217,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3935,7 +4268,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3946,7 +4282,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3981,7 +4320,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4022,12 +4364,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4074,7 +4422,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4088,7 +4439,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4126,7 +4480,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4173,7 +4530,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4200,7 +4560,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4222,7 +4585,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4242,7 +4608,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4252,7 +4621,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4289,7 +4661,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4318,7 +4693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4355,7 +4733,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4374,12 +4755,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4429,7 +4816,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4439,7 +4829,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4492,7 +4885,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4501,7 +4897,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4550,7 +4949,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4585,11 +4987,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4636,7 +5044,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4675,7 +5086,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4696,7 +5110,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4736,7 +5153,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4753,7 +5173,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4784,7 +5207,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4804,7 +5230,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4846,7 +5275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4875,7 +5307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4915,7 +5350,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4935,7 +5373,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4955,7 +5396,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4988,7 +5432,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5052,7 +5499,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5105,7 +5555,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5122,7 +5575,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5157,7 +5613,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5179,7 +5638,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5192,7 +5654,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5216,7 +5681,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5302,7 +5770,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5352,7 +5823,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5377,7 +5851,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5411,7 +5888,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5454,7 +5934,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5517,7 +6000,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5603,7 +6089,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5646,11 +6135,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5740,7 +6235,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5750,14 +6248,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5767,7 +6271,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5820,7 +6327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5873,7 +6383,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5883,7 +6396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5975,7 +6491,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6029,7 +6548,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6041,12 +6563,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6063,7 +6591,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulset-apps-v1beta2.json b/v1.12.3-standalone-strict/statefulset-apps-v1beta2.json index 03badd474d..dd7c859330 100644 --- a/v1.12.3-standalone-strict/statefulset-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/statefulset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,12 +409,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -438,7 +468,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +605,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -626,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -712,7 +760,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -755,11 +806,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -811,7 +868,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1089,7 +1149,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1186,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1288,7 +1354,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1385,7 +1454,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1425,7 +1497,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1507,7 +1582,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1554,7 +1632,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1584,7 +1665,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1619,7 +1703,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1643,7 +1730,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1745,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1903,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1940,7 +2042,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1997,7 +2102,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2121,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2165,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2057,7 +2177,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2093,7 +2216,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2140,7 +2266,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2197,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2213,17 +2345,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2248,7 +2389,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2257,7 +2401,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2268,7 +2415,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2278,14 +2428,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2295,7 +2451,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2467,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2344,7 +2506,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2355,20 +2520,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2410,11 +2587,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2432,7 +2615,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2491,7 +2677,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2621,15 +2810,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2743,7 +2941,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2790,7 +2991,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2820,7 +3024,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2855,7 +3062,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2879,7 +3089,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2981,7 +3194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3233,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3103,7 +3322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,7 +3361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3176,7 +3401,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3233,7 +3461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3249,17 +3480,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3284,7 +3524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3293,7 +3536,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3329,7 +3575,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3376,7 +3625,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3433,7 +3685,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3449,17 +3704,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3484,7 +3748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3493,7 +3760,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3504,7 +3774,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3514,14 +3787,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3531,7 +3810,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3544,7 +3826,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3580,7 +3865,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3591,20 +3879,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3646,11 +3946,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3668,7 +3974,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3727,7 +4036,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3764,7 +4076,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3774,7 +4089,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3830,21 +4148,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3888,7 +4218,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3936,7 +4269,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3947,7 +4283,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3982,7 +4321,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4023,12 +4365,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4075,7 +4423,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4089,7 +4440,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4127,7 +4481,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4174,7 +4531,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4201,7 +4561,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4243,7 +4609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4253,7 +4622,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4290,7 +4662,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4319,7 +4694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4356,7 +4734,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4375,12 +4756,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4430,7 +4817,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4440,7 +4830,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4493,7 +4886,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4502,7 +4898,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4551,7 +4950,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,11 +4988,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4637,7 +5045,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4676,7 +5087,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4697,7 +5111,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4737,7 +5154,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4754,7 +5174,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4785,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4805,7 +5231,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4847,7 +5276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4876,7 +5308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4916,7 +5351,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5374,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4956,7 +5397,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4989,7 +5433,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5053,7 +5500,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5106,7 +5556,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5123,7 +5576,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5158,7 +5614,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5180,7 +5639,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5193,7 +5655,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5217,7 +5682,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5303,7 +5771,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5353,7 +5824,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5378,7 +5852,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5412,7 +5889,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5455,7 +5935,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5518,7 +6001,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5604,7 +6090,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5647,11 +6136,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5741,7 +6236,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5751,14 +6249,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5768,7 +6272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5821,7 +6328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5874,7 +6384,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5884,7 +6397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5976,7 +6492,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6030,7 +6549,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6042,12 +6564,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6064,7 +6592,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulset.json b/v1.12.3-standalone-strict/statefulset.json index fd19ea73c0..bc06f75bad 100644 --- a/v1.12.3-standalone-strict/statefulset.json +++ b/v1.12.3-standalone-strict/statefulset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,12 +403,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -432,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -455,7 +488,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -480,7 +516,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -514,7 +553,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -554,7 +596,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -617,7 +662,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -703,7 +751,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -746,11 +797,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1080,7 +1140,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1177,7 +1240,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1279,7 +1345,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1376,7 +1445,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1416,7 +1488,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1498,7 +1573,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1545,7 +1623,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1575,7 +1656,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1610,7 +1694,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1634,7 +1721,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1736,7 +1826,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1772,7 +1865,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1858,7 +1954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1894,7 +1993,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1931,7 +2033,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1988,7 +2093,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2004,17 +2112,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2039,7 +2156,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2048,7 +2168,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2084,7 +2207,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2131,7 +2257,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2188,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,17 +2336,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2239,7 +2380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2248,7 +2392,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2259,7 +2406,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2269,14 +2419,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2286,7 +2442,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2299,7 +2458,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2335,7 +2497,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2346,20 +2511,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2401,11 +2578,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2423,7 +2606,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2482,7 +2668,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2612,15 +2801,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2734,7 +2932,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2781,7 +2982,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2811,7 +3015,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2846,7 +3053,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2870,7 +3080,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2972,7 +3185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3008,7 +3224,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3094,7 +3313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3130,7 +3352,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3167,7 +3392,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3224,7 +3452,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3240,17 +3471,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3275,7 +3515,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3284,7 +3527,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3320,7 +3566,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3367,7 +3616,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3424,7 +3676,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3440,17 +3695,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3475,7 +3739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3484,7 +3751,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3495,7 +3765,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3505,14 +3778,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3522,7 +3801,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3535,7 +3817,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3571,7 +3856,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3582,20 +3870,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3637,11 +3937,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3659,7 +3965,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3718,7 +4027,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3755,7 +4067,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3765,7 +4080,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3821,21 +4139,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3879,7 +4209,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3927,7 +4260,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3938,7 +4274,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3973,7 +4312,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4014,12 +4356,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4066,7 +4414,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4080,7 +4431,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4118,7 +4472,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4165,7 +4522,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4192,7 +4552,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4214,7 +4577,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4600,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4244,7 +4613,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4281,7 +4653,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4310,7 +4685,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4347,7 +4725,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4366,12 +4747,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4421,7 +4808,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4431,7 +4821,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4484,7 +4877,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4493,7 +4889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4542,7 +4941,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4577,11 +4979,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4628,7 +5036,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4667,7 +5078,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4688,7 +5102,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4728,7 +5145,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4745,7 +5165,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4776,7 +5199,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4796,7 +5222,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4838,7 +5267,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4867,7 +5299,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4907,7 +5342,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4927,7 +5365,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4947,7 +5388,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4980,7 +5424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5044,7 +5491,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5097,7 +5547,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5114,7 +5567,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5149,7 +5605,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5171,7 +5630,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5184,7 +5646,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5208,7 +5673,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5294,7 +5762,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5341,7 +5812,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5366,7 +5840,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5400,7 +5877,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5440,7 +5920,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5503,7 +5986,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5589,7 +6075,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5632,11 +6121,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5726,7 +6221,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5736,14 +6234,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5753,7 +6257,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5806,7 +6313,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5859,7 +6369,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5869,7 +6382,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5961,7 +6477,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6015,7 +6534,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6027,12 +6549,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6049,7 +6577,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetlist-apps-v1.json b/v1.12.3-standalone-strict/statefulsetlist-apps-v1.json index e1bb6b172a..ebc11a3bb9 100644 --- a/v1.12.3-standalone-strict/statefulsetlist-apps-v1.json +++ b/v1.12.3-standalone-strict/statefulsetlist-apps-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,12 +430,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -459,7 +489,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +515,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -507,7 +543,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -541,7 +580,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -584,7 +626,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -647,7 +692,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -733,7 +781,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,11 +827,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -832,7 +889,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1110,7 +1170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1207,7 +1270,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1309,7 +1375,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1446,7 +1518,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1528,7 +1603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1575,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1605,7 +1686,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1724,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1664,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1766,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1802,7 +1895,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1924,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1961,7 +2063,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2018,7 +2123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2034,17 +2142,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2069,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2078,7 +2198,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2114,7 +2237,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2161,7 +2287,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2218,7 +2347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2234,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2269,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2278,7 +2422,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2289,7 +2436,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2299,14 +2449,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2316,7 +2472,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2329,7 +2488,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2365,7 +2527,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2376,20 +2541,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2431,11 +2608,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2453,7 +2636,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2512,7 +2698,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2642,15 +2831,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2764,7 +2962,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2811,7 +3012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2841,7 +3045,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2876,7 +3083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2900,7 +3110,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3002,7 +3215,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3038,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3160,7 +3382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3197,7 +3422,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3254,7 +3482,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3270,17 +3501,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3305,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3314,7 +3557,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3350,7 +3596,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3397,7 +3646,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3454,7 +3706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3470,17 +3725,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3505,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3514,7 +3781,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3525,7 +3795,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3535,14 +3808,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3552,7 +3831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3565,7 +3847,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3601,7 +3886,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3612,20 +3900,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3667,11 +3967,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3689,7 +3995,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3748,7 +4057,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3785,7 +4097,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3795,7 +4110,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3851,21 +4169,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,7 +4239,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3957,7 +4290,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3968,7 +4304,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4003,7 +4342,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4044,12 +4386,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4096,7 +4444,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4110,7 +4461,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4148,7 +4502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4195,7 +4552,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4222,7 +4582,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4244,7 +4607,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4264,7 +4630,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4274,7 +4643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4311,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4340,7 +4715,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4377,7 +4755,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4396,12 +4777,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4451,7 +4838,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4461,7 +4851,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4514,7 +4907,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4523,7 +4919,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4572,7 +4971,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4607,11 +5009,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4658,7 +5066,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4697,7 +5108,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4718,7 +5132,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4758,7 +5175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4775,7 +5195,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4806,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5252,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4868,7 +5297,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4897,7 +5329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4937,7 +5372,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4957,7 +5395,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4977,7 +5418,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5010,7 +5454,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5074,7 +5521,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5127,7 +5577,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5144,7 +5597,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5179,7 +5635,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5201,7 +5660,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5214,7 +5676,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5238,7 +5703,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5324,7 +5792,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5374,7 +5845,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5399,7 +5873,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5433,7 +5910,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5476,7 +5956,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5539,7 +6022,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5625,7 +6111,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5668,11 +6157,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5762,7 +6257,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5772,14 +6270,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5789,7 +6293,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5842,7 +6349,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5895,7 +6405,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5905,7 +6418,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5997,7 +6513,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6051,7 +6570,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6063,12 +6585,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6085,7 +6613,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta1.json b/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta1.json index 7053b9fe2d..49e282485f 100644 --- a/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -405,12 +429,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -458,7 +488,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -481,7 +514,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -506,7 +542,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -540,7 +579,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -583,7 +625,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -646,7 +691,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -732,7 +780,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -775,11 +826,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -831,7 +888,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1109,7 +1169,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1206,7 +1269,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1308,7 +1374,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1405,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1445,7 +1517,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1527,7 +1602,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1574,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1604,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1639,7 +1723,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1663,7 +1750,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1765,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1801,7 +1894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1887,7 +1983,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1923,7 +2022,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1960,7 +2062,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2017,7 +2122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2033,17 +2141,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2068,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2077,7 +2197,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2113,7 +2236,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2160,7 +2286,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2217,7 +2346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2233,17 +2365,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2268,7 +2409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2277,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2288,7 +2435,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2298,14 +2448,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2315,7 +2471,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2328,7 +2487,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2364,7 +2526,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2375,20 +2540,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2430,11 +2607,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2452,7 +2635,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2511,7 +2697,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2641,15 +2830,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2763,7 +2961,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2810,7 +3011,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2840,7 +3044,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2875,7 +3082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2899,7 +3109,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3001,7 +3214,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3037,7 +3253,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3123,7 +3342,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3159,7 +3381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3196,7 +3421,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3253,7 +3481,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3269,17 +3500,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3304,7 +3544,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3313,7 +3556,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3349,7 +3595,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3396,7 +3645,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3453,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3469,17 +3724,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3504,7 +3768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3513,7 +3780,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3524,7 +3794,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3534,14 +3807,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3551,7 +3830,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3564,7 +3846,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3600,7 +3885,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3611,20 +3899,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3666,11 +3966,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3688,7 +3994,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3747,7 +4056,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3784,7 +4096,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3794,7 +4109,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3850,21 +4168,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3908,7 +4238,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3956,7 +4289,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3967,7 +4303,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4002,7 +4341,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4043,12 +4385,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4095,7 +4443,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4109,7 +4460,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4147,7 +4501,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4194,7 +4551,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4221,7 +4581,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4243,7 +4606,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4263,7 +4629,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4273,7 +4642,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4310,7 +4682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4339,7 +4714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4376,7 +4754,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4395,12 +4776,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4450,7 +4837,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4460,7 +4850,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4513,7 +4906,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4522,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4571,7 +4970,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4606,11 +5008,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4657,7 +5065,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4696,7 +5107,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4717,7 +5131,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4757,7 +5174,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4774,7 +5194,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4805,7 +5228,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4825,7 +5251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4867,7 +5296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4896,7 +5328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4936,7 +5371,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4956,7 +5394,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4976,7 +5417,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5009,7 +5453,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5073,7 +5520,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5126,7 +5576,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5143,7 +5596,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5178,7 +5634,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5200,7 +5659,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5213,7 +5675,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5237,7 +5702,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5323,7 +5791,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5373,7 +5844,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5398,7 +5872,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5432,7 +5909,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5475,7 +5955,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5538,7 +6021,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5624,7 +6110,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5667,11 +6156,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5761,7 +6256,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5771,14 +6269,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5788,7 +6292,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5841,7 +6348,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5894,7 +6404,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5904,7 +6417,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5996,7 +6512,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6050,7 +6569,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6062,12 +6584,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6084,7 +6612,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta2.json b/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta2.json index b589666491..53795440c3 100644 --- a/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/statefulsetlist-apps-v1beta2.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +224,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,12 +430,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -459,7 +489,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +515,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -507,7 +543,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -541,7 +580,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -584,7 +626,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -647,7 +692,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -733,7 +781,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,11 +827,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -832,7 +889,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1110,7 +1170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1207,7 +1270,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1309,7 +1375,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1406,7 +1475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1446,7 +1518,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1528,7 +1603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1575,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1605,7 +1686,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1640,7 +1724,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1664,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1766,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1802,7 +1895,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1888,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1924,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1961,7 +2063,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2018,7 +2123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2034,17 +2142,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2069,7 +2186,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2078,7 +2198,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2114,7 +2237,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2161,7 +2287,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2218,7 +2347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2234,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2269,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2278,7 +2422,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2289,7 +2436,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2299,14 +2449,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2316,7 +2472,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2329,7 +2488,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2365,7 +2527,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2376,20 +2541,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2431,11 +2608,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2453,7 +2636,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2512,7 +2698,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2642,15 +2831,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2764,7 +2962,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2811,7 +3012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2841,7 +3045,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2876,7 +3083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2900,7 +3110,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3002,7 +3215,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3038,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3124,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3160,7 +3382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3197,7 +3422,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3254,7 +3482,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3270,17 +3501,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3305,7 +3545,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3314,7 +3557,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3350,7 +3596,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3397,7 +3646,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3454,7 +3706,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3470,17 +3725,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3505,7 +3769,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3514,7 +3781,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3525,7 +3795,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3535,14 +3808,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3552,7 +3831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3565,7 +3847,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3601,7 +3886,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3612,20 +3900,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3667,11 +3967,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3689,7 +3995,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3748,7 +4057,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3785,7 +4097,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3795,7 +4110,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3851,21 +4169,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,7 +4239,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3957,7 +4290,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3968,7 +4304,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4003,7 +4342,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4044,12 +4386,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4096,7 +4444,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4110,7 +4461,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4148,7 +4502,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4195,7 +4552,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4222,7 +4582,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4244,7 +4607,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4264,7 +4630,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4274,7 +4643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4311,7 +4683,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4340,7 +4715,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4377,7 +4755,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4396,12 +4777,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4451,7 +4838,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4461,7 +4851,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4514,7 +4907,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4523,7 +4919,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4572,7 +4971,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4607,11 +5009,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4658,7 +5066,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4697,7 +5108,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4718,7 +5132,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4758,7 +5175,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4775,7 +5195,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4806,7 +5229,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5252,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4868,7 +5297,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4897,7 +5329,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4937,7 +5372,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4957,7 +5395,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4977,7 +5418,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5010,7 +5454,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5074,7 +5521,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5127,7 +5577,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5144,7 +5597,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5179,7 +5635,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5201,7 +5660,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5214,7 +5676,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5238,7 +5703,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5324,7 +5792,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5374,7 +5845,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5399,7 +5873,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5433,7 +5910,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5476,7 +5956,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5539,7 +6022,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5625,7 +6111,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5668,11 +6157,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5762,7 +6257,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5772,14 +6270,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5789,7 +6293,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5842,7 +6349,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5895,7 +6405,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5905,7 +6418,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5997,7 +6513,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6051,7 +6570,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6063,12 +6585,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6085,7 +6613,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetlist.json b/v1.12.3-standalone-strict/statefulsetlist.json index 7cebc96d82..59df6facac 100644 --- a/v1.12.3-standalone-strict/statefulsetlist.json +++ b/v1.12.3-standalone-strict/statefulsetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -289,7 +304,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -332,11 +350,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -397,12 +421,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -450,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +506,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -498,7 +534,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -532,7 +571,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -721,7 +769,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -764,11 +815,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -820,7 +877,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1098,7 +1158,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1195,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1394,7 +1463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1434,7 +1506,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1516,7 +1591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1563,7 +1641,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1593,7 +1674,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1628,7 +1712,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1652,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1754,7 +1844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1790,7 +1883,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1912,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1949,7 +2051,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2006,7 +2111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2130,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2174,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2066,7 +2186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2102,7 +2225,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2149,7 +2275,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2206,7 +2335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2222,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2257,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2266,7 +2410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2277,7 +2424,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,14 +2437,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2304,7 +2460,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2317,7 +2476,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2353,7 +2515,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2364,20 +2529,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2419,11 +2596,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2441,7 +2624,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2500,7 +2686,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2630,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2752,7 +2950,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2799,7 +3000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2829,7 +3033,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2864,7 +3071,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2888,7 +3098,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2990,7 +3203,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3112,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3148,7 +3370,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3185,7 +3410,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3242,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3258,17 +3489,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3293,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3302,7 +3545,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3338,7 +3584,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3385,7 +3634,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3442,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3458,17 +3713,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3493,7 +3757,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3502,7 +3769,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3513,7 +3783,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3523,14 +3796,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3540,7 +3819,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3553,7 +3835,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3589,7 +3874,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3600,20 +3888,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3655,11 +3955,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3677,7 +3983,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3736,7 +4045,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3773,7 +4085,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3783,7 +4098,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3839,21 +4157,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3897,7 +4227,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3945,7 +4278,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3956,7 +4292,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3991,7 +4330,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4032,12 +4374,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4084,7 +4432,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4098,7 +4449,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4136,7 +4490,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4183,7 +4540,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4210,7 +4570,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4232,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4252,7 +4618,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4262,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4299,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4328,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4365,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4384,12 +4765,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4439,7 +4826,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4449,7 +4839,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4502,7 +4895,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4511,7 +4907,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4560,7 +4959,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4595,11 +4997,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4646,7 +5054,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4685,7 +5096,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4706,7 +5120,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4746,7 +5163,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4763,7 +5183,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4794,7 +5217,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4814,7 +5240,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4856,7 +5285,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4885,7 +5317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4925,7 +5360,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4945,7 +5383,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4965,7 +5406,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4998,7 +5442,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5062,7 +5509,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5115,7 +5565,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5132,7 +5585,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5167,7 +5623,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5189,7 +5648,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5202,7 +5664,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5226,7 +5691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5312,7 +5780,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -5359,7 +5830,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5384,7 +5858,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5418,7 +5895,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5458,7 +5938,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5521,7 +6004,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5607,7 +6093,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5650,11 +6139,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5744,7 +6239,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5754,14 +6252,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5771,7 +6275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5824,7 +6331,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5877,7 +6387,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5887,7 +6400,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5979,7 +6495,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -6033,7 +6552,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -6045,12 +6567,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -6067,7 +6595,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetspec-apps-v1.json b/v1.12.3-standalone-strict/statefulsetspec-apps-v1.json index 2036c08c04..d990cdb7a8 100644 --- a/v1.12.3-standalone-strict/statefulsetspec-apps-v1.json +++ b/v1.12.3-standalone-strict/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -68,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -119,7 +131,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -153,7 +168,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +214,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -259,7 +280,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -345,7 +369,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -388,11 +415,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -444,7 +477,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -722,7 +758,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -819,7 +858,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -921,7 +963,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1018,7 +1063,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1058,7 +1106,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1140,7 +1191,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1187,7 +1241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1217,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1252,7 +1312,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1276,7 +1339,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1378,7 +1444,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1414,7 +1483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1536,7 +1611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1573,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1630,7 +1711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1646,17 +1730,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1681,7 +1774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1690,7 +1786,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1726,7 +1825,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1773,7 +1875,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1830,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1846,17 +1954,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1881,7 +1998,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1890,7 +2010,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1901,7 +2024,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1911,14 +2037,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1928,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1941,7 +2076,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1977,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1988,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2043,11 +2196,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2065,7 +2224,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2124,7 +2286,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2254,15 +2419,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2376,7 +2550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2423,7 +2600,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2453,7 +2633,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2488,7 +2671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2512,7 +2698,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2614,7 +2803,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2650,7 +2842,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2736,7 +2931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2772,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3010,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2866,7 +3070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2882,17 +3089,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2917,7 +3133,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2926,7 +3145,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2962,7 +3184,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3009,7 +3234,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3066,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3082,17 +3313,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3117,7 +3357,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3126,7 +3369,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3137,7 +3383,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3147,14 +3396,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3164,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3177,7 +3435,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3213,7 +3474,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3224,20 +3488,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3279,11 +3555,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3301,7 +3583,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3360,7 +3645,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3397,7 +3685,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3407,7 +3698,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3463,21 +3757,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3521,7 +3827,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3569,7 +3878,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3580,7 +3892,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3615,7 +3930,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3656,12 +3974,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3708,7 +4032,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3722,7 +4049,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3760,7 +4090,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3807,7 +4140,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3834,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3856,7 +4195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3876,7 +4218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3886,7 +4231,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3923,7 +4271,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3952,7 +4303,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3989,7 +4343,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4008,12 +4365,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4063,7 +4426,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4073,7 +4439,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4126,7 +4495,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4135,7 +4507,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4184,7 +4559,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4219,11 +4597,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4270,7 +4654,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4309,7 +4696,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4330,7 +4720,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4370,7 +4763,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4387,7 +4783,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4418,7 +4817,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4438,7 +4840,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4480,7 +4885,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4509,7 +4917,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4549,7 +4960,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4569,7 +4983,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4589,7 +5006,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4622,7 +5042,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4686,7 +5109,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4739,7 +5165,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4756,7 +5185,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4791,7 +5223,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4813,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5264,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4850,7 +5291,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4936,7 +5380,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4986,7 +5433,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5011,7 +5461,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5045,7 +5498,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5088,7 +5544,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5151,7 +5610,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5237,7 +5699,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5280,11 +5745,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5374,7 +5845,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5384,14 +5858,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5401,7 +5881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5454,7 +5937,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5507,7 +5993,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5517,7 +6006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta1.json b/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta1.json index 0ce2bc7438..43e7d3b0a8 100644 --- a/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -93,7 +102,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -118,7 +130,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -152,7 +167,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -195,7 +213,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +279,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -344,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -387,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -443,7 +476,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -721,7 +757,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -818,7 +857,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -920,7 +962,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1017,7 +1062,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1057,7 +1105,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1139,7 +1190,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1186,7 +1240,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1216,7 +1273,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1251,7 +1311,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1275,7 +1338,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1377,7 +1443,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1413,7 +1482,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1535,7 +1610,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1572,7 +1650,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1629,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1645,17 +1729,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1680,7 +1773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1689,7 +1785,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1725,7 +1824,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1772,7 +1874,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1829,7 +1934,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1845,17 +1953,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1880,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1889,7 +2009,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1900,7 +2023,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1910,14 +2036,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1927,7 +2059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1940,7 +2075,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1976,7 +2114,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1987,20 +2128,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2042,11 +2195,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2064,7 +2223,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2123,7 +2285,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2253,15 +2418,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2375,7 +2549,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2422,7 +2599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2452,7 +2632,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2487,7 +2670,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2511,7 +2697,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2613,7 +2802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2649,7 +2841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2735,7 +2930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2771,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3009,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2865,7 +3069,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2881,17 +3088,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2916,7 +3132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2925,7 +3144,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2961,7 +3183,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3008,7 +3233,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3065,7 +3293,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,17 +3312,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3116,7 +3356,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3125,7 +3368,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3136,7 +3382,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3146,14 +3395,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3163,7 +3418,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3176,7 +3434,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3212,7 +3473,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3223,20 +3487,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3278,11 +3554,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3300,7 +3582,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3359,7 +3644,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3396,7 +3684,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3406,7 +3697,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3462,21 +3756,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3520,7 +3826,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3568,7 +3877,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3579,7 +3891,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3614,7 +3929,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3655,12 +3973,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3707,7 +4031,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3721,7 +4048,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3759,7 +4089,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3806,7 +4139,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3833,7 +4169,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3855,7 +4194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3875,7 +4217,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3885,7 +4230,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3922,7 +4270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3951,7 +4302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3988,7 +4342,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4007,12 +4364,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4062,7 +4425,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4072,7 +4438,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4125,7 +4494,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4134,7 +4506,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4183,7 +4558,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4218,11 +4596,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4269,7 +4653,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4308,7 +4695,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4329,7 +4719,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4369,7 +4762,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4386,7 +4782,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4417,7 +4816,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4437,7 +4839,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4479,7 +4884,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4508,7 +4916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4548,7 +4959,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4568,7 +4982,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4588,7 +5005,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4621,7 +5041,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4685,7 +5108,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4738,7 +5164,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5184,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4790,7 +5222,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4812,7 +5247,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4825,7 +5263,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4849,7 +5290,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5379,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4985,7 +5432,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5010,7 +5460,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5044,7 +5497,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5087,7 +5543,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5150,7 +5609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5236,7 +5698,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5279,11 +5744,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5373,7 +5844,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5383,14 +5857,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5400,7 +5880,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5453,7 +5936,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5506,7 +5992,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5516,7 +6005,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta2.json b/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta2.json index 2036c08c04..d990cdb7a8 100644 --- a/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -68,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -119,7 +131,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -153,7 +168,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +214,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -259,7 +280,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -345,7 +369,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -388,11 +415,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -444,7 +477,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -722,7 +758,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -819,7 +858,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -921,7 +963,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1018,7 +1063,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1058,7 +1106,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1140,7 +1191,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1187,7 +1241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1217,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1252,7 +1312,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1276,7 +1339,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1378,7 +1444,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1414,7 +1483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1536,7 +1611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1573,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1630,7 +1711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1646,17 +1730,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1681,7 +1774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1690,7 +1786,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1726,7 +1825,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1773,7 +1875,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1830,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1846,17 +1954,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1881,7 +1998,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1890,7 +2010,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1901,7 +2024,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1911,14 +2037,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1928,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1941,7 +2076,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1977,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1988,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2043,11 +2196,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2065,7 +2224,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2124,7 +2286,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2254,15 +2419,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2376,7 +2550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2423,7 +2600,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2453,7 +2633,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2488,7 +2671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2512,7 +2698,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2614,7 +2803,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2650,7 +2842,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2736,7 +2931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2772,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3010,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2866,7 +3070,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2882,17 +3089,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2917,7 +3133,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2926,7 +3145,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2962,7 +3184,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3009,7 +3234,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3066,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3082,17 +3313,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3117,7 +3357,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3126,7 +3369,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3137,7 +3383,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3147,14 +3396,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3164,7 +3419,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3177,7 +3435,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3213,7 +3474,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3224,20 +3488,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3279,11 +3555,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3301,7 +3583,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3360,7 +3645,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3397,7 +3685,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3407,7 +3698,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3463,21 +3757,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3521,7 +3827,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3569,7 +3878,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3580,7 +3892,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3615,7 +3930,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3656,12 +3974,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3708,7 +4032,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3722,7 +4049,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3760,7 +4090,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3807,7 +4140,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3834,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3856,7 +4195,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3876,7 +4218,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3886,7 +4231,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3923,7 +4271,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3952,7 +4303,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3989,7 +4343,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4008,12 +4365,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4063,7 +4426,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4073,7 +4439,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4126,7 +4495,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4135,7 +4507,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4184,7 +4559,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4219,11 +4597,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4270,7 +4654,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4309,7 +4696,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4330,7 +4720,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4370,7 +4763,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4387,7 +4783,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4418,7 +4817,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4438,7 +4840,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4480,7 +4885,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4509,7 +4917,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4549,7 +4960,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4569,7 +4983,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4589,7 +5006,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4622,7 +5042,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4686,7 +5109,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4739,7 +5165,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4756,7 +5185,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4791,7 +5223,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4813,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5264,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4850,7 +5291,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4936,7 +5380,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4986,7 +5433,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5011,7 +5461,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5045,7 +5498,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5088,7 +5544,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5151,7 +5610,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5237,7 +5699,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5280,11 +5745,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5374,7 +5845,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5384,14 +5858,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5401,7 +5881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5454,7 +5937,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5507,7 +5993,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5517,7 +6006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/statefulsetspec.json b/v1.12.3-standalone-strict/statefulsetspec.json index 4f99c93aa4..d3bbb558de 100644 --- a/v1.12.3-standalone-strict/statefulsetspec.json +++ b/v1.12.3-standalone-strict/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -68,7 +74,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -119,7 +131,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -153,7 +168,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -256,7 +277,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -342,7 +366,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,11 +412,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -441,7 +474,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -719,7 +755,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -816,7 +855,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -918,7 +960,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1015,7 +1060,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1055,7 +1103,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1137,7 +1188,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1184,7 +1238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1214,7 +1271,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1249,7 +1309,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1273,7 +1336,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -1375,7 +1441,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,7 +1480,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1497,7 +1569,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1533,7 +1608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1570,7 +1648,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1627,7 +1708,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1643,17 +1727,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1678,7 +1771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1687,7 +1783,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1723,7 +1822,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1770,7 +1872,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1827,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1843,17 +1951,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1878,7 +1995,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1887,7 +2007,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -1898,7 +2021,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1908,14 +2034,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1925,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1938,7 +2073,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1974,7 +2112,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1985,20 +2126,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2040,11 +2193,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2062,7 +2221,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2121,7 +2283,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2251,15 +2416,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2373,7 +2547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2420,7 +2597,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2450,7 +2630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2485,7 +2668,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2509,7 +2695,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -2611,7 +2800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2647,7 +2839,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2733,7 +2928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2769,7 +2967,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2806,7 +3007,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2863,7 +3067,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2879,17 +3086,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2914,7 +3130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2923,7 +3142,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -2959,7 +3181,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3006,7 +3231,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3063,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3079,17 +3310,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3114,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3123,7 +3366,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -3134,7 +3380,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3144,14 +3393,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3161,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3174,7 +3432,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3210,7 +3471,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3221,20 +3485,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3276,11 +3552,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3298,7 +3580,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3357,7 +3642,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3394,7 +3682,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3404,7 +3695,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3460,21 +3754,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3518,7 +3824,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3566,7 +3875,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3577,7 +3889,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3612,7 +3927,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3653,12 +3971,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3705,7 +4029,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3719,7 +4046,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3757,7 +4087,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3804,7 +4137,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3831,7 +4167,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3853,7 +4192,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3873,7 +4215,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -3883,7 +4228,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3920,7 +4268,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3949,7 +4300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3986,7 +4340,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4005,12 +4362,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4060,7 +4423,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4070,7 +4436,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4123,7 +4492,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4132,7 +4504,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4181,7 +4556,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4216,11 +4594,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4267,7 +4651,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4306,7 +4693,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4327,7 +4717,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4367,7 +4760,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4384,7 +4780,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4415,7 +4814,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4435,7 +4837,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4477,7 +4882,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4506,7 +4914,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4546,7 +4957,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4566,7 +4980,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -4586,7 +5003,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4619,7 +5039,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4683,7 +5106,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4736,7 +5162,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4753,7 +5182,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4788,7 +5220,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4810,7 +5245,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4823,7 +5261,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4847,7 +5288,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4933,7 +5377,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, @@ -4980,7 +5427,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5005,7 +5455,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5039,7 +5492,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5079,7 +5535,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5142,7 +5601,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5228,7 +5690,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5271,11 +5736,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5365,7 +5836,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5375,14 +5849,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5392,7 +5872,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5445,7 +5928,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5498,7 +5984,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5508,7 +5997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/statefulsetstatus-apps-v1.json b/v1.12.3-standalone-strict/statefulsetstatus-apps-v1.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.3-standalone-strict/statefulsetstatus-apps-v1.json +++ b/v1.12.3-standalone-strict/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta1.json b/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta1.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta2.json b/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta2.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetstatus.json b/v1.12.3-standalone-strict/statefulsetstatus.json index 430c378f9e..0db8faa5b3 100644 --- a/v1.12.3-standalone-strict/statefulsetstatus.json +++ b/v1.12.3-standalone-strict/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -60,7 +63,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -72,17 +78,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -94,7 +109,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1.json b/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1.json index dc801c4ada..2020e201e9 100644 --- a/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1.json +++ b/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json b/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json index de6389cad4..ae8bbdd2af 100644 --- a/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json +++ b/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json b/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json index dc801c4ada..2020e201e9 100644 --- a/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.3-standalone-strict/statefulsetupdatestrategy-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/statefulsetupdatestrategy.json b/v1.12.3-standalone-strict/statefulsetupdatestrategy.json index dc801c4ada..2020e201e9 100644 --- a/v1.12.3-standalone-strict/statefulsetupdatestrategy.json +++ b/v1.12.3-standalone-strict/statefulsetupdatestrategy.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/status-meta-v1.json b/v1.12.3-standalone-strict/status-meta-v1.json index 0cc9e017c6..cb3b59667f 100644 --- a/v1.12.3-standalone-strict/status-meta-v1.json +++ b/v1.12.3-standalone-strict/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -76,7 +79,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone-strict/status.json b/v1.12.3-standalone-strict/status.json index 39a5681d08..00bc5c383d 100644 --- a/v1.12.3-standalone-strict/status.json +++ b/v1.12.3-standalone-strict/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -73,7 +76,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone-strict/statusdetails-meta-v1.json b/v1.12.3-standalone-strict/statusdetails-meta-v1.json index 01501cbbf8..0fca372ef6 100644 --- a/v1.12.3-standalone-strict/statusdetails-meta-v1.json +++ b/v1.12.3-standalone-strict/statusdetails-meta-v1.json @@ -58,7 +58,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone-strict/statusdetails.json b/v1.12.3-standalone-strict/statusdetails.json index 01501cbbf8..0fca372ef6 100644 --- a/v1.12.3-standalone-strict/statusdetails.json +++ b/v1.12.3-standalone-strict/statusdetails.json @@ -58,7 +58,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone-strict/storageclass-storage-v1.json b/v1.12.3-standalone-strict/storageclass-storage-v1.json index 5deece509c..6a2bde1927 100644 --- a/v1.12.3-standalone-strict/storageclass-storage-v1.json +++ b/v1.12.3-standalone-strict/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -77,7 +80,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +108,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +145,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -179,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -242,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -328,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -371,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +461,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/storageclass-storage-v1beta1.json b/v1.12.3-standalone-strict/storageclass-storage-v1beta1.json index 03e756a63b..e4c114b3d7 100644 --- a/v1.12.3-standalone-strict/storageclass-storage-v1beta1.json +++ b/v1.12.3-standalone-strict/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -77,7 +80,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +108,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +145,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -179,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -242,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -328,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -371,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +461,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/storageclass.json b/v1.12.3-standalone-strict/storageclass.json index fe5ecf1a8e..0cc4caecea 100644 --- a/v1.12.3-standalone-strict/storageclass.json +++ b/v1.12.3-standalone-strict/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -74,7 +77,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -99,7 +105,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -133,7 +142,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -173,7 +185,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -236,7 +251,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -322,7 +340,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,11 +386,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -428,7 +455,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/storageclasslist-storage-v1.json b/v1.12.3-standalone-strict/storageclasslist-storage-v1.json index e0d9dce58d..79b56557bb 100644 --- a/v1.12.3-standalone-strict/storageclasslist-storage-v1.json +++ b/v1.12.3-standalone-strict/storageclasslist-storage-v1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -99,7 +102,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +130,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -158,7 +167,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -201,7 +213,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -264,7 +279,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -350,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -456,7 +483,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/storageclasslist-storage-v1beta1.json b/v1.12.3-standalone-strict/storageclasslist-storage-v1beta1.json index 9139cd9753..72d05863e5 100644 --- a/v1.12.3-standalone-strict/storageclasslist-storage-v1beta1.json +++ b/v1.12.3-standalone-strict/storageclasslist-storage-v1beta1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -99,7 +102,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +130,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -158,7 +167,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -201,7 +213,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -264,7 +279,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -350,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -456,7 +483,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/storageclasslist.json b/v1.12.3-standalone-strict/storageclasslist.json index 78db20cd70..5d8766b627 100644 --- a/v1.12.3-standalone-strict/storageclasslist.json +++ b/v1.12.3-standalone-strict/storageclasslist.json @@ -25,7 +25,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -93,7 +96,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -118,7 +124,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -152,7 +161,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -192,7 +204,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +270,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -341,7 +359,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -384,11 +405,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +474,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/storageospersistentvolumesource-v1.json b/v1.12.3-standalone-strict/storageospersistentvolumesource-v1.json index 656ccac936..0e92a4d3cf 100644 --- a/v1.12.3-standalone-strict/storageospersistentvolumesource-v1.json +++ b/v1.12.3-standalone-strict/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/storageospersistentvolumesource.json b/v1.12.3-standalone-strict/storageospersistentvolumesource.json index 656ccac936..0e92a4d3cf 100644 --- a/v1.12.3-standalone-strict/storageospersistentvolumesource.json +++ b/v1.12.3-standalone-strict/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone-strict/storageosvolumesource-v1.json b/v1.12.3-standalone-strict/storageosvolumesource-v1.json index 722d15a7d7..40cdfa7269 100644 --- a/v1.12.3-standalone-strict/storageosvolumesource-v1.json +++ b/v1.12.3-standalone-strict/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/storageosvolumesource.json b/v1.12.3-standalone-strict/storageosvolumesource.json index 722d15a7d7..40cdfa7269 100644 --- a/v1.12.3-standalone-strict/storageosvolumesource.json +++ b/v1.12.3-standalone-strict/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1.json b/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1.json index cb8f0cbe20..64c9555359 100644 --- a/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1.json +++ b/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1beta1.json b/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1beta1.json index 15695e27b5..d995b92d53 100644 --- a/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/subjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -507,7 +534,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/subjectaccessreview.json b/v1.12.3-standalone-strict/subjectaccessreview.json index 44cd8f9103..42fbca20d0 100644 --- a/v1.12.3-standalone-strict/subjectaccessreview.json +++ b/v1.12.3-standalone-strict/subjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -501,7 +528,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1.json b/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1.json index 1beaa8f0f4..ee6ad9fde0 100644 --- a/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json index ebf20e4b4b..040d1b84d3 100644 --- a/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/subjectaccessreviewspec.json b/v1.12.3-standalone-strict/subjectaccessreviewspec.json index ebf20e4b4b..040d1b84d3 100644 --- a/v1.12.3-standalone-strict/subjectaccessreviewspec.json +++ b/v1.12.3-standalone-strict/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1.json b/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1.json index 6de49e34ea..0113ac872b 100644 --- a/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json index 6de49e34ea..0113ac872b 100644 --- a/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/subjectaccessreviewstatus.json b/v1.12.3-standalone-strict/subjectaccessreviewstatus.json index 6de49e34ea..0113ac872b 100644 --- a/v1.12.3-standalone-strict/subjectaccessreviewstatus.json +++ b/v1.12.3-standalone-strict/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1.json b/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1.json index 83aa63e06c..9516b1d29c 100644 --- a/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json index 83aa63e06c..9516b1d29c 100644 --- a/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.3-standalone-strict/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-standalone-strict/subjectrulesreviewstatus.json b/v1.12.3-standalone-strict/subjectrulesreviewstatus.json index 83aa63e06c..9516b1d29c 100644 --- a/v1.12.3-standalone-strict/subjectrulesreviewstatus.json +++ b/v1.12.3-standalone-strict/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-standalone-strict/tcpsocketaction-v1.json b/v1.12.3-standalone-strict/tcpsocketaction-v1.json index 9e1369d065..fb85c22dae 100644 --- a/v1.12.3-standalone-strict/tcpsocketaction-v1.json +++ b/v1.12.3-standalone-strict/tcpsocketaction-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/tcpsocketaction.json b/v1.12.3-standalone-strict/tcpsocketaction.json index 9e1369d065..fb85c22dae 100644 --- a/v1.12.3-standalone-strict/tcpsocketaction.json +++ b/v1.12.3-standalone-strict/tcpsocketaction.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone-strict/time-meta-v1.json b/v1.12.3-standalone-strict/time-meta-v1.json index 192d3f7edc..042d13b5a2 100644 --- a/v1.12.3-standalone-strict/time-meta-v1.json +++ b/v1.12.3-standalone-strict/time-meta-v1.json @@ -2,5 +2,6 @@ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/time.json b/v1.12.3-standalone-strict/time.json index 192d3f7edc..042d13b5a2 100644 --- a/v1.12.3-standalone-strict/time.json +++ b/v1.12.3-standalone-strict/time.json @@ -2,5 +2,6 @@ "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time", - "$schema": "http://json-schema.org/schema#" + "$schema": "http://json-schema.org/schema#", + "additionalProperties": false } \ No newline at end of file diff --git a/v1.12.3-standalone-strict/tokenreview-authentication-v1.json b/v1.12.3-standalone-strict/tokenreview-authentication-v1.json index 586bad8a23..ef4cc2364a 100644 --- a/v1.12.3-standalone-strict/tokenreview-authentication-v1.json +++ b/v1.12.3-standalone-strict/tokenreview-authentication-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -403,7 +430,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/tokenreview-authentication-v1beta1.json b/v1.12.3-standalone-strict/tokenreview-authentication-v1beta1.json index 15b32cd97a..d444829a91 100644 --- a/v1.12.3-standalone-strict/tokenreview-authentication-v1beta1.json +++ b/v1.12.3-standalone-strict/tokenreview-authentication-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -403,7 +430,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/tokenreview.json b/v1.12.3-standalone-strict/tokenreview.json index 9676098a9c..4e00f97200 100644 --- a/v1.12.3-standalone-strict/tokenreview.json +++ b/v1.12.3-standalone-strict/tokenreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -383,7 +407,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -397,7 +424,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1.json b/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1.json index 8cf5ea6bc9..bbcd1aa48b 100644 --- a/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1.json +++ b/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1beta1.json b/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1beta1.json index 8cf5ea6bc9..bbcd1aa48b 100644 --- a/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.3-standalone-strict/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/tokenreviewstatus.json b/v1.12.3-standalone-strict/tokenreviewstatus.json index 8cf5ea6bc9..bbcd1aa48b 100644 --- a/v1.12.3-standalone-strict/tokenreviewstatus.json +++ b/v1.12.3-standalone-strict/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/toleration-v1.json b/v1.12.3-standalone-strict/toleration-v1.json index 41159a253e..0abe7f8a28 100644 --- a/v1.12.3-standalone-strict/toleration-v1.json +++ b/v1.12.3-standalone-strict/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3-standalone-strict/toleration.json b/v1.12.3-standalone-strict/toleration.json index 41159a253e..0abe7f8a28 100644 --- a/v1.12.3-standalone-strict/toleration.json +++ b/v1.12.3-standalone-strict/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3-standalone-strict/userinfo-authentication-v1.json b/v1.12.3-standalone-strict/userinfo-authentication-v1.json index 0f14dfe233..2c41a852c7 100644 --- a/v1.12.3-standalone-strict/userinfo-authentication-v1.json +++ b/v1.12.3-standalone-strict/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/userinfo-authentication-v1beta1.json b/v1.12.3-standalone-strict/userinfo-authentication-v1beta1.json index 0f14dfe233..2c41a852c7 100644 --- a/v1.12.3-standalone-strict/userinfo-authentication-v1beta1.json +++ b/v1.12.3-standalone-strict/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/userinfo.json b/v1.12.3-standalone-strict/userinfo.json index 0f14dfe233..2c41a852c7 100644 --- a/v1.12.3-standalone-strict/userinfo.json +++ b/v1.12.3-standalone-strict/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.3-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json index e41c3a43ab..6e30ce4516 100644 --- a/v1.12.3-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/validatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -128,7 +137,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -191,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -277,7 +292,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -320,11 +338,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -483,7 +507,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/validatingwebhookconfiguration.json b/v1.12.3-standalone-strict/validatingwebhookconfiguration.json index 624f12560a..6c3c1608de 100644 --- a/v1.12.3-standalone-strict/validatingwebhookconfiguration.json +++ b/v1.12.3-standalone-strict/validatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -122,7 +131,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +197,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -477,7 +501,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.3-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json index 94273e148b..a2ac5dc803 100644 --- a/v1.12.3-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +159,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +225,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -299,7 +314,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -342,11 +360,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -505,7 +529,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/validatingwebhookconfigurationlist.json b/v1.12.3-standalone-strict/validatingwebhookconfigurationlist.json index 0b459bf19a..e1cdf2a5dd 100644 --- a/v1.12.3-standalone-strict/validatingwebhookconfigurationlist.json +++ b/v1.12.3-standalone-strict/validatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +216,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -290,7 +305,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -333,11 +351,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -496,7 +520,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volume-v1.json b/v1.12.3-standalone-strict/volume-v1.json index 0221e352fb..f0a047715e 100644 --- a/v1.12.3-standalone-strict/volume-v1.json +++ b/v1.12.3-standalone-strict/volume-v1.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -71,7 +77,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +94,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -123,7 +135,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -170,7 +185,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -197,7 +215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -219,7 +240,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -239,7 +263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -249,7 +276,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -286,7 +316,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -315,7 +348,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -352,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -371,12 +410,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -426,7 +471,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -436,7 +484,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -489,7 +540,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -498,7 +552,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -547,7 +604,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -582,11 +642,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -633,7 +699,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -675,7 +744,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -696,7 +768,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -736,7 +811,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -753,7 +831,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -784,7 +865,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -804,7 +888,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -846,7 +933,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -875,7 +965,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -915,7 +1008,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -935,7 +1031,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -955,7 +1054,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -988,7 +1090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1052,7 +1157,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1105,7 +1213,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1122,7 +1233,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1157,7 +1271,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1179,7 +1296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1192,7 +1312,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1216,7 +1339,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/volume.json b/v1.12.3-standalone-strict/volume.json index 0221e352fb..f0a047715e 100644 --- a/v1.12.3-standalone-strict/volume.json +++ b/v1.12.3-standalone-strict/volume.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -71,7 +77,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +94,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -123,7 +135,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -170,7 +185,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -197,7 +215,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -219,7 +240,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -239,7 +263,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -249,7 +276,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -286,7 +316,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -315,7 +348,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -352,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -371,12 +410,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -426,7 +471,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -436,7 +484,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -489,7 +540,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -498,7 +552,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -547,7 +604,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -582,11 +642,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -633,7 +699,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -675,7 +744,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -696,7 +768,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -736,7 +811,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -753,7 +831,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -784,7 +865,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -804,7 +888,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -846,7 +933,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -875,7 +965,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -915,7 +1008,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -935,7 +1031,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -955,7 +1054,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -988,7 +1090,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1052,7 +1157,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1105,7 +1213,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1122,7 +1233,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1157,7 +1271,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1179,7 +1296,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1192,7 +1312,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1216,7 +1339,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone-strict/volumeattachment-storage-v1alpha1.json b/v1.12.3-standalone-strict/volumeattachment-storage-v1alpha1.json index 65868df499..94c1591392 100644 --- a/v1.12.3-standalone-strict/volumeattachment-storage-v1alpha1.json +++ b/v1.12.3-standalone-strict/volumeattachment-storage-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -436,7 +460,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachment-storage-v1beta1.json b/v1.12.3-standalone-strict/volumeattachment-storage-v1beta1.json index d6477fd79f..e71f490c06 100644 --- a/v1.12.3-standalone-strict/volumeattachment-storage-v1beta1.json +++ b/v1.12.3-standalone-strict/volumeattachment-storage-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -131,7 +140,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +206,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -280,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -436,7 +460,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachment.json b/v1.12.3-standalone-strict/volumeattachment.json index 7c098df324..fe457340d3 100644 --- a/v1.12.3-standalone-strict/volumeattachment.json +++ b/v1.12.3-standalone-strict/volumeattachment.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -125,7 +134,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -430,7 +454,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1alpha1.json b/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1alpha1.json index da0ad4575e..8429f9affe 100644 --- a/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1alpha1.json +++ b/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1beta1.json b/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1beta1.json index db4cd5bac6..9ff04124a7 100644 --- a/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1beta1.json +++ b/v1.12.3-standalone-strict/volumeattachmentlist-storage-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -153,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -302,7 +317,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -345,11 +363,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachmentlist.json b/v1.12.3-standalone-strict/volumeattachmentlist.json index c5f0a7c812..a595b062a6 100644 --- a/v1.12.3-standalone-strict/volumeattachmentlist.json +++ b/v1.12.3-standalone-strict/volumeattachmentlist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -207,7 +219,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -449,7 +473,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json index 4ffdf684da..5a58125ed5 100644 --- a/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1alpha1.json @@ -27,11 +27,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1beta1.json b/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1beta1.json index 4ffdf684da..5a58125ed5 100644 --- a/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.3-standalone-strict/volumeattachmentstatus-storage-v1beta1.json @@ -27,11 +27,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumeattachmentstatus.json b/v1.12.3-standalone-strict/volumeattachmentstatus.json index 4ffdf684da..5a58125ed5 100644 --- a/v1.12.3-standalone-strict/volumeattachmentstatus.json +++ b/v1.12.3-standalone-strict/volumeattachmentstatus.json @@ -27,11 +27,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/volumemount-v1.json b/v1.12.3-standalone-strict/volumemount-v1.json index b39036a1d2..6e824a1f19 100644 --- a/v1.12.3-standalone-strict/volumemount-v1.json +++ b/v1.12.3-standalone-strict/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone-strict/volumemount.json b/v1.12.3-standalone-strict/volumemount.json index b39036a1d2..6e824a1f19 100644 --- a/v1.12.3-standalone-strict/volumemount.json +++ b/v1.12.3-standalone-strict/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone-strict/volumeprojection-v1.json b/v1.12.3-standalone-strict/volumeprojection-v1.json index 20128e9acb..2f3d16cab5 100644 --- a/v1.12.3-standalone-strict/volumeprojection-v1.json +++ b/v1.12.3-standalone-strict/volumeprojection-v1.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -43,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +91,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -154,7 +166,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -174,7 +189,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -194,7 +212,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone-strict/volumeprojection.json b/v1.12.3-standalone-strict/volumeprojection.json index 20128e9acb..2f3d16cab5 100644 --- a/v1.12.3-standalone-strict/volumeprojection.json +++ b/v1.12.3-standalone-strict/volumeprojection.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -43,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -85,7 +91,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -154,7 +166,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -174,7 +189,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "additionalProperties": false @@ -194,7 +212,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone-strict/webhook-admissionregistration-v1beta1.json b/v1.12.3-standalone-strict/webhook-admissionregistration-v1beta1.json index b7a72d393f..e63dd2e01a 100644 --- a/v1.12.3-standalone-strict/webhook-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone-strict/webhook-admissionregistration-v1beta1.json @@ -110,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/webhook.json b/v1.12.3-standalone-strict/webhook.json index b7a72d393f..e63dd2e01a 100644 --- a/v1.12.3-standalone-strict/webhook.json +++ b/v1.12.3-standalone-strict/webhook.json @@ -110,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone-strict/weightedpodaffinityterm-v1.json b/v1.12.3-standalone-strict/weightedpodaffinityterm-v1.json index 1347f1985a..1e373979a8 100644 --- a/v1.12.3-standalone-strict/weightedpodaffinityterm-v1.json +++ b/v1.12.3-standalone-strict/weightedpodaffinityterm-v1.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone-strict/weightedpodaffinityterm.json b/v1.12.3-standalone-strict/weightedpodaffinityterm.json index 1347f1985a..1e373979a8 100644 --- a/v1.12.3-standalone-strict/weightedpodaffinityterm.json +++ b/v1.12.3-standalone-strict/weightedpodaffinityterm.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/_definitions.json b/v1.12.3-standalone/_definitions.json index a2ff3fbbf0..3109497043 100644 --- a/v1.12.3-standalone/_definitions.json +++ b/v1.12.3-standalone/_definitions.json @@ -15572,7 +15572,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.3-standalone/affinity-v1.json b/v1.12.3-standalone/affinity-v1.json index c043e03ea2..c4075ca3bf 100644 --- a/v1.12.3-standalone/affinity-v1.json +++ b/v1.12.3-standalone/affinity-v1.json @@ -263,7 +263,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,7 +359,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +556,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/affinity.json b/v1.12.3-standalone/affinity.json index c043e03ea2..c4075ca3bf 100644 --- a/v1.12.3-standalone/affinity.json +++ b/v1.12.3-standalone/affinity.json @@ -263,7 +263,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -356,7 +359,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +556,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/aggregationrule-rbac-v1.json b/v1.12.3-standalone/aggregationrule-rbac-v1.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.3-standalone/aggregationrule-rbac-v1.json +++ b/v1.12.3-standalone/aggregationrule-rbac-v1.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/aggregationrule-rbac-v1alpha1.json b/v1.12.3-standalone/aggregationrule-rbac-v1alpha1.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.3-standalone/aggregationrule-rbac-v1alpha1.json +++ b/v1.12.3-standalone/aggregationrule-rbac-v1alpha1.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/aggregationrule-rbac-v1beta1.json b/v1.12.3-standalone/aggregationrule-rbac-v1beta1.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.3-standalone/aggregationrule-rbac-v1beta1.json +++ b/v1.12.3-standalone/aggregationrule-rbac-v1beta1.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/aggregationrule.json b/v1.12.3-standalone/aggregationrule.json index a15daa0db9..6ab4aacaa8 100644 --- a/v1.12.3-standalone/aggregationrule.json +++ b/v1.12.3-standalone/aggregationrule.json @@ -51,7 +51,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/allowedhostpath-extensions-v1beta1.json b/v1.12.3-standalone/allowedhostpath-extensions-v1beta1.json index e3a663f0bb..492a7eb2fe 100644 --- a/v1.12.3-standalone/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.3-standalone/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/allowedhostpath-policy-v1beta1.json b/v1.12.3-standalone/allowedhostpath-policy-v1beta1.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.3-standalone/allowedhostpath-policy-v1beta1.json +++ b/v1.12.3-standalone/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/allowedhostpath.json b/v1.12.3-standalone/allowedhostpath.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.3-standalone/allowedhostpath.json +++ b/v1.12.3-standalone/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/apiresource-meta-v1.json b/v1.12.3-standalone/apiresource-meta-v1.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.3-standalone/apiresource-meta-v1.json +++ b/v1.12.3-standalone/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3-standalone/apiresource.json b/v1.12.3-standalone/apiresource.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.3-standalone/apiresource.json +++ b/v1.12.3-standalone/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3-standalone/apiservice-apiregistration-v1.json b/v1.12.3-standalone/apiservice-apiregistration-v1.json index 7998e6f4e1..a2b0fae0f2 100644 --- a/v1.12.3-standalone/apiservice-apiregistration-v1.json +++ b/v1.12.3-standalone/apiservice-apiregistration-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone/apiservice-apiregistration-v1beta1.json b/v1.12.3-standalone/apiservice-apiregistration-v1beta1.json index d7be9b27f4..742830201f 100644 --- a/v1.12.3-standalone/apiservice-apiregistration-v1beta1.json +++ b/v1.12.3-standalone/apiservice-apiregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone/apiservice.json b/v1.12.3-standalone/apiservice.json index 6a0f0e9e63..339c748931 100644 --- a/v1.12.3-standalone/apiservice.json +++ b/v1.12.3-standalone/apiservice.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone/apiservicelist-apiregistration-v1.json b/v1.12.3-standalone/apiservicelist-apiregistration-v1.json index 1d297fa8dc..e69709e131 100644 --- a/v1.12.3-standalone/apiservicelist-apiregistration-v1.json +++ b/v1.12.3-standalone/apiservicelist-apiregistration-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -411,7 +435,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone/apiservicelist-apiregistration-v1beta1.json b/v1.12.3-standalone/apiservicelist-apiregistration-v1beta1.json index 84131a17d9..b6a307c1af 100644 --- a/v1.12.3-standalone/apiservicelist-apiregistration-v1beta1.json +++ b/v1.12.3-standalone/apiservicelist-apiregistration-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -411,7 +435,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone/apiservicelist.json b/v1.12.3-standalone/apiservicelist.json index 8be58b66d9..d8c78adff2 100644 --- a/v1.12.3-standalone/apiservicelist.json +++ b/v1.12.3-standalone/apiservicelist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -201,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -283,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -326,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -402,7 +426,10 @@ }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", diff --git a/v1.12.3-standalone/apiservicespec-apiregistration-v1.json b/v1.12.3-standalone/apiservicespec-apiregistration-v1.json index f41ce768a7..b63bd6f314 100644 --- a/v1.12.3-standalone/apiservicespec-apiregistration-v1.json +++ b/v1.12.3-standalone/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -58,7 +64,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/apiservicespec-apiregistration-v1beta1.json b/v1.12.3-standalone/apiservicespec-apiregistration-v1beta1.json index f41ce768a7..b63bd6f314 100644 --- a/v1.12.3-standalone/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.3-standalone/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -58,7 +64,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/apiservicespec.json b/v1.12.3-standalone/apiservicespec.json index f41ce768a7..b63bd6f314 100644 --- a/v1.12.3-standalone/apiservicespec.json +++ b/v1.12.3-standalone/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "ServiceReference holds a reference to Service.legacy.k8s.io", @@ -58,7 +64,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/awselasticblockstorevolumesource-v1.json b/v1.12.3-standalone/awselasticblockstorevolumesource-v1.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.3-standalone/awselasticblockstorevolumesource-v1.json +++ b/v1.12.3-standalone/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3-standalone/awselasticblockstorevolumesource.json b/v1.12.3-standalone/awselasticblockstorevolumesource.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.3-standalone/awselasticblockstorevolumesource.json +++ b/v1.12.3-standalone/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3-standalone/azurediskvolumesource-v1.json b/v1.12.3-standalone/azurediskvolumesource-v1.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.3-standalone/azurediskvolumesource-v1.json +++ b/v1.12.3-standalone/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/azurediskvolumesource.json b/v1.12.3-standalone/azurediskvolumesource.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.3-standalone/azurediskvolumesource.json +++ b/v1.12.3-standalone/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/azurefilepersistentvolumesource-v1.json b/v1.12.3-standalone/azurefilepersistentvolumesource-v1.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.3-standalone/azurefilepersistentvolumesource-v1.json +++ b/v1.12.3-standalone/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone/azurefilepersistentvolumesource.json b/v1.12.3-standalone/azurefilepersistentvolumesource.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.3-standalone/azurefilepersistentvolumesource.json +++ b/v1.12.3-standalone/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone/azurefilevolumesource-v1.json b/v1.12.3-standalone/azurefilevolumesource-v1.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.3-standalone/azurefilevolumesource-v1.json +++ b/v1.12.3-standalone/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone/azurefilevolumesource.json b/v1.12.3-standalone/azurefilevolumesource.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.3-standalone/azurefilevolumesource.json +++ b/v1.12.3-standalone/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3-standalone/binding-v1.json b/v1.12.3-standalone/binding-v1.json index 6a83fcdb04..997f03a4cf 100644 --- a/v1.12.3-standalone/binding-v1.json +++ b/v1.12.3-standalone/binding-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/binding.json b/v1.12.3-standalone/binding.json index 638eef7e4e..8f1f777716 100644 --- a/v1.12.3-standalone/binding.json +++ b/v1.12.3-standalone/binding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/cephfspersistentvolumesource-v1.json b/v1.12.3-standalone/cephfspersistentvolumesource-v1.json index a0be27450b..d8f214757e 100644 --- a/v1.12.3-standalone/cephfspersistentvolumesource-v1.json +++ b/v1.12.3-standalone/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone/cephfspersistentvolumesource.json b/v1.12.3-standalone/cephfspersistentvolumesource.json index a0be27450b..d8f214757e 100644 --- a/v1.12.3-standalone/cephfspersistentvolumesource.json +++ b/v1.12.3-standalone/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone/cephfsvolumesource-v1.json b/v1.12.3-standalone/cephfsvolumesource-v1.json index 1dcf9eff5e..f93e33083c 100644 --- a/v1.12.3-standalone/cephfsvolumesource-v1.json +++ b/v1.12.3-standalone/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone/cephfsvolumesource.json b/v1.12.3-standalone/cephfsvolumesource.json index 1dcf9eff5e..f93e33083c 100644 --- a/v1.12.3-standalone/cephfsvolumesource.json +++ b/v1.12.3-standalone/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3-standalone/certificatesigningrequest-certificates-v1beta1.json b/v1.12.3-standalone/certificatesigningrequest-certificates-v1beta1.json index 7fef6c5c72..81295324db 100644 --- a/v1.12.3-standalone/certificatesigningrequest-certificates-v1beta1.json +++ b/v1.12.3-standalone/certificatesigningrequest-certificates-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/certificatesigningrequest.json b/v1.12.3-standalone/certificatesigningrequest.json index 34be42068e..494903e2fa 100644 --- a/v1.12.3-standalone/certificatesigningrequest.json +++ b/v1.12.3-standalone/certificatesigningrequest.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/certificatesigningrequestlist-certificates-v1beta1.json b/v1.12.3-standalone/certificatesigningrequestlist-certificates-v1beta1.json index 72a5bc7d6b..78074c76f0 100644 --- a/v1.12.3-standalone/certificatesigningrequestlist-certificates-v1beta1.json +++ b/v1.12.3-standalone/certificatesigningrequestlist-certificates-v1beta1.json @@ -46,7 +46,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -71,7 +74,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -105,7 +111,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -147,7 +156,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -209,7 +221,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -291,7 +306,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,11 +352,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -388,7 +412,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/certificatesigningrequestlist.json b/v1.12.3-standalone/certificatesigningrequestlist.json index e125371e25..8e6c06e263 100644 --- a/v1.12.3-standalone/certificatesigningrequestlist.json +++ b/v1.12.3-standalone/certificatesigningrequestlist.json @@ -40,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -138,7 +147,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -200,7 +212,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -282,7 +297,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -325,11 +343,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -379,7 +403,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.3-standalone/certificatesigningrequestspec-certificates-v1beta1.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.3-standalone/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.3-standalone/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/certificatesigningrequestspec.json b/v1.12.3-standalone/certificatesigningrequestspec.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.3-standalone/certificatesigningrequestspec.json +++ b/v1.12.3-standalone/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/cinderpersistentvolumesource-v1.json b/v1.12.3-standalone/cinderpersistentvolumesource-v1.json index 3e4ca7abb0..89ff99c9db 100644 --- a/v1.12.3-standalone/cinderpersistentvolumesource-v1.json +++ b/v1.12.3-standalone/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/cinderpersistentvolumesource.json b/v1.12.3-standalone/cinderpersistentvolumesource.json index 3e4ca7abb0..89ff99c9db 100644 --- a/v1.12.3-standalone/cinderpersistentvolumesource.json +++ b/v1.12.3-standalone/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/cindervolumesource-v1.json b/v1.12.3-standalone/cindervolumesource-v1.json index 2b9408995a..391274fa86 100644 --- a/v1.12.3-standalone/cindervolumesource-v1.json +++ b/v1.12.3-standalone/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/cindervolumesource.json b/v1.12.3-standalone/cindervolumesource.json index 2b9408995a..391274fa86 100644 --- a/v1.12.3-standalone/cindervolumesource.json +++ b/v1.12.3-standalone/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/clientipconfig-v1.json b/v1.12.3-standalone/clientipconfig-v1.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.3-standalone/clientipconfig-v1.json +++ b/v1.12.3-standalone/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/clientipconfig.json b/v1.12.3-standalone/clientipconfig.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.3-standalone/clientipconfig.json +++ b/v1.12.3-standalone/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/clusterrole-rbac-v1.json b/v1.12.3-standalone/clusterrole-rbac-v1.json index df0b1c152c..a3758f7a84 100644 --- a/v1.12.3-standalone/clusterrole-rbac-v1.json +++ b/v1.12.3-standalone/clusterrole-rbac-v1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrole-rbac-v1alpha1.json b/v1.12.3-standalone/clusterrole-rbac-v1alpha1.json index 727ae4a3e4..131cfc97a7 100644 --- a/v1.12.3-standalone/clusterrole-rbac-v1alpha1.json +++ b/v1.12.3-standalone/clusterrole-rbac-v1alpha1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrole-rbac-v1beta1.json b/v1.12.3-standalone/clusterrole-rbac-v1beta1.json index bd1876df6a..ae098db6f8 100644 --- a/v1.12.3-standalone/clusterrole-rbac-v1beta1.json +++ b/v1.12.3-standalone/clusterrole-rbac-v1beta1.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -196,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -258,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -340,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -383,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrole.json b/v1.12.3-standalone/clusterrole.json index 4de83b0997..8c20fda2a1 100644 --- a/v1.12.3-standalone/clusterrole.json +++ b/v1.12.3-standalone/clusterrole.json @@ -57,7 +57,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +95,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +123,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +160,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -190,7 +202,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -252,7 +267,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -334,7 +352,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -377,11 +398,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebinding-rbac-v1.json b/v1.12.3-standalone/clusterrolebinding-rbac-v1.json index 746a0ed573..1d9d5ddd20 100644 --- a/v1.12.3-standalone/clusterrolebinding-rbac-v1.json +++ b/v1.12.3-standalone/clusterrolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebinding-rbac-v1alpha1.json b/v1.12.3-standalone/clusterrolebinding-rbac-v1alpha1.json index 4a1ae9ed57..d861fe0b13 100644 --- a/v1.12.3-standalone/clusterrolebinding-rbac-v1alpha1.json +++ b/v1.12.3-standalone/clusterrolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebinding-rbac-v1beta1.json b/v1.12.3-standalone/clusterrolebinding-rbac-v1beta1.json index 8db1094e35..99e0be5784 100644 --- a/v1.12.3-standalone/clusterrolebinding-rbac-v1beta1.json +++ b/v1.12.3-standalone/clusterrolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebinding.json b/v1.12.3-standalone/clusterrolebinding.json index 9844f673d2..e91003afe2 100644 --- a/v1.12.3-standalone/clusterrolebinding.json +++ b/v1.12.3-standalone/clusterrolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebindinglist-rbac-v1.json b/v1.12.3-standalone/clusterrolebindinglist-rbac-v1.json index c3e28592c6..9b571839ed 100644 --- a/v1.12.3-standalone/clusterrolebindinglist-rbac-v1.json +++ b/v1.12.3-standalone/clusterrolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebindinglist-rbac-v1alpha1.json b/v1.12.3-standalone/clusterrolebindinglist-rbac-v1alpha1.json index 5a6a73e17d..ff3328b2d8 100644 --- a/v1.12.3-standalone/clusterrolebindinglist-rbac-v1alpha1.json +++ b/v1.12.3-standalone/clusterrolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebindinglist-rbac-v1beta1.json b/v1.12.3-standalone/clusterrolebindinglist-rbac-v1beta1.json index a7f22fab12..4c17c2b7e2 100644 --- a/v1.12.3-standalone/clusterrolebindinglist-rbac-v1beta1.json +++ b/v1.12.3-standalone/clusterrolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolebindinglist.json b/v1.12.3-standalone/clusterrolebindinglist.json index 09ddb8cc0a..e7a2a85156 100644 --- a/v1.12.3-standalone/clusterrolebindinglist.json +++ b/v1.12.3-standalone/clusterrolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolelist-rbac-v1.json b/v1.12.3-standalone/clusterrolelist-rbac-v1.json index 5fb7f888ee..96e7f6f006 100644 --- a/v1.12.3-standalone/clusterrolelist-rbac-v1.json +++ b/v1.12.3-standalone/clusterrolelist-rbac-v1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -142,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -176,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -218,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -280,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolelist-rbac-v1alpha1.json b/v1.12.3-standalone/clusterrolelist-rbac-v1alpha1.json index d7c30e85ed..f575756a99 100644 --- a/v1.12.3-standalone/clusterrolelist-rbac-v1alpha1.json +++ b/v1.12.3-standalone/clusterrolelist-rbac-v1alpha1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -142,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -176,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -218,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -280,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolelist-rbac-v1beta1.json b/v1.12.3-standalone/clusterrolelist-rbac-v1beta1.json index bf6a16a839..f029527897 100644 --- a/v1.12.3-standalone/clusterrolelist-rbac-v1beta1.json +++ b/v1.12.3-standalone/clusterrolelist-rbac-v1beta1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -142,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -176,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -218,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -280,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -362,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -405,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/clusterrolelist.json b/v1.12.3-standalone/clusterrolelist.json index de08b2ba17..f29874c6f6 100644 --- a/v1.12.3-standalone/clusterrolelist.json +++ b/v1.12.3-standalone/clusterrolelist.json @@ -76,7 +76,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -111,7 +114,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -136,7 +142,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -170,7 +179,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -209,7 +221,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -271,7 +286,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -353,7 +371,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -396,11 +417,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/componentstatus-v1.json b/v1.12.3-standalone/componentstatus-v1.json index 7841a9c425..26e64ca270 100644 --- a/v1.12.3-standalone/componentstatus-v1.json +++ b/v1.12.3-standalone/componentstatus-v1.json @@ -66,7 +66,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -91,7 +94,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -125,7 +131,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -167,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -229,7 +241,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -311,7 +326,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -354,11 +372,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/componentstatus.json b/v1.12.3-standalone/componentstatus.json index 579cb80da7..29872a458f 100644 --- a/v1.12.3-standalone/componentstatus.json +++ b/v1.12.3-standalone/componentstatus.json @@ -63,7 +63,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +91,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -122,7 +128,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -161,7 +170,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -223,7 +235,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -305,7 +320,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -348,11 +366,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/componentstatuslist-v1.json b/v1.12.3-standalone/componentstatuslist-v1.json index e4514c881b..67a398032e 100644 --- a/v1.12.3-standalone/componentstatuslist-v1.json +++ b/v1.12.3-standalone/componentstatuslist-v1.json @@ -88,7 +88,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -113,7 +116,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -147,7 +153,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -189,7 +198,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -251,7 +263,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -333,7 +348,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -376,11 +394,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/componentstatuslist.json b/v1.12.3-standalone/componentstatuslist.json index 899a6619de..c20d9047d3 100644 --- a/v1.12.3-standalone/componentstatuslist.json +++ b/v1.12.3-standalone/componentstatuslist.json @@ -82,7 +82,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +110,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -141,7 +147,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -180,7 +189,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -242,7 +254,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -324,7 +339,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -367,11 +385,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/configmap-v1.json b/v1.12.3-standalone/configmap-v1.json index 1f2e9415b7..efe1743f12 100644 --- a/v1.12.3-standalone/configmap-v1.json +++ b/v1.12.3-standalone/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -47,7 +53,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +81,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +118,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +163,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/configmap.json b/v1.12.3-standalone/configmap.json index 7e0b0fc52d..dc6069d472 100644 --- a/v1.12.3-standalone/configmap.json +++ b/v1.12.3-standalone/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -44,7 +50,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +78,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -103,7 +115,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -142,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -204,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -286,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -329,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/configmapenvsource-v1.json b/v1.12.3-standalone/configmapenvsource-v1.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.3-standalone/configmapenvsource-v1.json +++ b/v1.12.3-standalone/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmapenvsource.json b/v1.12.3-standalone/configmapenvsource.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.3-standalone/configmapenvsource.json +++ b/v1.12.3-standalone/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmapkeyselector-v1.json b/v1.12.3-standalone/configmapkeyselector-v1.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.3-standalone/configmapkeyselector-v1.json +++ b/v1.12.3-standalone/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmapkeyselector.json b/v1.12.3-standalone/configmapkeyselector.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.3-standalone/configmapkeyselector.json +++ b/v1.12.3-standalone/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmaplist-v1.json b/v1.12.3-standalone/configmaplist-v1.json index e842474200..fe3a34ac56 100644 --- a/v1.12.3-standalone/configmaplist-v1.json +++ b/v1.12.3-standalone/configmaplist-v1.json @@ -35,7 +35,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -46,7 +49,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -69,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -94,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -128,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -170,7 +185,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -232,7 +250,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -314,7 +335,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -357,11 +381,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/configmaplist.json b/v1.12.3-standalone/configmaplist.json index cb5c712e5c..40617769ae 100644 --- a/v1.12.3-standalone/configmaplist.json +++ b/v1.12.3-standalone/configmaplist.json @@ -29,7 +29,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -40,7 +43,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -63,7 +69,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -88,7 +97,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -122,7 +134,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -161,7 +176,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -223,7 +241,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -305,7 +326,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -348,11 +372,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/configmapprojection-v1.json b/v1.12.3-standalone/configmapprojection-v1.json index 86571c0ec2..54452500d2 100644 --- a/v1.12.3-standalone/configmapprojection-v1.json +++ b/v1.12.3-standalone/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmapprojection.json b/v1.12.3-standalone/configmapprojection.json index 86571c0ec2..54452500d2 100644 --- a/v1.12.3-standalone/configmapprojection.json +++ b/v1.12.3-standalone/configmapprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmapvolumesource-v1.json b/v1.12.3-standalone/configmapvolumesource-v1.json index 4edf07126b..819fb059c7 100644 --- a/v1.12.3-standalone/configmapvolumesource-v1.json +++ b/v1.12.3-standalone/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -44,7 +50,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/configmapvolumesource.json b/v1.12.3-standalone/configmapvolumesource.json index 4edf07126b..819fb059c7 100644 --- a/v1.12.3-standalone/configmapvolumesource.json +++ b/v1.12.3-standalone/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -44,7 +50,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/container-v1.json b/v1.12.3-standalone/container-v1.json index e2962b113b..8e28e5d650 100644 --- a/v1.12.3-standalone/container-v1.json +++ b/v1.12.3-standalone/container-v1.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -120,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -149,7 +155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -181,7 +190,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -204,7 +216,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -302,7 +317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -337,7 +355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -419,7 +440,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +478,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -487,7 +514,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -543,7 +573,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -558,17 +591,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -593,7 +635,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -601,7 +646,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -639,7 +687,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -684,7 +735,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -740,7 +794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -755,17 +812,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -790,7 +856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -798,7 +867,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -808,7 +880,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -818,14 +893,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -835,7 +916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -847,7 +931,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -882,7 +969,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -893,20 +983,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -946,11 +1048,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -968,7 +1076,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1026,7 +1137,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone/container.json b/v1.12.3-standalone/container.json index e2962b113b..8e28e5d650 100644 --- a/v1.12.3-standalone/container.json +++ b/v1.12.3-standalone/container.json @@ -75,7 +75,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -120,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -149,7 +155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -181,7 +190,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -204,7 +216,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -302,7 +317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -337,7 +355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -419,7 +440,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +478,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -487,7 +514,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -543,7 +573,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -558,17 +591,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -593,7 +635,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -601,7 +646,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -639,7 +687,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -684,7 +735,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -740,7 +794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -755,17 +812,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -790,7 +856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -798,7 +867,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -808,7 +880,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -818,14 +893,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -835,7 +916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -847,7 +931,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -882,7 +969,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -893,20 +983,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -946,11 +1048,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -968,7 +1076,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1026,7 +1137,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone/containerimage-v1.json b/v1.12.3-standalone/containerimage-v1.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.3-standalone/containerimage-v1.json +++ b/v1.12.3-standalone/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/containerimage.json b/v1.12.3-standalone/containerimage.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.3-standalone/containerimage.json +++ b/v1.12.3-standalone/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/containerport-v1.json b/v1.12.3-standalone/containerport-v1.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.3-standalone/containerport-v1.json +++ b/v1.12.3-standalone/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3-standalone/containerport.json b/v1.12.3-standalone/containerport.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.3-standalone/containerport.json +++ b/v1.12.3-standalone/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3-standalone/containerstate-v1.json b/v1.12.3-standalone/containerstate-v1.json index 6596e76d4c..5df02c60da 100644 --- a/v1.12.3-standalone/containerstate-v1.json +++ b/v1.12.3-standalone/containerstate-v1.json @@ -56,7 +56,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/containerstate.json b/v1.12.3-standalone/containerstate.json index 6596e76d4c..5df02c60da 100644 --- a/v1.12.3-standalone/containerstate.json +++ b/v1.12.3-standalone/containerstate.json @@ -56,7 +56,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/containerstateterminated-v1.json b/v1.12.3-standalone/containerstateterminated-v1.json index 51b429409a..4c06a908f5 100644 --- a/v1.12.3-standalone/containerstateterminated-v1.json +++ b/v1.12.3-standalone/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/containerstateterminated.json b/v1.12.3-standalone/containerstateterminated.json index 51b429409a..4c06a908f5 100644 --- a/v1.12.3-standalone/containerstateterminated.json +++ b/v1.12.3-standalone/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -40,7 +43,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/containerstatus-v1.json b/v1.12.3-standalone/containerstatus-v1.json index e78270b994..e488be5934 100644 --- a/v1.12.3-standalone/containerstatus-v1.json +++ b/v1.12.3-standalone/containerstatus-v1.json @@ -87,7 +87,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -130,11 +133,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -195,7 +204,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/containerstatus.json b/v1.12.3-standalone/containerstatus.json index e78270b994..e488be5934 100644 --- a/v1.12.3-standalone/containerstatus.json +++ b/v1.12.3-standalone/containerstatus.json @@ -87,7 +87,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -130,11 +133,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { @@ -195,7 +204,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/controllerrevision-apps-v1.json b/v1.12.3-standalone/controllerrevision-apps-v1.json index 340f0220fd..fe93b1e277 100644 --- a/v1.12.3-standalone/controllerrevision-apps-v1.json +++ b/v1.12.3-standalone/controllerrevision-apps-v1.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/controllerrevision-apps-v1beta1.json b/v1.12.3-standalone/controllerrevision-apps-v1beta1.json index 6fce01d059..4a3b16bd21 100644 --- a/v1.12.3-standalone/controllerrevision-apps-v1beta1.json +++ b/v1.12.3-standalone/controllerrevision-apps-v1beta1.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/controllerrevision-apps-v1beta2.json b/v1.12.3-standalone/controllerrevision-apps-v1beta2.json index 12e7d56191..b3b223ae30 100644 --- a/v1.12.3-standalone/controllerrevision-apps-v1beta2.json +++ b/v1.12.3-standalone/controllerrevision-apps-v1beta2.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/controllerrevision.json b/v1.12.3-standalone/controllerrevision.json index f9d87cb382..fb5f6944f9 100644 --- a/v1.12.3-standalone/controllerrevision.json +++ b/v1.12.3-standalone/controllerrevision.json @@ -39,7 +39,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -64,7 +67,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -98,7 +104,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -137,7 +146,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -199,7 +211,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -281,7 +296,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -324,11 +342,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -372,7 +396,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/controllerrevisionlist-apps-v1.json b/v1.12.3-standalone/controllerrevisionlist-apps-v1.json index 580b8975f3..966be223b7 100644 --- a/v1.12.3-standalone/controllerrevisionlist-apps-v1.json +++ b/v1.12.3-standalone/controllerrevisionlist-apps-v1.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +174,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -309,7 +324,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -352,11 +370,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/controllerrevisionlist-apps-v1beta1.json b/v1.12.3-standalone/controllerrevisionlist-apps-v1beta1.json index 1f8455bad0..b9b4e0d4a5 100644 --- a/v1.12.3-standalone/controllerrevisionlist-apps-v1beta1.json +++ b/v1.12.3-standalone/controllerrevisionlist-apps-v1beta1.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +174,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -309,7 +324,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -352,11 +370,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/controllerrevisionlist-apps-v1beta2.json b/v1.12.3-standalone/controllerrevisionlist-apps-v1beta2.json index 2c1b29e176..7a204bfa7f 100644 --- a/v1.12.3-standalone/controllerrevisionlist-apps-v1beta2.json +++ b/v1.12.3-standalone/controllerrevisionlist-apps-v1beta2.json @@ -64,7 +64,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -89,7 +92,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -123,7 +129,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -165,7 +174,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -227,7 +239,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -309,7 +324,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -352,11 +370,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/controllerrevisionlist.json b/v1.12.3-standalone/controllerrevisionlist.json index e086b25e1b..8d34060ff1 100644 --- a/v1.12.3-standalone/controllerrevisionlist.json +++ b/v1.12.3-standalone/controllerrevisionlist.json @@ -58,7 +58,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -83,7 +86,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -117,7 +123,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -156,7 +165,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -218,7 +230,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -300,7 +315,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -343,11 +361,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/cronjob-batch-v1beta1.json b/v1.12.3-standalone/cronjob-batch-v1beta1.json index 8ec42ac340..2ce7d940b8 100644 --- a/v1.12.3-standalone/cronjob-batch-v1beta1.json +++ b/v1.12.3-standalone/cronjob-batch-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -387,7 +414,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -412,7 +442,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -446,7 +479,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -550,7 +589,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -632,7 +674,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -675,11 +720,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -729,26 +780,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -795,7 +861,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -813,7 +882,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -838,7 +910,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -872,7 +947,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -914,7 +992,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -976,7 +1057,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1058,7 +1142,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,11 +1188,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1155,7 +1248,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1423,7 +1519,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1516,7 +1615,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1614,7 +1716,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1707,7 +1812,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1743,7 +1851,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1825,7 +1936,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1870,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1899,7 +2016,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1931,7 +2051,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1954,7 +2077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2052,7 +2178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2087,7 +2216,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2169,7 +2301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,7 +2339,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2375,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2293,7 +2434,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2308,17 +2452,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2343,7 +2496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2351,7 +2507,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2386,7 +2545,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2431,7 +2593,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2487,7 +2652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2502,17 +2670,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2537,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2545,7 +2725,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2555,7 +2738,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2565,14 +2751,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2582,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2594,7 +2789,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2629,7 +2827,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2640,20 +2841,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2693,11 +2906,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2715,7 +2934,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2773,7 +2995,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2898,15 +3123,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3019,7 +3253,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3064,7 +3301,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3093,9 +3333,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3125,7 +3368,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3148,7 +3394,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3246,7 +3495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3281,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3363,7 +3618,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3398,7 +3656,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3692,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3487,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3502,17 +3769,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3537,7 +3813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3545,7 +3824,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3580,7 +3862,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3625,7 +3910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3681,7 +3969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3696,17 +3987,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3731,7 +4031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3739,7 +4042,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3749,7 +4055,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3759,14 +4068,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3776,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3788,7 +4106,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3823,7 +4144,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3834,20 +4158,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3887,11 +4223,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3909,7 +4251,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3967,7 +4312,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4002,7 +4350,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4012,7 +4363,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4067,21 +4421,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4124,7 +4490,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4170,7 +4539,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4181,7 +4553,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4216,7 +4591,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4256,12 +4634,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4307,7 +4691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4320,7 +4707,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4357,7 +4747,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4402,7 +4795,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4427,7 +4823,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4449,7 +4848,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4468,7 +4870,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4477,7 +4882,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4513,7 +4921,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4542,7 +4953,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4576,7 +4990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4594,12 +5011,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4648,7 +5071,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4658,7 +5084,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4708,7 +5137,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4717,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4764,7 +5199,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4797,11 +5235,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4848,7 +5292,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5332,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4905,7 +5355,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4943,7 +5396,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4959,7 +5415,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4990,7 +5449,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5009,7 +5471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5049,7 +5514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5078,7 +5546,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5115,7 +5586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5134,7 +5608,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5153,7 +5630,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5183,7 +5663,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5246,7 +5729,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5783,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5313,7 +5802,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5347,7 +5839,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5369,7 +5864,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5381,7 +5879,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5404,7 +5905,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5478,7 +5982,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5491,17 +5998,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.3-standalone/cronjob-batch-v2alpha1.json b/v1.12.3-standalone/cronjob-batch-v2alpha1.json index 56c2692f41..cba53958a4 100644 --- a/v1.12.3-standalone/cronjob-batch-v2alpha1.json +++ b/v1.12.3-standalone/cronjob-batch-v2alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +400,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -387,7 +414,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -412,7 +442,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -446,7 +479,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -488,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -550,7 +589,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -632,7 +674,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -675,11 +720,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -729,26 +780,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -795,7 +861,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -813,7 +882,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -838,7 +910,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -872,7 +947,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -914,7 +992,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -976,7 +1057,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1058,7 +1142,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1101,11 +1188,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1155,7 +1248,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1423,7 +1519,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1516,7 +1615,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1614,7 +1716,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1707,7 +1812,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1743,7 +1851,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1825,7 +1936,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1870,7 +1984,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1899,7 +2016,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1931,7 +2051,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1954,7 +2077,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2052,7 +2178,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2087,7 +2216,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2169,7 +2301,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,7 +2339,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2375,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2293,7 +2434,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2308,17 +2452,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2343,7 +2496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2351,7 +2507,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2386,7 +2545,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2431,7 +2593,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2487,7 +2652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2502,17 +2670,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2537,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2545,7 +2725,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2555,7 +2738,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2565,14 +2751,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2582,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2594,7 +2789,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2629,7 +2827,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2640,20 +2841,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2693,11 +2906,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2715,7 +2934,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2773,7 +2995,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2898,15 +3123,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3019,7 +3253,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3064,7 +3301,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3093,9 +3333,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3125,7 +3368,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3148,7 +3394,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3246,7 +3495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3281,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3363,7 +3618,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3398,7 +3656,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3692,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3487,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3502,17 +3769,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3537,7 +3813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3545,7 +3824,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3580,7 +3862,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3625,7 +3910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3681,7 +3969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3696,17 +3987,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3731,7 +4031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3739,7 +4042,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3749,7 +4055,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3759,14 +4068,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3776,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3788,7 +4106,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3823,7 +4144,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3834,20 +4158,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3887,11 +4223,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3909,7 +4251,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3967,7 +4312,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4002,7 +4350,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4012,7 +4363,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4067,21 +4421,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4124,7 +4490,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4170,7 +4539,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4181,7 +4553,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4216,7 +4591,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4256,12 +4634,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4307,7 +4691,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4320,7 +4707,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4357,7 +4747,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4402,7 +4795,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4427,7 +4823,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4449,7 +4848,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4468,7 +4870,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4477,7 +4882,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4513,7 +4921,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4542,7 +4953,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4576,7 +4990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4594,12 +5011,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4648,7 +5071,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4658,7 +5084,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4708,7 +5137,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4717,7 +5149,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4764,7 +5199,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4797,11 +5235,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4848,7 +5292,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5332,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4905,7 +5355,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4943,7 +5396,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4959,7 +5415,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4990,7 +5449,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5009,7 +5471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5049,7 +5514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5078,7 +5546,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5115,7 +5586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5134,7 +5608,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5153,7 +5630,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5183,7 +5663,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5246,7 +5729,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5297,7 +5783,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5313,7 +5802,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5347,7 +5839,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5369,7 +5864,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5381,7 +5879,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5404,7 +5905,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5478,7 +5982,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5491,17 +5998,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.3-standalone/cronjob.json b/v1.12.3-standalone/cronjob.json index b62d79fa5a..8d2f3914d4 100644 --- a/v1.12.3-standalone/cronjob.json +++ b/v1.12.3-standalone/cronjob.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +394,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -381,7 +408,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,7 +436,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -440,7 +473,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -479,7 +515,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -541,7 +580,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -623,7 +665,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -666,11 +711,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -720,26 +771,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -786,7 +852,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +873,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -829,7 +901,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -863,7 +938,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -902,7 +980,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -964,7 +1045,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1046,7 +1130,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1089,11 +1176,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1143,7 +1236,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1411,7 +1507,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1504,7 +1603,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1602,7 +1704,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1695,7 +1800,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1731,7 +1839,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1813,7 +1924,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1858,7 +1972,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1887,7 +2004,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1919,7 +2039,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1942,7 +2065,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2040,7 +2166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2075,7 +2204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2157,7 +2289,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2192,7 +2327,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2225,7 +2363,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2281,7 +2422,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2296,17 +2440,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2331,7 +2484,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2339,7 +2495,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2374,7 +2533,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2419,7 +2581,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2475,7 +2640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2490,17 +2658,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2525,7 +2702,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2533,7 +2713,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2543,7 +2726,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2553,14 +2739,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2570,7 +2762,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2582,7 +2777,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2617,7 +2815,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2628,20 +2829,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2681,11 +2894,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2703,7 +2922,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2761,7 +2983,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2886,15 +3111,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3007,7 +3241,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3052,7 +3289,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3081,9 +3321,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3113,7 +3356,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3136,7 +3382,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3234,7 +3483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3269,7 +3521,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3351,7 +3606,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3386,7 +3644,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3419,7 +3680,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3475,7 +3739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3490,17 +3757,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3525,7 +3801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3533,7 +3812,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3568,7 +3850,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3613,7 +3898,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3669,7 +3957,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3684,17 +3975,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3719,7 +4019,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3727,7 +4030,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3737,7 +4043,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3747,14 +4056,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3764,7 +4079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3776,7 +4094,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3811,7 +4132,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3822,20 +4146,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3875,11 +4211,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3897,7 +4239,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3955,7 +4300,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3990,7 +4338,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4000,7 +4351,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4055,21 +4409,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4112,7 +4478,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4158,7 +4527,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4169,7 +4541,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4204,7 +4579,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4244,12 +4622,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4295,7 +4679,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4308,7 +4695,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4345,7 +4735,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4390,7 +4783,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4415,7 +4811,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4437,7 +4836,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4456,7 +4858,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4465,7 +4870,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4501,7 +4909,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4530,7 +4941,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4564,7 +4978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4582,12 +4999,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4636,7 +5059,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4646,7 +5072,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4696,7 +5125,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4705,7 +5137,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4752,7 +5187,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4785,11 +5223,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4836,7 +5280,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4873,7 +5320,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4893,7 +5343,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4931,7 +5384,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4947,7 +5403,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4978,7 +5437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4997,7 +5459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5037,7 +5502,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5066,7 +5534,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5103,7 +5574,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5122,7 +5596,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5141,7 +5618,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5171,7 +5651,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5234,7 +5717,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5285,7 +5771,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5301,7 +5790,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5335,7 +5827,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5357,7 +5852,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5369,7 +5867,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5392,7 +5893,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5466,7 +5970,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5479,17 +5986,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.3-standalone/cronjoblist-batch-v1beta1.json b/v1.12.3-standalone/cronjoblist-batch-v1beta1.json index df308b426b..eaf9a67d3d 100644 --- a/v1.12.3-standalone/cronjoblist-batch-v1beta1.json +++ b/v1.12.3-standalone/cronjoblist-batch-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -409,7 +436,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +464,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -468,7 +501,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -510,7 +546,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -572,7 +611,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -654,7 +696,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -697,11 +742,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -751,26 +802,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -817,7 +883,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -835,7 +904,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -860,7 +932,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -894,7 +969,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -936,7 +1014,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -998,7 +1079,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1080,7 +1164,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1123,11 +1210,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1177,7 +1270,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1445,7 +1541,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1538,7 +1637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1636,7 +1738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1729,7 +1834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1765,7 +1873,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1847,7 +1958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1892,7 +2006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1921,7 +2038,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1953,7 +2073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1976,7 +2099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2074,7 +2200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2109,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2191,7 +2323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2226,7 +2361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2397,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2315,7 +2456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2330,17 +2474,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2365,7 +2518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2373,7 +2529,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2408,7 +2567,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2453,7 +2615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2509,7 +2674,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2524,17 +2692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2559,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2567,7 +2747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2577,7 +2760,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2587,14 +2773,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2604,7 +2796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2616,7 +2811,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2651,7 +2849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2662,20 +2863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2715,11 +2928,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2737,7 +2956,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2795,7 +3017,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2920,15 +3145,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3041,7 +3275,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3086,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3115,9 +3355,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3147,7 +3390,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3170,7 +3416,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3268,7 +3517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3303,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3385,7 +3640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3420,7 +3678,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3714,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3509,7 +3773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3524,17 +3791,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3559,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3567,7 +3846,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3602,7 +3884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3647,7 +3932,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3703,7 +3991,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3718,17 +4009,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3753,7 +4053,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3761,7 +4064,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3771,7 +4077,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3781,14 +4090,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3798,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3810,7 +4128,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3845,7 +4166,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3856,20 +4180,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,11 +4245,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3931,7 +4273,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3989,7 +4334,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4024,7 +4372,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4034,7 +4385,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4089,21 +4443,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4146,7 +4512,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4192,7 +4561,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4203,7 +4575,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4238,7 +4613,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4278,12 +4656,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4329,7 +4713,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4342,7 +4729,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4379,7 +4769,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4424,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4449,7 +4845,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4471,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4892,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4499,7 +4904,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4535,7 +4943,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4598,7 +5012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4616,12 +5033,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4670,7 +5093,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4680,7 +5106,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4730,7 +5159,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4739,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4786,7 +5221,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4819,11 +5257,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4870,7 +5314,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4907,7 +5354,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4927,7 +5377,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4965,7 +5418,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4981,7 +5437,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5012,7 +5471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5031,7 +5493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5071,7 +5536,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5100,7 +5568,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5137,7 +5608,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5156,7 +5630,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5175,7 +5652,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5205,7 +5685,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5268,7 +5751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5319,7 +5805,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5335,7 +5824,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5369,7 +5861,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5391,7 +5886,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5403,7 +5901,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5426,7 +5927,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5500,7 +6004,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5513,17 +6020,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.3-standalone/cronjoblist-batch-v2alpha1.json b/v1.12.3-standalone/cronjoblist-batch-v2alpha1.json index 13007bfb6b..3d8560ec21 100644 --- a/v1.12.3-standalone/cronjoblist-batch-v2alpha1.json +++ b/v1.12.3-standalone/cronjoblist-batch-v2alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,7 +422,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -409,7 +436,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +464,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -468,7 +501,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -510,7 +546,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -572,7 +611,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -654,7 +696,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -697,11 +742,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -751,26 +802,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -817,7 +883,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -835,7 +904,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -860,7 +932,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -894,7 +969,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -936,7 +1014,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -998,7 +1079,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1080,7 +1164,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1123,11 +1210,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1177,7 +1270,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1445,7 +1541,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1538,7 +1637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1636,7 +1738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1729,7 +1834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1765,7 +1873,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1847,7 +1958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1892,7 +2006,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1921,7 +2038,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1953,7 +2073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1976,7 +2099,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2074,7 +2200,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2109,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2191,7 +2323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2226,7 +2361,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2397,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2315,7 +2456,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2330,17 +2474,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2365,7 +2518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2373,7 +2529,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2408,7 +2567,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2453,7 +2615,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2509,7 +2674,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2524,17 +2692,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2559,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2567,7 +2747,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2577,7 +2760,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2587,14 +2773,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2604,7 +2796,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2616,7 +2811,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2651,7 +2849,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2662,20 +2863,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2715,11 +2928,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2737,7 +2956,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2795,7 +3017,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2920,15 +3145,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3041,7 +3275,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3086,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3115,9 +3355,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3147,7 +3390,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3170,7 +3416,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3268,7 +3517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3303,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3385,7 +3640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3420,7 +3678,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3714,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3509,7 +3773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3524,17 +3791,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3559,7 +3835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3567,7 +3846,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3602,7 +3884,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3647,7 +3932,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3703,7 +3991,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3718,17 +4009,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3753,7 +4053,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3761,7 +4064,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3771,7 +4077,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3781,14 +4090,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3798,7 +4113,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3810,7 +4128,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3845,7 +4166,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3856,20 +4180,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3909,11 +4245,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3931,7 +4273,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3989,7 +4334,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4024,7 +4372,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4034,7 +4385,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4089,21 +4443,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4146,7 +4512,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4192,7 +4561,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4203,7 +4575,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4238,7 +4613,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4278,12 +4656,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4329,7 +4713,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4342,7 +4729,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4379,7 +4769,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4424,7 +4817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4449,7 +4845,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4471,7 +4870,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4490,7 +4892,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4499,7 +4904,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4535,7 +4943,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4598,7 +5012,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4616,12 +5033,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4670,7 +5093,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4680,7 +5106,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4730,7 +5159,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4739,7 +5171,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4786,7 +5221,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4819,11 +5257,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4870,7 +5314,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4907,7 +5354,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4927,7 +5377,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4965,7 +5418,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4981,7 +5437,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -5012,7 +5471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5031,7 +5493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5071,7 +5536,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5100,7 +5568,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5137,7 +5608,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5156,7 +5630,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5175,7 +5652,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5205,7 +5685,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5268,7 +5751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5319,7 +5805,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5335,7 +5824,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5369,7 +5861,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5391,7 +5886,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5403,7 +5901,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5426,7 +5927,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5500,7 +6004,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5513,17 +6020,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.3-standalone/cronjoblist.json b/v1.12.3-standalone/cronjoblist.json index c625e41229..6b9e987577 100644 --- a/v1.12.3-standalone/cronjoblist.json +++ b/v1.12.3-standalone/cronjoblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,7 +413,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -400,7 +427,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -425,7 +455,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -459,7 +492,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -498,7 +534,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -560,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -642,7 +684,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -685,11 +730,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -739,26 +790,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -805,7 +871,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -823,7 +892,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -848,7 +920,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -882,7 +957,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -921,7 +999,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -983,7 +1064,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -1065,7 +1149,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1108,11 +1195,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -1162,7 +1255,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1430,7 +1526,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1523,7 +1622,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1621,7 +1723,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1714,7 +1819,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1750,7 +1858,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1832,7 +1943,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1877,7 +1991,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1906,7 +2023,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1938,7 +2058,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1961,7 +2084,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2059,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2094,7 +2223,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2176,7 +2308,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2211,7 +2346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2244,7 +2382,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2300,7 +2441,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2315,17 +2459,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2350,7 +2503,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2358,7 +2514,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2393,7 +2552,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2438,7 +2600,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2494,7 +2659,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2509,17 +2677,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2544,7 +2721,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2552,7 +2732,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2562,7 +2745,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2572,14 +2758,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2589,7 +2781,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2601,7 +2796,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2636,7 +2834,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2647,20 +2848,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2700,11 +2913,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2722,7 +2941,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2780,7 +3002,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2905,15 +3130,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -3026,7 +3260,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3071,7 +3308,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3100,9 +3340,12 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" - } - } + "type": [ + "boolean", + "null" + ] + } + } } } } @@ -3132,7 +3375,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3155,7 +3401,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -3253,7 +3502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3288,7 +3540,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3370,7 +3625,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3405,7 +3663,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3438,7 +3699,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3494,7 +3758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3509,17 +3776,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3544,7 +3820,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3552,7 +3831,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3587,7 +3869,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3632,7 +3917,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3688,7 +3976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3703,17 +3994,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3738,7 +4038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3746,7 +4049,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3756,7 +4062,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3766,14 +4075,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3783,7 +4098,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3795,7 +4113,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3830,7 +4151,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3841,20 +4165,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3894,11 +4230,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3916,7 +4258,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3974,7 +4319,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -4009,7 +4357,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4019,7 +4370,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -4074,21 +4428,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -4131,7 +4497,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -4177,7 +4546,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -4188,7 +4560,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -4223,7 +4598,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -4263,12 +4641,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4314,7 +4698,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4327,7 +4714,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4364,7 +4754,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4409,7 +4802,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4434,7 +4830,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4456,7 +4855,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4475,7 +4877,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4484,7 +4889,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4520,7 +4928,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4549,7 +4960,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4583,7 +4997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4601,12 +5018,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4655,7 +5078,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4665,7 +5091,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4715,7 +5144,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4724,7 +5156,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4771,7 +5206,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4804,11 +5242,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4855,7 +5299,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4892,7 +5339,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4912,7 +5362,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4950,7 +5403,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4966,7 +5422,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4997,7 +5456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5016,7 +5478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5056,7 +5521,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5085,7 +5553,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -5122,7 +5593,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5141,7 +5615,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -5160,7 +5637,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -5190,7 +5670,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -5253,7 +5736,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5304,7 +5790,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5320,7 +5809,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5354,7 +5846,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5376,7 +5871,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5388,7 +5886,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5411,7 +5912,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5485,7 +5989,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5498,17 +6005,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, diff --git a/v1.12.3-standalone/cronjobspec-batch-v1beta1.json b/v1.12.3-standalone/cronjobspec-batch-v1beta1.json index ebcdb34621..d932f95d9e 100644 --- a/v1.12.3-standalone/cronjobspec-batch-v1beta1.json +++ b/v1.12.3-standalone/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -126,7 +138,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -270,7 +288,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -313,11 +334,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,26 +394,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -433,7 +475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +496,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +524,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +561,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +606,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +756,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +802,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +862,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1229,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1330,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1426,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1465,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1665,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1691,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1830,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1989,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2066,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2121,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2159,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2207,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2266,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2284,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2339,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2352,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2365,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2441,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2455,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2520,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2548,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2609,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2737,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2867,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2947,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2982,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3109,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3270,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,9 +3365,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3140,17 +3383,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3427,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3438,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3476,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3524,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3583,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3601,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3656,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3669,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3682,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3720,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3758,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3772,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3837,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3865,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3926,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3964,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3977,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4035,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4104,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4153,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4167,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4205,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4248,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4305,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4321,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4361,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4437,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4462,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4484,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4496,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4535,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4567,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4604,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4625,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4685,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4698,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4751,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4763,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4813,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4849,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4946,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4969,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +5010,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5029,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5063,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5085,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5128,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5200,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5222,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5244,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5277,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5343,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5397,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5416,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5453,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5478,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5493,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5519,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5596,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5132,17 +5615,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/cronjobspec-batch-v2alpha1.json b/v1.12.3-standalone/cronjobspec-batch-v2alpha1.json index 13ec01e785..3cfffee7ea 100644 --- a/v1.12.3-standalone/cronjobspec-batch-v2alpha1.json +++ b/v1.12.3-standalone/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -126,7 +138,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -188,7 +203,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -270,7 +288,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -313,11 +334,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,26 +394,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -433,7 +475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +496,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +524,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +561,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +606,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +671,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +756,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +802,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +862,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1229,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1330,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1426,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1465,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1550,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1630,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1665,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1691,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1830,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1915,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1953,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1989,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2066,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2121,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2159,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2207,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2266,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2284,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2339,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2352,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2365,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2403,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2441,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2455,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2520,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2548,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2609,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2737,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2867,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2915,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2947,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2982,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +3008,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3109,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3147,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3270,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3306,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,9 +3365,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3140,17 +3383,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3427,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3438,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3476,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3524,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3583,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3601,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3645,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3656,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3669,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3682,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3720,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3758,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3772,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3837,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3865,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3926,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3964,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3977,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4035,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4104,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4153,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4167,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4205,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4248,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4305,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4321,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4361,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4437,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4462,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4484,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4496,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4535,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4567,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4604,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4625,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4685,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4698,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4751,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4763,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4813,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4849,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4906,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4946,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4969,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +5010,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5029,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5063,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5085,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5128,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5160,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5200,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5222,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5244,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5277,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5343,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5397,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5416,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5453,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5478,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5493,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5519,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5116,7 +5596,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5132,17 +5615,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/cronjobspec.json b/v1.12.3-standalone/cronjobspec.json index b65ad33194..ce88c9d504 100644 --- a/v1.12.3-standalone/cronjobspec.json +++ b/v1.12.3-standalone/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -25,7 +28,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -50,7 +56,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -84,7 +93,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -123,7 +135,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -185,7 +200,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -267,7 +285,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -310,11 +331,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -364,26 +391,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -546,7 +600,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -608,7 +665,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -690,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -733,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -787,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1055,7 +1127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1148,7 +1223,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1246,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1339,7 +1420,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1375,7 +1459,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1457,7 +1544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1502,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1531,7 +1624,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1563,7 +1659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1586,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1684,7 +1786,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1719,7 +1824,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1801,7 +1909,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1836,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1869,7 +1983,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1925,7 +2042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1940,17 +2060,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1975,7 +2104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1983,7 +2115,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2018,7 +2153,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2063,7 +2201,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2119,7 +2260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2134,17 +2278,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2169,7 +2322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2177,7 +2333,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2187,7 +2346,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2197,14 +2359,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2214,7 +2382,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2226,7 +2397,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2261,7 +2435,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2272,20 +2449,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2325,11 +2514,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2347,7 +2542,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2405,7 +2603,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2530,15 +2731,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2651,7 +2861,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2696,7 +2909,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2725,7 +2941,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2757,7 +2976,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2780,7 +3002,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2878,7 +3103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2913,7 +3141,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2995,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3030,7 +3264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3063,7 +3300,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3119,9 +3359,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", @@ -3134,17 +3377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3169,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3432,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3212,7 +3470,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3257,7 +3518,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3313,7 +3577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3595,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3371,7 +3650,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3381,7 +3663,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3391,14 +3676,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3408,7 +3699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3420,7 +3714,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3455,7 +3752,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3466,20 +3766,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3519,11 +3831,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3541,7 +3859,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3599,7 +3920,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3634,7 +3958,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3644,7 +3971,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3699,21 +4029,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3756,7 +4098,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3802,7 +4147,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3813,7 +4161,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3848,7 +4199,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3888,12 +4242,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3939,7 +4299,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3952,7 +4315,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3989,7 +4355,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4034,7 +4403,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4059,7 +4431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4081,7 +4456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4100,7 +4478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4109,7 +4490,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4145,7 +4529,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4174,7 +4561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4208,7 +4598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4226,12 +4619,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4280,7 +4679,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4290,7 +4692,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4340,7 +4745,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4349,7 +4757,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4396,7 +4807,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4429,11 +4843,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4480,7 +4900,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4517,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4537,7 +4963,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4575,7 +5004,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4591,7 +5023,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4622,7 +5057,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5079,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4681,7 +5122,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4710,7 +5154,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4747,7 +5194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4766,7 +5216,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4785,7 +5238,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4815,7 +5271,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4878,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4929,7 +5391,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5410,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4979,7 +5447,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5001,7 +5472,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5013,7 +5487,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5036,7 +5513,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5110,7 +5590,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5126,17 +5609,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/csipersistentvolumesource-v1.json b/v1.12.3-standalone/csipersistentvolumesource-v1.json index f30eac0567..c6105d067a 100644 --- a/v1.12.3-standalone/csipersistentvolumesource-v1.json +++ b/v1.12.3-standalone/csipersistentvolumesource-v1.json @@ -78,11 +78,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/csipersistentvolumesource.json b/v1.12.3-standalone/csipersistentvolumesource.json index f30eac0567..c6105d067a 100644 --- a/v1.12.3-standalone/csipersistentvolumesource.json +++ b/v1.12.3-standalone/csipersistentvolumesource.json @@ -78,11 +78,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.3-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.3-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.3-standalone/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3-standalone/customresourcecolumndefinition.json b/v1.12.3-standalone/customresourcecolumndefinition.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.3-standalone/customresourcecolumndefinition.json +++ b/v1.12.3-standalone/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.3-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json index 374ed744c6..a89101639e 100644 --- a/v1.12.3-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.3-standalone/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/customresourcedefinitionversion.json b/v1.12.3-standalone/customresourcedefinitionversion.json index 374ed744c6..a89101639e 100644 --- a/v1.12.3-standalone/customresourcedefinitionversion.json +++ b/v1.12.3-standalone/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/daemonendpoint-v1.json b/v1.12.3-standalone/daemonendpoint-v1.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.3-standalone/daemonendpoint-v1.json +++ b/v1.12.3-standalone/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/daemonendpoint.json b/v1.12.3-standalone/daemonendpoint.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.3-standalone/daemonendpoint.json +++ b/v1.12.3-standalone/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/daemonset-apps-v1.json b/v1.12.3-standalone/daemonset-apps-v1.json index 145d8140b7..1571c78096 100644 --- a/v1.12.3-standalone/daemonset-apps-v1.json +++ b/v1.12.3-standalone/daemonset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,12 +393,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -421,7 +451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +472,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +500,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +537,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -540,7 +582,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -602,7 +647,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -684,7 +732,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,11 +778,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -781,7 +838,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1049,7 +1109,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1142,7 +1205,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1240,7 +1306,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1333,7 +1402,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1369,7 +1441,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1451,7 +1526,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1496,7 +1574,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1525,7 +1606,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1557,7 +1641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1580,7 +1667,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1678,7 +1768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1713,7 +1806,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1795,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,7 +1929,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1863,7 +1965,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1919,7 +2024,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1934,17 +2042,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1969,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1977,7 +2097,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2012,7 +2135,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2057,7 +2183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2113,7 +2242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2128,17 +2260,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2163,7 +2304,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2171,7 +2315,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2181,7 +2328,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2191,14 +2341,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2208,7 +2364,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2220,7 +2379,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2255,7 +2417,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2266,20 +2431,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2319,11 +2496,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2341,7 +2524,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2399,7 +2585,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2524,15 +2713,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2645,7 +2843,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2690,7 +2891,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2719,7 +2923,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2751,7 +2958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2774,7 +2984,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2872,7 +3085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2907,7 +3123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2989,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3024,7 +3246,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3057,7 +3282,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3113,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3128,17 +3359,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3163,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3171,7 +3414,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3206,7 +3452,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3251,7 +3500,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3307,7 +3559,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3322,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3357,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3365,7 +3632,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3375,7 +3645,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3385,14 +3658,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3402,7 +3681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3414,7 +3696,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3449,7 +3734,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3460,20 +3748,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3513,11 +3813,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3535,7 +3841,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3593,7 +3902,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3628,7 +3940,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3953,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3693,21 +4011,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3750,7 +4080,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3796,7 +4129,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3807,7 +4143,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3842,7 +4181,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3882,12 +4224,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3933,7 +4281,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3946,7 +4297,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3983,7 +4337,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4028,7 +4385,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4053,7 +4413,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4075,7 +4438,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4094,7 +4460,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4103,7 +4472,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4139,7 +4511,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4168,7 +4543,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4202,7 +4580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4220,12 +4601,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4274,7 +4661,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4284,7 +4674,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4334,7 +4727,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4343,7 +4739,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4390,7 +4789,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,11 +4825,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4474,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4511,7 +4922,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4531,7 +4945,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4569,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4585,7 +5005,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4616,7 +5039,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5061,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4675,7 +5104,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4704,7 +5136,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4741,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4760,7 +5198,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4779,7 +5220,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4809,7 +5253,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4872,7 +5319,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4923,7 +5373,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4939,7 +5392,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4973,7 +5429,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4995,7 +5454,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5007,7 +5469,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5030,7 +5495,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5585,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5145,7 +5616,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5208,7 +5682,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5223,17 +5700,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonset-apps-v1beta2.json b/v1.12.3-standalone/daemonset-apps-v1beta2.json index 4c97bc3e0e..1b88187ca1 100644 --- a/v1.12.3-standalone/daemonset-apps-v1beta2.json +++ b/v1.12.3-standalone/daemonset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,12 +393,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -421,7 +451,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -439,7 +472,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -464,7 +500,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -498,7 +537,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -540,7 +582,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -602,7 +647,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -684,7 +732,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,11 +778,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -781,7 +838,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1049,7 +1109,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1142,7 +1205,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1240,7 +1306,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1333,7 +1402,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1369,7 +1441,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1451,7 +1526,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1496,7 +1574,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1525,7 +1606,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1557,7 +1641,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1580,7 +1667,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1678,7 +1768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1713,7 +1806,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1795,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1830,7 +1929,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1863,7 +1965,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1919,7 +2024,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1934,17 +2042,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1969,7 +2086,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1977,7 +2097,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2012,7 +2135,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2057,7 +2183,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2113,7 +2242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2128,17 +2260,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2163,7 +2304,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2171,7 +2315,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2181,7 +2328,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2191,14 +2341,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2208,7 +2364,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2220,7 +2379,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2255,7 +2417,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2266,20 +2431,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2319,11 +2496,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2341,7 +2524,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2399,7 +2585,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2524,15 +2713,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2645,7 +2843,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2690,7 +2891,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2719,7 +2923,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2751,7 +2958,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2774,7 +2984,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2872,7 +3085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2907,7 +3123,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2989,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3024,7 +3246,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3057,7 +3282,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3113,7 +3341,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3128,17 +3359,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3163,7 +3403,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3171,7 +3414,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3206,7 +3452,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3251,7 +3500,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3307,7 +3559,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3322,17 +3577,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3357,7 +3621,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3365,7 +3632,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3375,7 +3645,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3385,14 +3658,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3402,7 +3681,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3414,7 +3696,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3449,7 +3734,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3460,20 +3748,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3513,11 +3813,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3535,7 +3841,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3593,7 +3902,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3628,7 +3940,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3638,7 +3953,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3693,21 +4011,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3750,7 +4080,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3796,7 +4129,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3807,7 +4143,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3842,7 +4181,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3882,12 +4224,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3933,7 +4281,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3946,7 +4297,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3983,7 +4337,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4028,7 +4385,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4053,7 +4413,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4075,7 +4438,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4094,7 +4460,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4103,7 +4472,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4139,7 +4511,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4168,7 +4543,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4202,7 +4580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4220,12 +4601,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4274,7 +4661,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4284,7 +4674,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4334,7 +4727,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4343,7 +4739,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4390,7 +4789,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,11 +4825,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4474,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4511,7 +4922,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4531,7 +4945,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4569,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4585,7 +5005,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4616,7 +5039,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4635,7 +5061,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4675,7 +5104,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4704,7 +5136,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4741,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4760,7 +5198,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4779,7 +5220,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4809,7 +5253,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4872,7 +5319,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4923,7 +5373,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4939,7 +5392,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4973,7 +5429,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4995,7 +5454,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5007,7 +5469,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5030,7 +5495,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5585,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5145,7 +5616,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5208,7 +5682,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5223,17 +5700,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonset-extensions-v1beta1.json b/v1.12.3-standalone/daemonset-extensions-v1beta1.json index 27b7b1c87f..28ef586f7a 100644 --- a/v1.12.3-standalone/daemonset-extensions-v1beta1.json +++ b/v1.12.3-standalone/daemonset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,12 +392,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -497,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -539,7 +581,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -683,7 +731,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,11 +777,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -780,7 +837,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1048,7 +1108,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1141,7 +1204,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1239,7 +1305,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1332,7 +1401,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1440,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1450,7 +1525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1495,7 +1573,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1605,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1556,7 +1640,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1579,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1677,7 +1767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1712,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1794,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1862,7 +1964,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1918,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1933,17 +2041,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1968,7 +2085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1976,7 +2096,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2011,7 +2134,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2056,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2127,17 +2259,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2162,7 +2303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2170,7 +2314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2180,7 +2327,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2190,14 +2340,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,7 +2363,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2219,7 +2378,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2254,7 +2416,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2265,20 +2430,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2318,11 +2495,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2340,7 +2523,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2398,7 +2584,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2523,15 +2712,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2644,7 +2842,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2689,7 +2890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2718,7 +2922,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2750,7 +2957,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2773,7 +2983,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2871,7 +3084,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2906,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2988,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3056,7 +3281,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3112,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,17 +3358,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3162,7 +3402,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3205,7 +3451,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3250,7 +3499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3306,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3321,17 +3576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3356,7 +3620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3364,7 +3631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3374,7 +3644,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3384,14 +3657,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3401,7 +3680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3413,7 +3695,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3448,7 +3733,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3459,20 +3747,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3512,11 +3812,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3534,7 +3840,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3592,7 +3901,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3627,7 +3939,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3637,7 +3952,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3692,21 +4010,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3749,7 +4079,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3795,7 +4128,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3806,7 +4142,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3841,7 +4180,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3881,12 +4223,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3932,7 +4280,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3945,7 +4296,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3982,7 +4336,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4074,7 +4437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4093,7 +4459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4102,7 +4471,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4167,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4201,7 +4579,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4219,12 +4600,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4273,7 +4660,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4283,7 +4673,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4333,7 +4726,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4342,7 +4738,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4389,7 +4788,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,11 +4824,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4473,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4530,7 +4944,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4568,7 +4985,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4584,7 +5004,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4615,7 +5038,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4634,7 +5060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4674,7 +5103,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5135,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4740,7 +5175,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4759,7 +5197,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4778,7 +5219,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4808,7 +5252,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4871,7 +5318,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4922,7 +5372,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4938,7 +5391,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4972,7 +5428,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4994,7 +5453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5006,7 +5468,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5029,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5103,7 +5571,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5120,7 +5591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5148,7 +5622,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5211,7 +5688,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5226,17 +5706,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonset.json b/v1.12.3-standalone/daemonset.json index bb7f9efae2..f286aa930b 100644 --- a/v1.12.3-standalone/daemonset.json +++ b/v1.12.3-standalone/daemonset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,12 +386,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -414,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,7 +465,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +493,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -491,7 +530,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -530,7 +572,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -592,7 +637,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -674,7 +722,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -717,11 +768,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -771,7 +828,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1039,7 +1099,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1132,7 +1195,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1230,7 +1296,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1323,7 +1392,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1359,7 +1431,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1441,7 +1516,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1486,7 +1564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1515,7 +1596,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1547,7 +1631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1570,7 +1657,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1668,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1703,7 +1796,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1785,7 +1881,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1820,7 +1919,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1853,7 +1955,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1909,7 +2014,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1924,17 +2032,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1959,7 +2076,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1967,7 +2087,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2002,7 +2125,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2047,7 +2173,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2103,7 +2232,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2118,17 +2250,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2153,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2161,7 +2305,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2171,7 +2318,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2181,14 +2331,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2198,7 +2354,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2210,7 +2369,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2245,7 +2407,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2256,20 +2421,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2309,11 +2486,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2331,7 +2514,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2389,7 +2575,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2514,15 +2703,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2635,7 +2833,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2680,7 +2881,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2709,7 +2913,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2741,7 +2948,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2764,7 +2974,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2862,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2897,7 +3113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2979,7 +3198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3014,7 +3236,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3047,7 +3272,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3103,7 +3331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3118,17 +3349,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3153,7 +3393,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3161,7 +3404,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3196,7 +3442,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3241,7 +3490,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3297,7 +3549,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3312,17 +3567,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3347,7 +3611,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3355,7 +3622,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3365,7 +3635,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3375,14 +3648,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3392,7 +3671,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3404,7 +3686,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3439,7 +3724,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3450,20 +3738,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3503,11 +3803,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3525,7 +3831,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3583,7 +3892,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3618,7 +3930,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3628,7 +3943,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3683,21 +4001,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3740,7 +4070,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3786,7 +4119,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3797,7 +4133,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3832,7 +4171,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3872,12 +4214,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3923,7 +4271,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3936,7 +4287,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3973,7 +4327,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4018,7 +4375,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4043,7 +4403,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4065,7 +4428,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4084,7 +4450,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4093,7 +4462,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4129,7 +4501,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4158,7 +4533,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4192,7 +4570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4210,12 +4591,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4264,7 +4651,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4274,7 +4664,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4324,7 +4717,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4333,7 +4729,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4380,7 +4779,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,11 +4815,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4464,7 +4872,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4501,7 +4912,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4521,7 +4935,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4559,7 +4976,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4575,7 +4995,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4606,7 +5029,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4625,7 +5051,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4665,7 +5094,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4694,7 +5126,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4731,7 +5166,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4750,7 +5188,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4769,7 +5210,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4799,7 +5243,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4862,7 +5309,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4913,7 +5363,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4929,7 +5382,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4963,7 +5419,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4985,7 +5444,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4997,7 +5459,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5020,7 +5485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5094,7 +5562,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5111,7 +5582,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5139,7 +5613,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5202,7 +5679,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5217,17 +5697,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonsetlist-apps-v1.json b/v1.12.3-standalone/daemonsetlist-apps-v1.json index 1d73158745..64357e0e4a 100644 --- a/v1.12.3-standalone/daemonsetlist-apps-v1.json +++ b/v1.12.3-standalone/daemonsetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,12 +415,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -443,7 +473,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -562,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -624,7 +669,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -803,7 +860,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1071,7 +1131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1164,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1262,7 +1328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1355,7 +1424,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1391,7 +1463,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1473,7 +1548,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1518,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1547,7 +1628,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1579,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1602,7 +1689,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1700,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1735,7 +1828,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1817,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1852,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1885,7 +1987,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1941,7 +2046,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1956,17 +2064,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1991,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1999,7 +2119,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2034,7 +2157,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2079,7 +2205,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2135,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2150,17 +2282,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2185,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2193,7 +2337,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2203,7 +2350,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2213,14 +2363,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2230,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2242,7 +2401,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2277,7 +2439,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2288,20 +2453,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2341,11 +2518,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2363,7 +2546,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2421,7 +2607,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2546,15 +2735,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2667,7 +2865,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2712,7 +2913,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2741,7 +2945,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2773,7 +2980,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2796,7 +3006,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2894,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2929,7 +3145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3011,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3046,7 +3268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3079,7 +3304,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3135,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3150,17 +3381,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3185,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3193,7 +3436,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3228,7 +3474,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3273,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3329,7 +3581,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3344,17 +3599,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3379,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3387,7 +3654,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3397,7 +3667,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3407,14 +3680,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3424,7 +3703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3436,7 +3718,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3471,7 +3756,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3482,20 +3770,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3535,11 +3835,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3557,7 +3863,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3615,7 +3924,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3650,7 +3962,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3660,7 +3975,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3715,21 +4033,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3772,7 +4102,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3818,7 +4151,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3829,7 +4165,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3864,7 +4203,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3904,12 +4246,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3955,7 +4303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3968,7 +4319,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4005,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4050,7 +4407,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4075,7 +4435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4097,7 +4460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4116,7 +4482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4125,7 +4494,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4161,7 +4533,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4190,7 +4565,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4224,7 +4602,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4242,12 +4623,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4296,7 +4683,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4306,7 +4696,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4356,7 +4749,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4365,7 +4761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4412,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4445,11 +4847,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4496,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4533,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4553,7 +4967,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4591,7 +5008,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4607,7 +5027,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4638,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4657,7 +5083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4697,7 +5126,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4726,7 +5158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4763,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4782,7 +5220,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4801,7 +5242,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4831,7 +5275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4894,7 +5341,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5395,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4961,7 +5414,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4995,7 +5451,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5017,7 +5476,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5029,7 +5491,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5052,7 +5517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5139,7 +5607,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5167,7 +5638,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5230,7 +5704,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5245,17 +5722,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonsetlist-apps-v1beta2.json b/v1.12.3-standalone/daemonsetlist-apps-v1beta2.json index 9a1e69562c..5db93016ae 100644 --- a/v1.12.3-standalone/daemonsetlist-apps-v1beta2.json +++ b/v1.12.3-standalone/daemonsetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,12 +415,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -443,7 +473,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -461,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -486,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -520,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -562,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -624,7 +669,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -706,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -803,7 +860,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1071,7 +1131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1164,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1262,7 +1328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1355,7 +1424,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1391,7 +1463,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1473,7 +1548,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1518,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1547,7 +1628,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1579,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1602,7 +1689,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1700,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1735,7 +1828,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1817,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1852,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1885,7 +1987,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1941,7 +2046,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1956,17 +2064,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1991,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1999,7 +2119,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2034,7 +2157,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2079,7 +2205,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2135,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2150,17 +2282,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2185,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2193,7 +2337,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2203,7 +2350,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2213,14 +2363,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2230,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2242,7 +2401,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2277,7 +2439,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2288,20 +2453,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2341,11 +2518,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2363,7 +2546,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2421,7 +2607,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2546,15 +2735,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2667,7 +2865,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2712,7 +2913,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2741,7 +2945,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2773,7 +2980,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2796,7 +3006,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2894,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2929,7 +3145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3011,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3046,7 +3268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3079,7 +3304,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3135,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3150,17 +3381,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3185,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3193,7 +3436,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3228,7 +3474,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3273,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3329,7 +3581,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3344,17 +3599,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3379,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3387,7 +3654,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3397,7 +3667,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3407,14 +3680,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3424,7 +3703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3436,7 +3718,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3471,7 +3756,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3482,20 +3770,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3535,11 +3835,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3557,7 +3863,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3615,7 +3924,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3650,7 +3962,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3660,7 +3975,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3715,21 +4033,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3772,7 +4102,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3818,7 +4151,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3829,7 +4165,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3864,7 +4203,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3904,12 +4246,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3955,7 +4303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3968,7 +4319,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4005,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4050,7 +4407,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4075,7 +4435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4097,7 +4460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4116,7 +4482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4125,7 +4494,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4161,7 +4533,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4190,7 +4565,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4224,7 +4602,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4242,12 +4623,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4296,7 +4683,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4306,7 +4696,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4356,7 +4749,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4365,7 +4761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4412,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4445,11 +4847,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4496,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4533,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4553,7 +4967,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4591,7 +5008,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4607,7 +5027,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4638,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4657,7 +5083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4697,7 +5126,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4726,7 +5158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4763,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4782,7 +5220,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4801,7 +5242,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4831,7 +5275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4894,7 +5341,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5395,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4961,7 +5414,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4995,7 +5451,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5017,7 +5476,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5029,7 +5491,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5052,7 +5517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5139,7 +5607,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5167,7 +5638,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5230,7 +5704,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5245,17 +5722,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonsetlist-extensions-v1beta1.json b/v1.12.3-standalone/daemonsetlist-extensions-v1beta1.json index bff8552b14..422e041686 100644 --- a/v1.12.3-standalone/daemonsetlist-extensions-v1beta1.json +++ b/v1.12.3-standalone/daemonsetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,12 +414,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5125,7 +5593,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5142,7 +5613,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5170,7 +5644,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5233,7 +5710,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5248,17 +5728,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonsetlist.json b/v1.12.3-standalone/daemonsetlist.json index c43fadf39e..82be14d6b3 100644 --- a/v1.12.3-standalone/daemonsetlist.json +++ b/v1.12.3-standalone/daemonsetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,12 +405,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -433,7 +463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -549,7 +591,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -611,7 +656,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -693,7 +741,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -736,11 +787,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -790,7 +847,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1058,7 +1118,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1151,7 +1214,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1249,7 +1315,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1342,7 +1411,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1378,7 +1450,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1460,7 +1535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1505,7 +1583,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1534,7 +1615,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1566,7 +1650,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1589,7 +1676,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1687,7 +1777,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1722,7 +1815,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1804,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1839,7 +1938,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1872,7 +1974,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1928,7 +2033,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1943,17 +2051,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1978,7 +2095,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1986,7 +2106,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2021,7 +2144,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2066,7 +2192,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2122,7 +2251,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2137,17 +2269,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2172,7 +2313,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2180,7 +2324,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2190,7 +2337,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2200,14 +2350,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2217,7 +2373,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2229,7 +2388,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2264,7 +2426,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2275,20 +2440,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2328,11 +2505,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2350,7 +2533,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2408,7 +2594,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2533,15 +2722,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2654,7 +2852,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2699,7 +2900,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2728,7 +2932,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2760,7 +2967,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2783,7 +2993,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2881,7 +3094,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2916,7 +3132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2998,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3033,7 +3255,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3066,7 +3291,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3122,7 +3350,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3137,17 +3368,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3172,7 +3412,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3180,7 +3423,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3215,7 +3461,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3260,7 +3509,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3316,7 +3568,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3331,17 +3586,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3366,7 +3630,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3374,7 +3641,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3384,7 +3654,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3394,14 +3667,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3411,7 +3690,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3423,7 +3705,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3458,7 +3743,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3469,20 +3757,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3522,11 +3822,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3544,7 +3850,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3602,7 +3911,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3637,7 +3949,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3647,7 +3962,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3702,21 +4020,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3759,7 +4089,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3805,7 +4138,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3816,7 +4152,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3851,7 +4190,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3891,12 +4233,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3942,7 +4290,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3955,7 +4306,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3992,7 +4346,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4037,7 +4394,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4062,7 +4422,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4084,7 +4447,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4103,7 +4469,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4112,7 +4481,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4148,7 +4520,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4177,7 +4552,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4211,7 +4589,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4229,12 +4610,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4283,7 +4670,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4293,7 +4683,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4343,7 +4736,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4352,7 +4748,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4399,7 +4798,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4432,11 +4834,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4483,7 +4891,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4520,7 +4931,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4540,7 +4954,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4578,7 +4995,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4594,7 +5014,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4625,7 +5048,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5070,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4684,7 +5113,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4713,7 +5145,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4750,7 +5185,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4769,7 +5207,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4788,7 +5229,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4818,7 +5262,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4881,7 +5328,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4932,7 +5382,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4948,7 +5401,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4982,7 +5438,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5004,7 +5463,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5016,7 +5478,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5039,7 +5504,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5113,7 +5581,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -5130,7 +5601,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -5158,7 +5632,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5221,7 +5698,10 @@ }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { @@ -5236,17 +5716,26 @@ }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/daemonsetspec-apps-v1.json b/v1.12.3-standalone/daemonsetspec-apps-v1.json index 644a736deb..1444976ffe 100644 --- a/v1.12.3-standalone/daemonsetspec-apps-v1.json +++ b/v1.12.3-standalone/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +86,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +114,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +151,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -178,7 +196,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -322,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +452,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -687,7 +723,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -780,7 +819,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +920,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -971,7 +1016,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1007,7 +1055,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1089,7 +1140,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1134,7 +1188,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1163,7 +1220,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1195,7 +1255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1218,7 +1281,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1316,7 +1382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1351,7 +1420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1433,7 +1505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1501,7 +1579,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1557,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1572,17 +1656,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1607,7 +1700,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1615,7 +1711,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1650,7 +1749,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1695,7 +1797,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1751,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1766,17 +1874,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1801,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1809,7 +1929,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1819,7 +1942,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1829,14 +1955,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1846,7 +1978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1858,7 +1993,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1893,7 +2031,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1904,20 +2045,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1957,11 +2110,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1979,7 +2138,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2037,7 +2199,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2162,15 +2327,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2283,7 +2457,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2328,7 +2505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2357,7 +2537,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2389,7 +2572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2412,7 +2598,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2510,7 +2699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2545,7 +2737,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2662,7 +2860,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2695,7 +2896,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2751,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2766,17 +2973,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2801,7 +3017,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3028,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2844,7 +3066,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2889,7 +3114,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2945,7 +3173,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2960,17 +3191,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2995,7 +3235,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3003,7 +3246,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3013,7 +3259,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3023,14 +3272,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3040,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3052,7 +3310,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3087,7 +3348,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3098,20 +3362,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3151,11 +3427,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3173,7 +3455,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3231,7 +3516,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3266,7 +3554,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3276,7 +3567,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3331,21 +3625,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3388,7 +3694,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3434,7 +3743,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3445,7 +3757,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3480,7 +3795,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3520,12 +3838,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3571,7 +3895,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3584,7 +3911,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3621,7 +3951,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3666,7 +3999,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3713,7 +4052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3732,7 +4074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3741,7 +4086,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3777,7 +4125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3806,7 +4157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3840,7 +4194,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3858,12 +4215,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3912,7 +4275,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3922,7 +4288,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3972,7 +4341,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3981,7 +4353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4028,7 +4403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4061,11 +4439,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4112,7 +4496,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4149,7 +4536,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4169,7 +4559,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4207,7 +4600,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4223,7 +4619,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4254,7 +4653,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4273,7 +4675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4313,7 +4718,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4342,7 +4750,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4379,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4812,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4417,7 +4834,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4447,7 +4867,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4510,7 +4933,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4561,7 +4987,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4611,7 +5043,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4633,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4645,7 +5083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4668,7 +5109,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetspec-apps-v1beta2.json b/v1.12.3-standalone/daemonsetspec-apps-v1beta2.json index 644a736deb..1444976ffe 100644 --- a/v1.12.3-standalone/daemonsetspec-apps-v1beta2.json +++ b/v1.12.3-standalone/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -59,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +86,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -102,7 +114,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -136,7 +151,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -178,7 +196,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -240,7 +261,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -322,7 +346,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,11 +392,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +452,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -687,7 +723,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -780,7 +819,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -878,7 +920,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -971,7 +1016,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1007,7 +1055,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1089,7 +1140,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1134,7 +1188,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1163,7 +1220,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1195,7 +1255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1218,7 +1281,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1316,7 +1382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1351,7 +1420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1433,7 +1505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1468,7 +1543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1501,7 +1579,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1557,7 +1638,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1572,17 +1656,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1607,7 +1700,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1615,7 +1711,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1650,7 +1749,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1695,7 +1797,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1751,7 +1856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1766,17 +1874,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1801,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1809,7 +1929,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1819,7 +1942,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1829,14 +1955,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1846,7 +1978,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1858,7 +1993,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1893,7 +2031,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1904,20 +2045,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1957,11 +2110,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1979,7 +2138,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2037,7 +2199,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2162,15 +2327,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2283,7 +2457,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2328,7 +2505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2357,7 +2537,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2389,7 +2572,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2412,7 +2598,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2510,7 +2699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2545,7 +2737,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2627,7 +2822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2662,7 +2860,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2695,7 +2896,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2751,7 +2955,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2766,17 +2973,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2801,7 +3017,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2809,7 +3028,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2844,7 +3066,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2889,7 +3114,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2945,7 +3173,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2960,17 +3191,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2995,7 +3235,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3003,7 +3246,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3013,7 +3259,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3023,14 +3272,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3040,7 +3295,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3052,7 +3310,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3087,7 +3348,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3098,20 +3362,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3151,11 +3427,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3173,7 +3455,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3231,7 +3516,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3266,7 +3554,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3276,7 +3567,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3331,21 +3625,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3388,7 +3694,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3434,7 +3743,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3445,7 +3757,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3480,7 +3795,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3520,12 +3838,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3571,7 +3895,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3584,7 +3911,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3621,7 +3951,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3666,7 +3999,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3691,7 +4027,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3713,7 +4052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3732,7 +4074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3741,7 +4086,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3777,7 +4125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3806,7 +4157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3840,7 +4194,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3858,12 +4215,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3912,7 +4275,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3922,7 +4288,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3972,7 +4341,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3981,7 +4353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4028,7 +4403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4061,11 +4439,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4112,7 +4496,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4149,7 +4536,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4169,7 +4559,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4207,7 +4600,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4223,7 +4619,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4254,7 +4653,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4273,7 +4675,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4313,7 +4718,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4342,7 +4750,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4379,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4398,7 +4812,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4417,7 +4834,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4447,7 +4867,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4510,7 +4933,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4561,7 +4987,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4611,7 +5043,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4633,7 +5068,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4645,7 +5083,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4668,7 +5109,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5199,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetspec-extensions-v1beta1.json b/v1.12.3-standalone/daemonsetspec-extensions-v1beta1.json index 67b93c4f39..db82718333 100644 --- a/v1.12.3-standalone/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.3-standalone/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -239,7 +260,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -321,7 +345,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,11 +391,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +451,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -686,7 +722,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -779,7 +818,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -877,7 +919,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1015,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1006,7 +1054,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1088,7 +1139,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1133,7 +1187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1194,7 +1254,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1217,7 +1280,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1315,7 +1381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1350,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1467,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1578,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1637,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1571,17 +1655,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1606,7 +1699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1614,7 +1710,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1649,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1694,7 +1796,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1750,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,17 +1873,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1800,7 +1917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1928,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1818,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1828,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1845,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1857,7 +1992,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1892,7 +2030,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1903,20 +2044,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1956,11 +2109,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1978,7 +2137,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2198,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2161,15 +2326,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2282,7 +2456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2327,7 +2504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2356,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2388,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2411,7 +2597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2509,7 +2698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2544,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2626,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2661,7 +2859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2694,7 +2895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2750,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2765,17 +2972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2800,7 +3016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2843,7 +3065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2888,7 +3113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2944,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2959,17 +3190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2994,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3012,7 +3258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3022,14 +3271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3039,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3051,7 +3309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3086,7 +3347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3097,20 +3361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3150,11 +3426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3172,7 +3454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3230,7 +3515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3265,7 +3553,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3275,7 +3566,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3330,21 +3624,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3387,7 +3693,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3433,7 +3742,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3444,7 +3756,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3479,7 +3794,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3519,12 +3837,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3570,7 +3894,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3583,7 +3910,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3620,7 +3950,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3665,7 +3998,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3712,7 +4051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3731,7 +4073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3740,7 +4085,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3805,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3839,7 +4193,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3857,12 +4214,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3911,7 +4274,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3921,7 +4287,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3971,7 +4340,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3980,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4027,7 +4402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4060,11 +4438,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4111,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4148,7 +4535,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4168,7 +4558,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4206,7 +4599,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4222,7 +4618,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4253,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4272,7 +4674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4312,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4378,7 +4789,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4397,7 +4811,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,7 +4833,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4446,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4509,7 +4932,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5005,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4610,7 +5042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4632,7 +5067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5082,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4667,7 +5108,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4741,7 +5185,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4758,7 +5205,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetspec.json b/v1.12.3-standalone/daemonsetspec.json index e8052e900e..7aec91eea5 100644 --- a/v1.12.3-standalone/daemonsetspec.json +++ b/v1.12.3-standalone/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +192,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -236,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -318,7 +342,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -361,11 +388,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +448,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -683,7 +719,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,7 +815,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -874,7 +916,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -967,7 +1012,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1051,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1085,7 +1136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1130,7 +1184,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1159,7 +1216,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1191,7 +1251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1214,7 +1277,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1312,7 +1378,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1347,7 +1416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1429,7 +1501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1464,7 +1539,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1497,7 +1575,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1553,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1568,17 +1652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1603,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1611,7 +1707,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1646,7 +1745,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1691,7 +1793,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1747,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,17 +1870,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1797,7 +1914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1805,7 +1925,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1815,7 +1938,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1825,14 +1951,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1842,7 +1974,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1854,7 +1989,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1889,7 +2027,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1900,20 +2041,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1953,11 +2106,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1975,7 +2134,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2033,7 +2195,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2158,15 +2323,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2279,7 +2453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2324,7 +2501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2353,7 +2533,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2385,7 +2568,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2408,7 +2594,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2506,7 +2695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2541,7 +2733,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2623,7 +2818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2658,7 +2856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2892,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2747,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2762,17 +2969,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2797,7 +3013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2805,7 +3024,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2840,7 +3062,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2885,7 +3110,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2941,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2956,17 +3187,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2991,7 +3231,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2999,7 +3242,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3009,7 +3255,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3019,14 +3268,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3036,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3048,7 +3306,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3083,7 +3344,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3094,20 +3358,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3147,11 +3423,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3169,7 +3451,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3227,7 +3512,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3262,7 +3550,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3272,7 +3563,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3327,21 +3621,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3384,7 +3690,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3430,7 +3739,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3441,7 +3753,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3476,7 +3791,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3516,12 +3834,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3567,7 +3891,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3580,7 +3907,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3617,7 +3947,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3662,7 +3995,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3687,7 +4023,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3709,7 +4048,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3728,7 +4070,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3737,7 +4082,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3773,7 +4121,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3802,7 +4153,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3836,7 +4190,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3854,12 +4211,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3908,7 +4271,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3918,7 +4284,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3968,7 +4337,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3977,7 +4349,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4024,7 +4399,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4057,11 +4435,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4108,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4145,7 +4532,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4165,7 +4555,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4203,7 +4596,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4219,7 +4615,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4250,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4269,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4309,7 +4714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4338,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4375,7 +4786,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4394,7 +4808,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,7 +4830,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4443,7 +4863,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4506,7 +4929,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4557,7 +4983,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4573,7 +5002,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4607,7 +5039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4629,7 +5064,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5079,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4664,7 +5105,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4738,7 +5182,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { @@ -4755,7 +5202,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetstatus-apps-v1.json b/v1.12.3-standalone/daemonsetstatus-apps-v1.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.3-standalone/daemonsetstatus-apps-v1.json +++ b/v1.12.3-standalone/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/daemonsetstatus-apps-v1beta2.json b/v1.12.3-standalone/daemonsetstatus-apps-v1beta2.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.3-standalone/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.3-standalone/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/daemonsetstatus-extensions-v1beta1.json b/v1.12.3-standalone/daemonsetstatus-extensions-v1beta1.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.3-standalone/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.3-standalone/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/daemonsetstatus.json b/v1.12.3-standalone/daemonsetstatus.json index 0e0c715a3d..f99325316e 100644 --- a/v1.12.3-standalone/daemonsetstatus.json +++ b/v1.12.3-standalone/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -62,42 +65,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1.json b/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1.json index 162762bc6d..4369731a61 100644 --- a/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1.json +++ b/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1beta2.json b/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1beta2.json index 162762bc6d..4369731a61 100644 --- a/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.3-standalone/daemonsetupdatestrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetupdatestrategy-extensions-v1beta1.json b/v1.12.3-standalone/daemonsetupdatestrategy-extensions-v1beta1.json index 98767858a1..384afe815e 100644 --- a/v1.12.3-standalone/daemonsetupdatestrategy-extensions-v1beta1.json +++ b/v1.12.3-standalone/daemonsetupdatestrategy-extensions-v1beta1.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/daemonsetupdatestrategy.json b/v1.12.3-standalone/daemonsetupdatestrategy.json index 98767858a1..384afe815e 100644 --- a/v1.12.3-standalone/daemonsetupdatestrategy.json +++ b/v1.12.3-standalone/daemonsetupdatestrategy.json @@ -12,7 +12,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/deleteoptions-meta-v1.json b/v1.12.3-standalone/deleteoptions-meta-v1.json index 32a6fb7511..7f992c285a 100644 --- a/v1.12.3-standalone/deleteoptions-meta-v1.json +++ b/v1.12.3-standalone/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.3-standalone/deleteoptions.json b/v1.12.3-standalone/deleteoptions.json index a8272a6d25..ccfa2dd472 100644 --- a/v1.12.3-standalone/deleteoptions.json +++ b/v1.12.3-standalone/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", diff --git a/v1.12.3-standalone/deployment-apps-v1.json b/v1.12.3-standalone/deployment-apps-v1.json index a09882229f..31f62cd60d 100644 --- a/v1.12.3-standalone/deployment-apps-v1.json +++ b/v1.12.3-standalone/deployment-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,26 +393,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -435,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -473,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -496,7 +544,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -521,7 +572,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -555,7 +609,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -597,7 +654,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -659,7 +719,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -741,7 +804,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -784,11 +850,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -838,7 +910,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1106,7 +1181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1199,7 +1277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1378,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1513,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1598,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1553,7 +1646,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1582,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1614,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1637,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1735,7 +1840,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1770,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1852,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +2001,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2037,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1976,7 +2096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2114,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2158,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2034,7 +2169,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2069,7 +2207,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2114,7 +2255,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2170,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2185,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2228,7 +2387,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2238,7 +2400,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2248,14 +2413,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,7 +2436,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2277,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2312,7 +2489,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2323,20 +2503,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2376,11 +2568,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2398,7 +2596,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2456,7 +2657,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2785,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2702,7 +2915,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2747,7 +2963,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2776,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2808,7 +3030,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2831,7 +3056,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2929,7 +3157,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2964,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3046,7 +3280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,7 +3318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,8 +3354,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3170,7 +3413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3185,17 +3431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3220,7 +3475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3228,7 +3486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3263,7 +3524,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3308,7 +3572,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3364,7 +3631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3379,17 +3649,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3704,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3432,7 +3717,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3442,14 +3730,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3459,7 +3753,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3471,7 +3768,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3506,7 +3806,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3517,20 +3820,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3570,11 +3885,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3592,7 +3913,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3650,7 +3974,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3685,7 +4012,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3695,7 +4025,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3750,21 +4083,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3807,7 +4152,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3853,7 +4201,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3864,7 +4215,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3899,7 +4253,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3939,12 +4296,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4353,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4003,7 +4369,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4085,7 +4457,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4485,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4151,7 +4532,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4160,7 +4544,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4583,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4615,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4259,7 +4652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4277,12 +4673,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4331,7 +4733,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4341,7 +4746,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4391,7 +4799,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4400,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4447,7 +4861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,11 +4897,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4531,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4568,7 +4994,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4588,7 +5017,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5058,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4642,7 +5077,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4673,7 +5111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4692,7 +5133,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4732,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5208,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4798,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4817,7 +5270,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4836,7 +5292,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4866,7 +5325,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4929,7 +5391,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4980,7 +5445,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4996,7 +5464,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5030,7 +5501,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5052,7 +5526,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5064,7 +5541,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5087,7 +5567,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5166,12 +5649,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5232,27 +5721,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deployment-apps-v1beta1.json b/v1.12.3-standalone/deployment-apps-v1beta1.json index e5f5f0728a..840598affe 100644 --- a/v1.12.3-standalone/deployment-apps-v1beta1.json +++ b/v1.12.3-standalone/deployment-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,26 +392,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -395,7 +434,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -444,7 +486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -469,7 +514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -482,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -505,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -530,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -564,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -606,7 +666,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -668,7 +731,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -750,7 +816,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -793,11 +862,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -847,7 +922,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1115,7 +1193,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1208,7 +1289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1306,7 +1390,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1399,7 +1486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1525,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1610,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1562,7 +1658,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1591,7 +1690,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1623,7 +1725,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1646,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1744,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1779,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1896,7 +2013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1929,7 +2049,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2126,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2043,7 +2181,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2078,7 +2219,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2123,7 +2267,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2179,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2344,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2399,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2247,7 +2412,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2257,14 +2425,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2274,7 +2448,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2286,7 +2463,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2321,7 +2501,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2332,20 +2515,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2580,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2608,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2465,7 +2669,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2590,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2711,7 +2927,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2756,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2785,7 +3007,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2817,7 +3042,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2840,7 +3068,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2938,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2973,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3055,7 +3292,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3090,9 +3330,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3123,7 +3366,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3179,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3194,17 +3443,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3229,7 +3487,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3237,7 +3498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3272,7 +3536,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3317,7 +3584,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3373,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3388,17 +3661,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3423,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3716,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3441,7 +3729,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3451,14 +3742,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3468,7 +3765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3480,7 +3780,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3515,7 +3818,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3526,20 +3832,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3579,11 +3897,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3601,7 +3925,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3659,7 +3986,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3694,7 +4024,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3704,7 +4037,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3759,21 +4095,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3816,7 +4164,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3862,7 +4213,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3873,7 +4227,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3908,7 +4265,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3948,12 +4308,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3999,7 +4365,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4012,7 +4381,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4049,7 +4421,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4094,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4119,7 +4497,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4141,7 +4522,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4160,7 +4544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4169,7 +4556,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4205,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4627,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4268,7 +4664,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4286,12 +4685,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4340,7 +4745,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4350,7 +4758,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4400,7 +4811,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4409,7 +4823,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4489,11 +4909,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4540,7 +4966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4597,7 +5029,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4635,7 +5070,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4651,7 +5089,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4682,7 +5123,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4701,7 +5145,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4741,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4770,7 +5220,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4807,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5282,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4845,7 +5304,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4875,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4938,7 +5403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4989,7 +5457,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5005,7 +5476,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5039,7 +5513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5061,7 +5538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5073,7 +5553,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5096,7 +5579,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,12 +5661,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5241,27 +5733,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deployment-apps-v1beta2.json b/v1.12.3-standalone/deployment-apps-v1beta2.json index ff4512bc05..db760abe71 100644 --- a/v1.12.3-standalone/deployment-apps-v1beta2.json +++ b/v1.12.3-standalone/deployment-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -369,26 +393,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -435,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -473,7 +518,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -496,7 +544,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -521,7 +572,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -555,7 +609,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -597,7 +654,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -659,7 +719,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -741,7 +804,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -784,11 +850,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -838,7 +910,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1106,7 +1181,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1199,7 +1277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1378,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1513,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1598,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1553,7 +1646,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1582,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1614,7 +1713,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1637,7 +1739,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1735,7 +1840,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1770,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1852,7 +1963,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +2001,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2037,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1976,7 +2096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2114,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2158,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2034,7 +2169,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2069,7 +2207,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2114,7 +2255,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2170,7 +2314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2185,17 +2332,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2228,7 +2387,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2238,7 +2400,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2248,14 +2413,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,7 +2436,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2277,7 +2451,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2312,7 +2489,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2323,20 +2503,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2376,11 +2568,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2398,7 +2596,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2456,7 +2657,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2785,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2702,7 +2915,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2747,7 +2963,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2776,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2808,7 +3030,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2831,7 +3056,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2929,7 +3157,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2964,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3046,7 +3280,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,7 +3318,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,8 +3354,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3170,7 +3413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3185,17 +3431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3220,7 +3475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3228,7 +3486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3263,7 +3524,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3308,7 +3572,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3364,7 +3631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3379,17 +3649,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3704,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3432,7 +3717,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3442,14 +3730,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3459,7 +3753,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3471,7 +3768,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3506,7 +3806,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3517,20 +3820,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3570,11 +3885,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3592,7 +3913,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3650,7 +3974,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3685,7 +4012,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3695,7 +4025,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3750,21 +4083,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3807,7 +4152,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3853,7 +4201,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3864,7 +4215,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3899,7 +4253,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3939,12 +4296,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4353,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4003,7 +4369,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4040,7 +4409,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4085,7 +4457,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4485,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4151,7 +4532,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4160,7 +4544,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4583,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4615,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4259,7 +4652,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4277,12 +4673,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4331,7 +4733,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4341,7 +4746,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4391,7 +4799,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4400,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4447,7 +4861,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,11 +4897,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4531,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4568,7 +4994,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4588,7 +5017,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5058,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4642,7 +5077,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4673,7 +5111,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4692,7 +5133,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4732,7 +5176,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5208,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4798,7 +5248,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4817,7 +5270,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4836,7 +5292,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4866,7 +5325,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4929,7 +5391,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4980,7 +5445,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4996,7 +5464,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5030,7 +5501,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5052,7 +5526,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5064,7 +5541,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5087,7 +5567,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5166,12 +5649,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5232,27 +5721,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deployment-extensions-v1beta1.json b/v1.12.3-standalone/deployment-extensions-v1beta1.json index 795debf5a4..e5133d2ebc 100644 --- a/v1.12.3-standalone/deployment-extensions-v1beta1.json +++ b/v1.12.3-standalone/deployment-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,26 +392,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -395,7 +434,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -444,7 +486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -469,7 +514,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -482,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -505,7 +556,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -530,7 +584,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -564,7 +621,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -606,7 +666,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -668,7 +731,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -750,7 +816,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -793,11 +862,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -847,7 +922,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1115,7 +1193,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1208,7 +1289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1306,7 +1390,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1399,7 +1486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1435,7 +1525,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1517,7 +1610,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1562,7 +1658,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1591,7 +1690,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1623,7 +1725,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1646,7 +1751,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1744,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1779,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1861,7 +1975,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1896,7 +2013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1929,7 +2049,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1985,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2000,17 +2126,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2035,7 +2170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2043,7 +2181,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2078,7 +2219,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2123,7 +2267,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2179,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2194,17 +2344,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2229,7 +2388,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2237,7 +2399,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2247,7 +2412,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2257,14 +2425,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2274,7 +2448,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2286,7 +2463,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2321,7 +2501,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2332,20 +2515,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2385,11 +2580,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2407,7 +2608,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2465,7 +2669,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2590,15 +2797,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2711,7 +2927,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2756,7 +2975,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2785,7 +3007,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2817,7 +3042,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2840,7 +3068,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2938,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2973,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3055,7 +3292,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3090,9 +3330,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3123,7 +3366,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3179,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3194,17 +3443,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3229,7 +3487,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3237,7 +3498,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3272,7 +3536,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3317,7 +3584,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3373,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3388,17 +3661,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3423,7 +3705,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3431,7 +3716,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3441,7 +3729,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3451,14 +3742,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3468,7 +3765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3480,7 +3780,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3515,7 +3818,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3526,20 +3832,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3579,11 +3897,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3601,7 +3925,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3659,7 +3986,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3694,7 +4024,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3704,7 +4037,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3759,21 +4095,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3816,7 +4164,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3862,7 +4213,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3873,7 +4227,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3908,7 +4265,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3948,12 +4308,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3999,7 +4365,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4012,7 +4381,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4049,7 +4421,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4094,7 +4469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4119,7 +4497,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4141,7 +4522,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4160,7 +4544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4169,7 +4556,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4205,7 +4595,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4234,7 +4627,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4268,7 +4664,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4286,12 +4685,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4340,7 +4745,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4350,7 +4758,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4400,7 +4811,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4409,7 +4823,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4489,11 +4909,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4540,7 +4966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4577,7 +5006,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4597,7 +5029,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4635,7 +5070,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4651,7 +5089,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4682,7 +5123,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4701,7 +5145,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4741,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4770,7 +5220,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4807,7 +5260,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4826,7 +5282,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4845,7 +5304,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4875,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4938,7 +5403,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4989,7 +5457,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5005,7 +5476,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5039,7 +5513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5061,7 +5538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5073,7 +5553,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5096,7 +5579,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5175,12 +5661,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5241,27 +5733,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deployment.json b/v1.12.3-standalone/deployment.json index 9a1c067413..8da6fdeb82 100644 --- a/v1.12.3-standalone/deployment.json +++ b/v1.12.3-standalone/deployment.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,26 +386,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -389,7 +428,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -438,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +508,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -476,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -499,7 +550,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -524,7 +578,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -558,7 +615,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -597,7 +657,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -659,7 +722,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -741,7 +807,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -784,11 +853,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -838,7 +913,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1106,7 +1184,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1199,7 +1280,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1297,7 +1381,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1477,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1426,7 +1516,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1508,7 +1601,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1553,7 +1649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1582,7 +1681,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1614,7 +1716,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1637,7 +1742,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1735,7 +1843,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1770,7 +1881,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1852,7 +1966,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1887,7 +2004,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2040,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1976,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1991,17 +2117,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2026,7 +2161,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2034,7 +2172,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2069,7 +2210,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2114,7 +2258,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2170,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2185,17 +2335,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2220,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2228,7 +2390,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2238,7 +2403,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2248,14 +2416,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2265,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2277,7 +2454,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2312,7 +2492,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2323,20 +2506,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2376,11 +2571,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2398,7 +2599,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2456,7 +2660,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2581,15 +2788,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2702,7 +2918,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2747,7 +2966,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2776,7 +2998,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2808,7 +3033,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2831,7 +3059,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2929,7 +3160,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2964,7 +3198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3046,7 +3283,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3081,9 +3321,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3114,7 +3357,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3170,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3185,17 +3434,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3220,7 +3478,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3228,7 +3489,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3263,7 +3527,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3308,7 +3575,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3364,7 +3634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3379,17 +3652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3414,7 +3696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3422,7 +3707,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3432,7 +3720,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3442,14 +3733,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3459,7 +3756,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3471,7 +3771,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3506,7 +3809,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3517,20 +3823,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3570,11 +3888,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3592,7 +3916,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3650,7 +3977,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3685,7 +4015,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3695,7 +4028,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3750,21 +4086,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3807,7 +4155,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3853,7 +4204,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3864,7 +4218,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3899,7 +4256,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3939,12 +4299,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3990,7 +4356,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4003,7 +4372,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4040,7 +4412,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4085,7 +4460,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4110,7 +4488,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4513,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4151,7 +4535,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4160,7 +4547,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4196,7 +4586,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4618,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4259,7 +4655,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4277,12 +4676,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4331,7 +4736,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4341,7 +4749,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4391,7 +4802,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4400,7 +4814,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4447,7 +4864,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,11 +4900,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4531,7 +4957,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4568,7 +4997,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4588,7 +5020,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5061,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4642,7 +5080,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4673,7 +5114,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4692,7 +5136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4732,7 +5179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4761,7 +5211,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4798,7 +5251,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4817,7 +5273,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4836,7 +5295,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4866,7 +5328,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4929,7 +5394,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4980,7 +5448,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4996,7 +5467,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5030,7 +5504,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5052,7 +5529,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5064,7 +5544,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5087,7 +5570,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5166,12 +5652,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5232,27 +5724,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deploymentlist-apps-v1.json b/v1.12.3-standalone/deploymentlist-apps-v1.json index 38b1cb7fc7..7a694c6554 100644 --- a/v1.12.3-standalone/deploymentlist-apps-v1.json +++ b/v1.12.3-standalone/deploymentlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,26 +415,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -457,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -495,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +566,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +594,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +631,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -619,7 +676,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -681,7 +741,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -763,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -806,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -860,7 +932,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1128,7 +1203,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1221,7 +1299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1319,7 +1400,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1448,7 +1535,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1530,7 +1620,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1575,7 +1668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1604,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1636,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1659,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1757,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1985,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1909,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1942,7 +2059,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1998,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2136,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2180,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2056,7 +2191,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2091,7 +2229,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2136,7 +2277,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2192,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2250,7 +2409,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2260,7 +2422,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,14 +2435,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2299,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2334,7 +2511,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2345,20 +2525,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2590,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2618,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2679,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2603,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2937,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2769,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2798,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2830,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2853,7 +3078,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2951,7 +3179,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2986,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3068,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3103,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3136,8 +3376,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3192,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3207,17 +3453,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3242,7 +3497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3250,7 +3508,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3285,7 +3546,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3330,7 +3594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3386,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3401,17 +3671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3436,7 +3715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3444,7 +3726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3454,7 +3739,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3464,14 +3752,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3481,7 +3775,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3493,7 +3790,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3528,7 +3828,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3539,20 +3842,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3592,11 +3907,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3614,7 +3935,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3672,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3707,7 +4034,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3717,7 +4047,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3772,21 +4105,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3829,7 +4174,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3875,7 +4223,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3886,7 +4237,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3921,7 +4275,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3961,12 +4318,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4012,7 +4375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4025,7 +4391,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4062,7 +4431,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4107,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4132,7 +4507,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4154,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4173,7 +4554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4182,7 +4566,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4218,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4247,7 +4637,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4281,7 +4674,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4299,12 +4695,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4353,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4413,7 +4821,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4422,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4469,7 +4883,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4502,11 +4919,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4553,7 +4976,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4590,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4610,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4648,7 +5080,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4664,7 +5099,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4695,7 +5133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4714,7 +5155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4754,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5230,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4820,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4839,7 +5292,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4858,7 +5314,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4888,7 +5347,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4951,7 +5413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5002,7 +5467,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5018,7 +5486,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5052,7 +5523,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5074,7 +5548,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5086,7 +5563,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5109,7 +5589,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5188,12 +5671,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5254,27 +5743,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deploymentlist-apps-v1beta1.json b/v1.12.3-standalone/deploymentlist-apps-v1beta1.json index 3b09f34415..d4541c3fd8 100644 --- a/v1.12.3-standalone/deploymentlist-apps-v1beta1.json +++ b/v1.12.3-standalone/deploymentlist-apps-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,26 +414,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -417,7 +456,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -466,7 +508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -491,7 +536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -504,7 +552,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -527,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -586,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -628,7 +688,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -690,7 +753,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -772,7 +838,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -815,11 +884,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -869,7 +944,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1230,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1328,7 +1412,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1421,7 +1508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1457,7 +1547,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1539,7 +1632,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1613,7 +1712,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1645,7 +1747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1668,7 +1773,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1766,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1801,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1883,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1918,7 +2035,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2071,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2065,7 +2203,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2100,7 +2241,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2145,7 +2289,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2201,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2216,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2251,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2269,7 +2434,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,14 +2447,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2296,7 +2470,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2485,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2343,7 +2523,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2354,20 +2537,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2407,11 +2602,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2429,7 +2630,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2487,7 +2691,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2612,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2733,7 +2949,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2778,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3029,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2839,7 +3064,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2862,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2960,7 +3191,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2995,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3077,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3112,9 +3352,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3145,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3201,7 +3447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3216,17 +3465,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3251,7 +3509,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3259,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3294,7 +3558,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3339,7 +3606,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3395,7 +3665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3410,17 +3683,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3445,7 +3727,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3738,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3463,7 +3751,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3473,14 +3764,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3490,7 +3787,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3502,7 +3802,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3537,7 +3840,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3548,20 +3854,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3601,11 +3919,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3623,7 +3947,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3681,7 +4008,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3716,7 +4046,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3726,7 +4059,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3781,21 +4117,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3838,7 +4186,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3884,7 +4235,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3895,7 +4249,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3930,7 +4287,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3970,12 +4330,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4034,7 +4403,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4071,7 +4443,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4116,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4141,7 +4519,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4163,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4182,7 +4566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4191,7 +4578,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4227,7 +4617,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4256,7 +4649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4290,7 +4686,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4308,12 +4707,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4362,7 +4767,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4372,7 +4780,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4422,7 +4833,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4431,7 +4845,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4478,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4511,11 +4931,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4599,7 +5028,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4619,7 +5051,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4657,7 +5092,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4673,7 +5111,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4704,7 +5145,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4723,7 +5167,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4763,7 +5210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5242,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4829,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4848,7 +5304,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4867,7 +5326,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4897,7 +5359,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4960,7 +5425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5011,7 +5479,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5027,7 +5498,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5061,7 +5535,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5083,7 +5560,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5095,7 +5575,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5118,7 +5601,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5197,12 +5683,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5263,27 +5755,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deploymentlist-apps-v1beta2.json b/v1.12.3-standalone/deploymentlist-apps-v1beta2.json index 5e1257ddb0..de82c65424 100644 --- a/v1.12.3-standalone/deploymentlist-apps-v1beta2.json +++ b/v1.12.3-standalone/deploymentlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,26 +415,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -457,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -495,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +566,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +594,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +631,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -619,7 +676,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -681,7 +741,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -763,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -806,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -860,7 +932,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1128,7 +1203,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1221,7 +1299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1319,7 +1400,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1412,7 +1496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1448,7 +1535,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1530,7 +1620,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1575,7 +1668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1604,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1636,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1659,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1757,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1985,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1909,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1942,7 +2059,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1998,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2013,17 +2136,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2048,7 +2180,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2056,7 +2191,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2091,7 +2229,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2136,7 +2277,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2192,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2207,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2242,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2250,7 +2409,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2260,7 +2422,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2270,14 +2435,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2287,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2299,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2334,7 +2511,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2345,20 +2525,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2398,11 +2590,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2420,7 +2618,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2478,7 +2679,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2603,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2724,7 +2937,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2769,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2798,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2830,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2853,7 +3078,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2951,7 +3179,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2986,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3068,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3103,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3136,8 +3376,11 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "httpGet": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", @@ -3192,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3207,17 +3453,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3242,7 +3497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3250,7 +3508,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3285,7 +3546,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3330,7 +3594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3386,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3401,17 +3671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3436,7 +3715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3444,7 +3726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3454,7 +3739,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3464,14 +3752,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3481,7 +3775,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3493,7 +3790,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3528,7 +3828,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3539,20 +3842,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3592,11 +3907,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3614,7 +3935,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3672,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3707,7 +4034,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3717,7 +4047,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3772,21 +4105,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3829,7 +4174,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3875,7 +4223,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3886,7 +4237,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3921,7 +4275,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3961,12 +4318,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4012,7 +4375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4025,7 +4391,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4062,7 +4431,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4107,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4132,7 +4507,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4154,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4173,7 +4554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4182,7 +4566,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4218,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4247,7 +4637,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4281,7 +4674,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4299,12 +4695,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4353,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4363,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4413,7 +4821,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4422,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4469,7 +4883,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4502,11 +4919,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4553,7 +4976,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4590,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4610,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4648,7 +5080,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4664,7 +5099,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4695,7 +5133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4714,7 +5155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4754,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5230,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4820,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4839,7 +5292,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4858,7 +5314,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4888,7 +5347,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4951,7 +5413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5002,7 +5467,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5018,7 +5486,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5052,7 +5523,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5074,7 +5548,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5086,7 +5563,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5109,7 +5589,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5188,12 +5671,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5254,27 +5743,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deploymentlist-extensions-v1beta1.json b/v1.12.3-standalone/deploymentlist-extensions-v1beta1.json index 71535d919b..9a29ff7f0b 100644 --- a/v1.12.3-standalone/deploymentlist-extensions-v1beta1.json +++ b/v1.12.3-standalone/deploymentlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,26 +414,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -417,7 +456,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -466,7 +508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -491,7 +536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -504,7 +552,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -527,7 +578,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +606,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -586,7 +643,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -628,7 +688,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -690,7 +753,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -772,7 +838,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -815,11 +884,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -869,7 +944,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1137,7 +1215,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1230,7 +1311,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1328,7 +1412,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1421,7 +1508,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1457,7 +1547,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1539,7 +1632,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1613,7 +1712,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1645,7 +1747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1668,7 +1773,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1766,7 +1874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1801,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1883,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1918,7 +2035,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2071,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2007,7 +2130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2022,17 +2148,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2057,7 +2192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2065,7 +2203,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2100,7 +2241,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2145,7 +2289,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2201,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2216,17 +2366,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2251,7 +2410,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2259,7 +2421,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2269,7 +2434,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2279,14 +2447,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2296,7 +2470,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2308,7 +2485,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2343,7 +2523,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2354,20 +2537,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2407,11 +2602,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2429,7 +2630,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2487,7 +2691,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2612,15 +2819,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2733,7 +2949,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2778,7 +2997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2807,7 +3029,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2839,7 +3064,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2862,7 +3090,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2960,7 +3191,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2995,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3077,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3112,9 +3352,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3145,7 +3388,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3201,7 +3447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3216,17 +3465,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3251,7 +3509,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3259,7 +3520,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3294,7 +3558,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3339,7 +3606,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3395,7 +3665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3410,17 +3683,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3445,7 +3727,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3453,7 +3738,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3463,7 +3751,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3473,14 +3764,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3490,7 +3787,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3502,7 +3802,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3537,7 +3840,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3548,20 +3854,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3601,11 +3919,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3623,7 +3947,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3681,7 +4008,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3716,7 +4046,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3726,7 +4059,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3781,21 +4117,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3838,7 +4186,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3884,7 +4235,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3895,7 +4249,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3930,7 +4287,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3970,12 +4330,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4034,7 +4403,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4071,7 +4443,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4116,7 +4491,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4141,7 +4519,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4163,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4182,7 +4566,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4191,7 +4578,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4227,7 +4617,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4256,7 +4649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4290,7 +4686,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4308,12 +4707,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4362,7 +4767,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4372,7 +4780,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4422,7 +4833,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4431,7 +4845,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4478,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4511,11 +4931,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4599,7 +5028,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4619,7 +5051,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4657,7 +5092,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4673,7 +5111,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4704,7 +5145,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4723,7 +5167,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4763,7 +5210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5242,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4829,7 +5282,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4848,7 +5304,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4867,7 +5326,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4897,7 +5359,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4960,7 +5425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5011,7 +5479,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5027,7 +5498,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5061,7 +5535,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5083,7 +5560,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5095,7 +5575,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5118,7 +5601,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5197,12 +5683,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5263,27 +5755,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deploymentlist.json b/v1.12.3-standalone/deploymentlist.json index af6d7db68f..c998e5efca 100644 --- a/v1.12.3-standalone/deploymentlist.json +++ b/v1.12.3-standalone/deploymentlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,26 +405,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -408,7 +447,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -457,7 +499,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -495,7 +543,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -518,7 +569,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -543,7 +597,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -577,7 +634,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -616,7 +676,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -678,7 +741,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -760,7 +826,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -803,11 +872,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -857,7 +932,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1125,7 +1203,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1218,7 +1299,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1316,7 +1400,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1409,7 +1496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1445,7 +1535,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1527,7 +1620,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1572,7 +1668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1601,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1633,7 +1735,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1656,7 +1761,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1754,7 +1862,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1789,7 +1900,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1871,7 +1985,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1906,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1939,7 +2059,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1995,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2010,17 +2136,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2045,7 +2180,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2053,7 +2191,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2088,7 +2229,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2133,7 +2277,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2189,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2204,17 +2354,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2239,7 +2398,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2247,7 +2409,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2257,7 +2422,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2267,14 +2435,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2284,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2296,7 +2473,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2331,7 +2511,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2342,20 +2525,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2395,11 +2590,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2417,7 +2618,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2475,7 +2679,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2600,15 +2807,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2721,7 +2937,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2766,7 +2985,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2795,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2827,7 +3052,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2850,7 +3078,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2948,7 +3179,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2983,7 +3217,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3065,7 +3302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3100,9 +3340,12 @@ ] }, { - "type": "integer" - } - ] + "type": [ + "integer", + "null" + ] + } + ] } } } @@ -3133,7 +3376,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3189,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3204,17 +3453,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3239,7 +3497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3247,7 +3508,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3282,7 +3546,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3327,7 +3594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3383,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3398,17 +3671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3433,7 +3715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3441,7 +3726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3451,7 +3739,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3461,14 +3752,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3478,7 +3775,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3490,7 +3790,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3525,7 +3828,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3536,20 +3842,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3589,11 +3907,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3611,7 +3935,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3669,7 +3996,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3704,7 +4034,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3714,7 +4047,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3769,21 +4105,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3826,7 +4174,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3872,7 +4223,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3883,7 +4237,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3918,7 +4275,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3958,12 +4318,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -4009,7 +4375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4022,7 +4391,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4059,7 +4431,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4104,7 +4479,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4129,7 +4507,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4170,7 +4554,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4179,7 +4566,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4215,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4637,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4278,7 +4674,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4296,12 +4695,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4350,7 +4755,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4360,7 +4768,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4410,7 +4821,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4419,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4466,7 +4883,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4499,11 +4919,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4550,7 +4976,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4587,7 +5016,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4607,7 +5039,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4645,7 +5080,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4661,7 +5099,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4692,7 +5133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4751,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4780,7 +5230,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4817,7 +5270,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4836,7 +5292,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4855,7 +5314,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4885,7 +5347,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4948,7 +5413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4999,7 +5467,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5015,7 +5486,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5049,7 +5523,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5071,7 +5548,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5083,7 +5563,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5106,7 +5589,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5185,12 +5671,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5251,27 +5743,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/deploymentrollback-apps-v1beta1.json b/v1.12.3-standalone/deploymentrollback-apps-v1beta1.json index f715274a33..8b16c404ad 100644 --- a/v1.12.3-standalone/deploymentrollback-apps-v1beta1.json +++ b/v1.12.3-standalone/deploymentrollback-apps-v1beta1.json @@ -37,14 +37,20 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/deploymentrollback-extensions-v1beta1.json b/v1.12.3-standalone/deploymentrollback-extensions-v1beta1.json index 49f8136c80..9dbff1740d 100644 --- a/v1.12.3-standalone/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.3-standalone/deploymentrollback-extensions-v1beta1.json @@ -37,14 +37,20 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/deploymentrollback.json b/v1.12.3-standalone/deploymentrollback.json index 11855f135c..b096d11642 100644 --- a/v1.12.3-standalone/deploymentrollback.json +++ b/v1.12.3-standalone/deploymentrollback.json @@ -34,14 +34,20 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/deploymentspec-apps-v1.json b/v1.12.3-standalone/deploymentspec-apps-v1.json index c16e9c6f08..9e80d7cddb 100644 --- a/v1.12.3-standalone/deploymentspec-apps-v1.json +++ b/v1.12.3-standalone/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -134,7 +158,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -159,7 +186,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -193,7 +223,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -235,7 +268,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -297,7 +333,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -379,7 +418,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -422,11 +464,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -476,7 +524,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -744,7 +795,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -837,7 +891,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -935,7 +992,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1028,7 +1088,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1064,7 +1127,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1146,7 +1212,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1191,7 +1260,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1220,7 +1292,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1252,7 +1327,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1275,7 +1353,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1373,7 +1454,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1408,7 +1492,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1490,7 +1577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1525,7 +1615,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1629,17 +1728,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1664,7 +1772,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1672,7 +1783,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1707,7 +1821,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1752,7 +1869,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1808,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,17 +1946,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1858,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +2001,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1876,7 +2014,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1886,14 +2027,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1903,7 +2050,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1915,7 +2065,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1950,7 +2103,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1961,20 +2117,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2014,11 +2182,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2036,7 +2210,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2094,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2219,15 +2399,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2340,7 +2529,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2385,7 +2577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2414,7 +2609,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2446,7 +2644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2469,7 +2670,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2567,7 +2771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2602,7 +2809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2684,7 +2894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2719,7 +2932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2752,7 +2968,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2808,7 +3027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2823,17 +3045,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2858,7 +3089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2866,7 +3100,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2901,7 +3138,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2946,7 +3186,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3002,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,17 +3263,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3052,7 +3307,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3060,7 +3318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3070,7 +3331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3080,14 +3344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3097,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3382,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3144,7 +3420,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3155,20 +3434,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3208,11 +3499,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3230,7 +3527,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3288,7 +3588,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3323,7 +3626,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3333,7 +3639,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3388,21 +3697,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3445,7 +3766,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3491,7 +3815,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3502,7 +3829,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3537,7 +3867,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3577,12 +3910,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3628,7 +3967,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3641,7 +3983,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3678,7 +4023,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3723,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3748,7 +4099,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3770,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3789,7 +4146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3798,7 +4158,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3834,7 +4197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3897,7 +4266,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3915,12 +4287,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3969,7 +4347,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3979,7 +4360,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4029,7 +4413,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4038,7 +4425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4085,7 +4475,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4118,11 +4511,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4169,7 +4568,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4206,7 +4608,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4226,7 +4631,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4264,7 +4672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4280,7 +4691,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4311,7 +4725,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4330,7 +4747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4370,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4399,7 +4822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4436,7 +4862,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4455,7 +4884,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4474,7 +4906,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4504,7 +4939,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4567,7 +5005,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4618,7 +5059,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4634,7 +5078,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4668,7 +5115,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4690,7 +5140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4702,7 +5155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4725,7 +5181,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/deploymentspec-apps-v1beta1.json b/v1.12.3-standalone/deploymentspec-apps-v1beta1.json index 082d8f4bba..96a0555e2b 100644 --- a/v1.12.3-standalone/deploymentspec-apps-v1beta1.json +++ b/v1.12.3-standalone/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -82,7 +100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -120,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -143,7 +170,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -168,7 +198,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -202,7 +235,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -244,7 +280,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -306,7 +345,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -388,7 +430,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -431,11 +476,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -753,7 +807,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -846,7 +903,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -944,7 +1004,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1037,7 +1100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1073,7 +1139,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1155,7 +1224,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1229,7 +1304,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1261,7 +1339,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1284,7 +1365,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1382,7 +1466,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1589,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,7 +1627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1567,7 +1663,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1623,7 +1722,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1638,17 +1740,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1673,7 +1784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1681,7 +1795,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1716,7 +1833,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1761,7 +1881,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1817,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1832,17 +1958,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1867,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +2013,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1885,7 +2026,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2039,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1924,7 +2077,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1959,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1970,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2023,11 +2194,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2045,7 +2222,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2103,7 +2283,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2228,15 +2411,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2349,7 +2541,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2394,7 +2589,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2423,7 +2621,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2455,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2478,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2576,7 +2783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2693,7 +2906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2728,7 +2944,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2761,7 +2980,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2817,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2832,17 +3057,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2867,7 +3101,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2875,7 +3112,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2910,7 +3150,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2955,7 +3198,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3011,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,17 +3275,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3061,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3330,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3079,7 +3343,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3089,14 +3356,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3106,7 +3379,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3118,7 +3394,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3153,7 +3432,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3164,20 +3446,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3217,11 +3511,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3239,7 +3539,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3297,7 +3600,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3332,7 +3638,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3342,7 +3651,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3397,21 +3709,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3454,7 +3778,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3500,7 +3827,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3511,7 +3841,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3546,7 +3879,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3586,12 +3922,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3637,7 +3979,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3650,7 +3995,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3687,7 +4035,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3732,7 +4083,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3757,7 +4111,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3779,7 +4136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3798,7 +4158,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3807,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3843,7 +4209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3872,7 +4241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3906,7 +4278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3924,12 +4299,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3978,7 +4359,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3988,7 +4372,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4038,7 +4425,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4047,7 +4437,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4094,7 +4487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4127,11 +4523,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4178,7 +4580,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4215,7 +4620,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4235,7 +4643,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4273,7 +4684,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4289,7 +4703,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4320,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4339,7 +4759,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4379,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4408,7 +4834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4445,7 +4874,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4464,7 +4896,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4483,7 +4918,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4513,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4576,7 +5017,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4627,7 +5071,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4643,7 +5090,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4677,7 +5127,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4699,7 +5152,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5167,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4734,7 +5193,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/deploymentspec-apps-v1beta2.json b/v1.12.3-standalone/deploymentspec-apps-v1beta2.json index c16e9c6f08..9e80d7cddb 100644 --- a/v1.12.3-standalone/deploymentspec-apps-v1beta2.json +++ b/v1.12.3-standalone/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -73,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +116,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +132,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -134,7 +158,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -159,7 +186,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -193,7 +223,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -235,7 +268,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -297,7 +333,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -379,7 +418,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -422,11 +464,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -476,7 +524,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -744,7 +795,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -837,7 +891,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -935,7 +992,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1028,7 +1088,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1064,7 +1127,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1146,7 +1212,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1191,7 +1260,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1220,7 +1292,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1252,7 +1327,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1275,7 +1353,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1373,7 +1454,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1408,7 +1492,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1490,7 +1577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1525,7 +1615,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1651,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1614,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1629,17 +1728,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1664,7 +1772,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1672,7 +1783,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1707,7 +1821,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1752,7 +1869,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1808,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,17 +1946,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1858,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +2001,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1876,7 +2014,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1886,14 +2027,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1903,7 +2050,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1915,7 +2065,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1950,7 +2103,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1961,20 +2117,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2014,11 +2182,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2036,7 +2210,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2094,7 +2271,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2219,15 +2399,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2340,7 +2529,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2385,7 +2577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2414,7 +2609,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2446,7 +2644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2469,7 +2670,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2567,7 +2771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2602,7 +2809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2684,7 +2894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2719,7 +2932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2752,7 +2968,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2808,7 +3027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2823,17 +3045,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2858,7 +3089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2866,7 +3100,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2901,7 +3138,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2946,7 +3186,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3002,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,17 +3263,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3052,7 +3307,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3060,7 +3318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3070,7 +3331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3080,14 +3344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3097,7 +3367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3109,7 +3382,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3144,7 +3420,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3155,20 +3434,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3208,11 +3499,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3230,7 +3527,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3288,7 +3588,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3323,7 +3626,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3333,7 +3639,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3388,21 +3697,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3445,7 +3766,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3491,7 +3815,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3502,7 +3829,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3537,7 +3867,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3577,12 +3910,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3628,7 +3967,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3641,7 +3983,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3678,7 +4023,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3723,7 +4071,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3748,7 +4099,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3770,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3789,7 +4146,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3798,7 +4158,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3834,7 +4197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3897,7 +4266,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3915,12 +4287,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3969,7 +4347,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3979,7 +4360,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4029,7 +4413,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4038,7 +4425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4085,7 +4475,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4118,11 +4511,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4169,7 +4568,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4206,7 +4608,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4226,7 +4631,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4264,7 +4672,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4280,7 +4691,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4311,7 +4725,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4330,7 +4747,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4370,7 +4790,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4399,7 +4822,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4436,7 +4862,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4455,7 +4884,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4474,7 +4906,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4504,7 +4939,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4567,7 +5005,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4618,7 +5059,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4634,7 +5078,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4668,7 +5115,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4690,7 +5140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4702,7 +5155,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4725,7 +5181,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/deploymentspec-extensions-v1beta1.json b/v1.12.3-standalone/deploymentspec-extensions-v1beta1.json index 02716a163c..6f3c9eb1b0 100644 --- a/v1.12.3-standalone/deploymentspec-extensions-v1beta1.json +++ b/v1.12.3-standalone/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -82,7 +100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -120,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -143,7 +170,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -168,7 +198,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -202,7 +235,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -244,7 +280,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -306,7 +345,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -388,7 +430,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -431,11 +476,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +536,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -753,7 +807,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -846,7 +903,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -944,7 +1004,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1037,7 +1100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1073,7 +1139,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1155,7 +1224,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1272,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1229,7 +1304,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1261,7 +1339,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1284,7 +1365,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1382,7 +1466,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1499,7 +1589,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,7 +1627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1567,7 +1663,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1623,7 +1722,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1638,17 +1740,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1673,7 +1784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1681,7 +1795,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1716,7 +1833,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1761,7 +1881,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1817,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1832,17 +1958,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1867,7 +2002,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +2013,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1885,7 +2026,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1895,14 +2039,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1912,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1924,7 +2077,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1959,7 +2115,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1970,20 +2129,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2023,11 +2194,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2045,7 +2222,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2103,7 +2283,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2228,15 +2411,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2349,7 +2541,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2394,7 +2589,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2423,7 +2621,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2455,7 +2656,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2478,7 +2682,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2576,7 +2783,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2693,7 +2906,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2728,7 +2944,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2761,7 +2980,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2817,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2832,17 +3057,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2867,7 +3101,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2875,7 +3112,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2910,7 +3150,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2955,7 +3198,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3011,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3026,17 +3275,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3061,7 +3319,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3330,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3079,7 +3343,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3089,14 +3356,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3106,7 +3379,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3118,7 +3394,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3153,7 +3432,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3164,20 +3446,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3217,11 +3511,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3239,7 +3539,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3297,7 +3600,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3332,7 +3638,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3342,7 +3651,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3397,21 +3709,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3454,7 +3778,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3500,7 +3827,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3511,7 +3841,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3546,7 +3879,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3586,12 +3922,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3637,7 +3979,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3650,7 +3995,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3687,7 +4035,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3732,7 +4083,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3757,7 +4111,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3779,7 +4136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3798,7 +4158,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3807,7 +4170,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3843,7 +4209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3872,7 +4241,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3906,7 +4278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3924,12 +4299,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3978,7 +4359,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3988,7 +4372,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4038,7 +4425,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4047,7 +4437,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4094,7 +4487,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4127,11 +4523,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4178,7 +4580,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4215,7 +4620,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4235,7 +4643,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4273,7 +4684,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4289,7 +4703,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4320,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4339,7 +4759,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4379,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4408,7 +4834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4445,7 +4874,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4464,7 +4896,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4483,7 +4918,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4513,7 +4951,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4576,7 +5017,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4627,7 +5071,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4643,7 +5090,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4677,7 +5127,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4699,7 +5152,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5167,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4734,7 +5193,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/deploymentspec.json b/v1.12.3-standalone/deploymentspec.json index 89901efcfd..0750b468b9 100644 --- a/v1.12.3-standalone/deploymentspec.json +++ b/v1.12.3-standalone/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { @@ -33,7 +48,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } @@ -82,7 +100,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -107,7 +128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -120,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -143,7 +170,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -168,7 +198,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -202,7 +235,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -241,7 +277,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -303,7 +342,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -385,7 +427,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -428,11 +473,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -482,7 +533,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -750,7 +804,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -843,7 +900,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -941,7 +1001,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1034,7 +1097,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1070,7 +1136,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1152,7 +1221,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1197,7 +1269,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1226,7 +1301,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1258,7 +1336,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1281,7 +1362,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1379,7 +1463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1414,7 +1501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1496,7 +1586,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1531,7 +1624,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1564,7 +1660,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1620,7 +1719,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1635,17 +1737,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1670,7 +1781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1678,7 +1792,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1713,7 +1830,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1758,7 +1878,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1814,7 +1937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,17 +1955,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1864,7 +1999,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1872,7 +2010,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1882,7 +2023,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1892,14 +2036,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1909,7 +2059,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1921,7 +2074,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1956,7 +2112,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1967,20 +2126,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2020,11 +2191,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2042,7 +2219,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2100,7 +2280,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2225,15 +2408,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2346,7 +2538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2391,7 +2586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2420,7 +2618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2452,7 +2653,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2475,7 +2679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2573,7 +2780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2608,7 +2818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2690,7 +2903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2725,7 +2941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2758,7 +2977,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2814,7 +3036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2829,17 +3054,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2864,7 +3098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2872,7 +3109,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2907,7 +3147,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2952,7 +3195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3008,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,17 +3272,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3058,7 +3316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3066,7 +3327,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3076,7 +3340,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3086,14 +3353,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3103,7 +3376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3115,7 +3391,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3150,7 +3429,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3161,20 +3443,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3214,11 +3508,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3236,7 +3536,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3294,7 +3597,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3329,7 +3635,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3339,7 +3648,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3394,21 +3706,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3451,7 +3775,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3497,7 +3824,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3508,7 +3838,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3543,7 +3876,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3583,12 +3919,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3634,7 +3976,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3647,7 +3992,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3684,7 +4032,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3729,7 +4080,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3754,7 +4108,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4133,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3795,7 +4155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3804,7 +4167,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3840,7 +4206,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3869,7 +4238,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3903,7 +4275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3921,12 +4296,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3975,7 +4356,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3985,7 +4369,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4035,7 +4422,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4044,7 +4434,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4091,7 +4484,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,11 +4520,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4175,7 +4577,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4212,7 +4617,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4232,7 +4640,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4270,7 +4681,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4286,7 +4700,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4317,7 +4734,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4336,7 +4756,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4376,7 +4799,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4405,7 +4831,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4442,7 +4871,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4461,7 +4893,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4480,7 +4915,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4510,7 +4948,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4573,7 +5014,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4624,7 +5068,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4640,7 +5087,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4674,7 +5124,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4696,7 +5149,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4708,7 +5164,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4731,7 +5190,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/deploymentstatus-apps-v1.json b/v1.12.3-standalone/deploymentstatus-apps-v1.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.3-standalone/deploymentstatus-apps-v1.json +++ b/v1.12.3-standalone/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/deploymentstatus-apps-v1beta1.json b/v1.12.3-standalone/deploymentstatus-apps-v1beta1.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.3-standalone/deploymentstatus-apps-v1beta1.json +++ b/v1.12.3-standalone/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/deploymentstatus-apps-v1beta2.json b/v1.12.3-standalone/deploymentstatus-apps-v1beta2.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.3-standalone/deploymentstatus-apps-v1beta2.json +++ b/v1.12.3-standalone/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/deploymentstatus-extensions-v1beta1.json b/v1.12.3-standalone/deploymentstatus-extensions-v1beta1.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.3-standalone/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.3-standalone/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/deploymentstatus.json b/v1.12.3-standalone/deploymentstatus.json index 2008d2fc53..cc5a9704e6 100644 --- a/v1.12.3-standalone/deploymentstatus.json +++ b/v1.12.3-standalone/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -69,27 +75,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/deploymentstrategy-apps-v1.json b/v1.12.3-standalone/deploymentstrategy-apps-v1.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.3-standalone/deploymentstrategy-apps-v1.json +++ b/v1.12.3-standalone/deploymentstrategy-apps-v1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/deploymentstrategy-apps-v1beta1.json b/v1.12.3-standalone/deploymentstrategy-apps-v1beta1.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.3-standalone/deploymentstrategy-apps-v1beta1.json +++ b/v1.12.3-standalone/deploymentstrategy-apps-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/deploymentstrategy-apps-v1beta2.json b/v1.12.3-standalone/deploymentstrategy-apps-v1beta2.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.3-standalone/deploymentstrategy-apps-v1beta2.json +++ b/v1.12.3-standalone/deploymentstrategy-apps-v1beta2.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/deploymentstrategy-extensions-v1beta1.json b/v1.12.3-standalone/deploymentstrategy-extensions-v1beta1.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.3-standalone/deploymentstrategy-extensions-v1beta1.json +++ b/v1.12.3-standalone/deploymentstrategy-extensions-v1beta1.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/deploymentstrategy.json b/v1.12.3-standalone/deploymentstrategy.json index 84b728d9fc..8f416a843f 100644 --- a/v1.12.3-standalone/deploymentstrategy.json +++ b/v1.12.3-standalone/deploymentstrategy.json @@ -13,7 +13,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/downwardapiprojection-v1.json b/v1.12.3-standalone/downwardapiprojection-v1.json index 6bfb3bf228..ac68804d44 100644 --- a/v1.12.3-standalone/downwardapiprojection-v1.json +++ b/v1.12.3-standalone/downwardapiprojection-v1.json @@ -34,7 +34,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -63,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/downwardapiprojection.json b/v1.12.3-standalone/downwardapiprojection.json index 6bfb3bf228..ac68804d44 100644 --- a/v1.12.3-standalone/downwardapiprojection.json +++ b/v1.12.3-standalone/downwardapiprojection.json @@ -34,7 +34,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -63,7 +66,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/downwardapivolumefile-v1.json b/v1.12.3-standalone/downwardapivolumefile-v1.json index bf65d50705..7e52bd0862 100644 --- a/v1.12.3-standalone/downwardapivolumefile-v1.json +++ b/v1.12.3-standalone/downwardapivolumefile-v1.json @@ -25,7 +25,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -57,7 +60,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/downwardapivolumefile.json b/v1.12.3-standalone/downwardapivolumefile.json index bf65d50705..7e52bd0862 100644 --- a/v1.12.3-standalone/downwardapivolumefile.json +++ b/v1.12.3-standalone/downwardapivolumefile.json @@ -25,7 +25,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -57,7 +60,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/downwardapivolumesource-v1.json b/v1.12.3-standalone/downwardapivolumesource-v1.json index 112f6cf719..fa49f50e59 100644 --- a/v1.12.3-standalone/downwardapivolumesource-v1.json +++ b/v1.12.3-standalone/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -39,7 +42,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -68,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/downwardapivolumesource.json b/v1.12.3-standalone/downwardapivolumesource.json index 112f6cf719..fa49f50e59 100644 --- a/v1.12.3-standalone/downwardapivolumesource.json +++ b/v1.12.3-standalone/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -39,7 +42,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -68,7 +74,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/emptydirvolumesource-v1.json b/v1.12.3-standalone/emptydirvolumesource-v1.json index 74672edcd9..5859ae2ed8 100644 --- a/v1.12.3-standalone/emptydirvolumesource-v1.json +++ b/v1.12.3-standalone/emptydirvolumesource-v1.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/emptydirvolumesource.json b/v1.12.3-standalone/emptydirvolumesource.json index 74672edcd9..5859ae2ed8 100644 --- a/v1.12.3-standalone/emptydirvolumesource.json +++ b/v1.12.3-standalone/emptydirvolumesource.json @@ -17,7 +17,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/endpointport-v1.json b/v1.12.3-standalone/endpointport-v1.json index f972b838b7..07ab862b85 100644 --- a/v1.12.3-standalone/endpointport-v1.json +++ b/v1.12.3-standalone/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-standalone/endpointport.json b/v1.12.3-standalone/endpointport.json index f972b838b7..07ab862b85 100644 --- a/v1.12.3-standalone/endpointport.json +++ b/v1.12.3-standalone/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3-standalone/endpoints-v1.json b/v1.12.3-standalone/endpoints-v1.json index 7d38970955..29ccb95bcd 100644 --- a/v1.12.3-standalone/endpoints-v1.json +++ b/v1.12.3-standalone/endpoints-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/endpoints.json b/v1.12.3-standalone/endpoints.json index d5f6a1f286..8d42d33237 100644 --- a/v1.12.3-standalone/endpoints.json +++ b/v1.12.3-standalone/endpoints.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/endpointslist-v1.json b/v1.12.3-standalone/endpointslist-v1.json index 9fed6b53b8..a5a3d275cb 100644 --- a/v1.12.3-standalone/endpointslist-v1.json +++ b/v1.12.3-standalone/endpointslist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/endpointslist.json b/v1.12.3-standalone/endpointslist.json index 4e3a1b8d9c..c4c3c26f73 100644 --- a/v1.12.3-standalone/endpointslist.json +++ b/v1.12.3-standalone/endpointslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/envfromsource-v1.json b/v1.12.3-standalone/envfromsource-v1.json index ac7c5a5e83..19ef1c8c57 100644 --- a/v1.12.3-standalone/envfromsource-v1.json +++ b/v1.12.3-standalone/envfromsource-v1.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -36,7 +39,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.3-standalone/envfromsource.json b/v1.12.3-standalone/envfromsource.json index ac7c5a5e83..19ef1c8c57 100644 --- a/v1.12.3-standalone/envfromsource.json +++ b/v1.12.3-standalone/envfromsource.json @@ -13,7 +13,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -36,7 +39,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.3-standalone/envvar-v1.json b/v1.12.3-standalone/envvar-v1.json index 683ac66b69..d5cb37552c 100644 --- a/v1.12.3-standalone/envvar-v1.json +++ b/v1.12.3-standalone/envvar-v1.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -85,7 +88,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +120,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.3-standalone/envvar.json b/v1.12.3-standalone/envvar.json index 683ac66b69..d5cb37552c 100644 --- a/v1.12.3-standalone/envvar.json +++ b/v1.12.3-standalone/envvar.json @@ -40,7 +40,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -85,7 +88,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +120,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.3-standalone/envvarsource-v1.json b/v1.12.3-standalone/envvarsource-v1.json index c5d92ee344..4e9f4018ba 100644 --- a/v1.12.3-standalone/envvarsource-v1.json +++ b/v1.12.3-standalone/envvarsource-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -65,7 +68,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -94,7 +100,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.3-standalone/envvarsource.json b/v1.12.3-standalone/envvarsource.json index c5d92ee344..4e9f4018ba 100644 --- a/v1.12.3-standalone/envvarsource.json +++ b/v1.12.3-standalone/envvarsource.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -65,7 +68,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -94,7 +100,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } diff --git a/v1.12.3-standalone/event-events-v1beta1.json b/v1.12.3-standalone/event-events-v1beta1.json index 4b91ccd30a..a940f3d814 100644 --- a/v1.12.3-standalone/event-events-v1beta1.json +++ b/v1.12.3-standalone/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -84,7 +87,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -109,7 +115,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -143,7 +152,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -185,7 +197,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -247,7 +262,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -329,7 +347,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -372,11 +393,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/event-v1.json b/v1.12.3-standalone/event-v1.json index 64ab4077cb..453d36fd02 100644 --- a/v1.12.3-standalone/event-v1.json +++ b/v1.12.3-standalone/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -127,7 +130,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -152,7 +158,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -186,7 +195,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -228,7 +240,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -290,7 +305,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -372,7 +390,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -415,11 +436,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -541,7 +568,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone/event.json b/v1.12.3-standalone/event.json index 15e51cb712..24404590bb 100644 --- a/v1.12.3-standalone/event.json +++ b/v1.12.3-standalone/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -81,7 +84,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -106,7 +112,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -140,7 +149,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -179,7 +191,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -241,7 +256,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -323,7 +341,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -366,11 +387,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/eventlist-events-v1beta1.json b/v1.12.3-standalone/eventlist-events-v1beta1.json index e45844b69d..9c551f0093 100644 --- a/v1.12.3-standalone/eventlist-events-v1beta1.json +++ b/v1.12.3-standalone/eventlist-events-v1beta1.json @@ -45,7 +45,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -103,7 +106,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +134,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -162,7 +171,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -204,7 +216,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -266,7 +281,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -348,7 +366,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -391,11 +412,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/eventlist-v1.json b/v1.12.3-standalone/eventlist-v1.json index 36b65593ea..d09358f5a7 100644 --- a/v1.12.3-standalone/eventlist-v1.json +++ b/v1.12.3-standalone/eventlist-v1.json @@ -46,7 +46,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { @@ -149,7 +152,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -174,7 +180,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -208,7 +217,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -250,7 +262,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -312,7 +327,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -394,7 +412,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -437,11 +458,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -563,7 +590,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone/eventlist.json b/v1.12.3-standalone/eventlist.json index d5054ece37..e5e5cc8ecd 100644 --- a/v1.12.3-standalone/eventlist.json +++ b/v1.12.3-standalone/eventlist.json @@ -39,7 +39,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { @@ -97,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -195,7 +207,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -257,7 +272,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -339,7 +357,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -382,11 +403,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/eventseries-events-v1beta1.json b/v1.12.3-standalone/eventseries-events-v1beta1.json index 0d50522551..079d7e958d 100644 --- a/v1.12.3-standalone/eventseries-events-v1beta1.json +++ b/v1.12.3-standalone/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone/eventseries-v1.json b/v1.12.3-standalone/eventseries-v1.json index ecb3f64ca2..5a854e040f 100644 --- a/v1.12.3-standalone/eventseries-v1.json +++ b/v1.12.3-standalone/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone/eventseries.json b/v1.12.3-standalone/eventseries.json index 0d50522551..079d7e958d 100644 --- a/v1.12.3-standalone/eventseries.json +++ b/v1.12.3-standalone/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3-standalone/eviction-policy-v1beta1.json b/v1.12.3-standalone/eviction-policy-v1beta1.json index c07a28742e..8d5e1cb7eb 100644 --- a/v1.12.3-standalone/eviction-policy-v1beta1.json +++ b/v1.12.3-standalone/eviction-policy-v1beta1.json @@ -74,7 +74,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -89,7 +92,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -309,7 +315,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +343,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -368,7 +380,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -410,7 +425,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -472,7 +490,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -554,7 +575,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -597,11 +621,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/eviction.json b/v1.12.3-standalone/eviction.json index 2a3d265806..8b7e77c64d 100644 --- a/v1.12.3-standalone/eviction.json +++ b/v1.12.3-standalone/eviction.json @@ -33,7 +33,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -48,7 +51,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", @@ -268,7 +274,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -293,7 +302,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -327,7 +339,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -366,7 +381,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -428,7 +446,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -510,7 +531,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -553,11 +577,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta1.json index 6508496e30..1f2e1495c0 100644 --- a/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta1.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -74,7 +77,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -87,7 +93,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta2.json index 2103a151c3..9ce82fcdde 100644 --- a/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/externalmetricsource-autoscaling-v2beta2.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/externalmetricsource.json b/v1.12.3-standalone/externalmetricsource.json index 2103a151c3..9ce82fcdde 100644 --- a/v1.12.3-standalone/externalmetricsource.json +++ b/v1.12.3-standalone/externalmetricsource.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta1.json index 10ad556034..6406cc7c31 100644 --- a/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -27,7 +30,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -82,7 +88,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta2.json index f3086ae3c6..7852c3b43e 100644 --- a/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/externalmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/externalmetricstatus.json b/v1.12.3-standalone/externalmetricstatus.json index f3086ae3c6..7852c3b43e 100644 --- a/v1.12.3-standalone/externalmetricstatus.json +++ b/v1.12.3-standalone/externalmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/fcvolumesource-v1.json b/v1.12.3-standalone/fcvolumesource-v1.json index f956dfb4a6..018067f431 100644 --- a/v1.12.3-standalone/fcvolumesource-v1.json +++ b/v1.12.3-standalone/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3-standalone/fcvolumesource.json b/v1.12.3-standalone/fcvolumesource.json index f956dfb4a6..018067f431 100644 --- a/v1.12.3-standalone/fcvolumesource.json +++ b/v1.12.3-standalone/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3-standalone/flexpersistentvolumesource-v1.json b/v1.12.3-standalone/flexpersistentvolumesource-v1.json index 85eea104d0..2b53cf46c9 100644 --- a/v1.12.3-standalone/flexpersistentvolumesource-v1.json +++ b/v1.12.3-standalone/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/flexpersistentvolumesource.json b/v1.12.3-standalone/flexpersistentvolumesource.json index 85eea104d0..2b53cf46c9 100644 --- a/v1.12.3-standalone/flexpersistentvolumesource.json +++ b/v1.12.3-standalone/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/flexvolumesource-v1.json b/v1.12.3-standalone/flexvolumesource-v1.json index 5cc7619110..b0320cc9e3 100644 --- a/v1.12.3-standalone/flexvolumesource-v1.json +++ b/v1.12.3-standalone/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/flexvolumesource.json b/v1.12.3-standalone/flexvolumesource.json index 5cc7619110..b0320cc9e3 100644 --- a/v1.12.3-standalone/flexvolumesource.json +++ b/v1.12.3-standalone/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/gcepersistentdiskvolumesource-v1.json b/v1.12.3-standalone/gcepersistentdiskvolumesource-v1.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.3-standalone/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.3-standalone/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/gcepersistentdiskvolumesource.json b/v1.12.3-standalone/gcepersistentdiskvolumesource.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.3-standalone/gcepersistentdiskvolumesource.json +++ b/v1.12.3-standalone/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/glusterfsvolumesource-v1.json b/v1.12.3-standalone/glusterfsvolumesource-v1.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.3-standalone/glusterfsvolumesource-v1.json +++ b/v1.12.3-standalone/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/glusterfsvolumesource.json b/v1.12.3-standalone/glusterfsvolumesource.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.3-standalone/glusterfsvolumesource.json +++ b/v1.12.3-standalone/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/handler-v1.json b/v1.12.3-standalone/handler-v1.json index 56682526db..7cb7eb62b2 100644 --- a/v1.12.3-standalone/handler-v1.json +++ b/v1.12.3-standalone/handler-v1.json @@ -72,7 +72,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -107,7 +110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/handler.json b/v1.12.3-standalone/handler.json index 56682526db..7cb7eb62b2 100644 --- a/v1.12.3-standalone/handler.json +++ b/v1.12.3-standalone/handler.json @@ -72,7 +72,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -107,7 +110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v1.json b/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v1.json index cd4047b97c..6582a85667 100644 --- a/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v1.json +++ b/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -403,7 +430,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -417,7 +447,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -440,7 +473,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json b/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json index 0eb7a4940c..f0907de77e 100644 --- a/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -438,7 +462,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +484,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -470,7 +500,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -493,7 +526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -545,7 +581,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -588,7 +627,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -649,7 +691,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -668,7 +713,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -686,7 +734,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -698,7 +749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -713,7 +767,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -821,7 +878,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -834,7 +894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -886,7 +949,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -915,7 +981,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -928,7 +997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -980,7 +1052,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1032,7 +1107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1084,7 +1162,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1105,7 +1186,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1117,7 +1201,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1154,7 +1241,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json b/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json index c0ae6609b5..61ef203bc0 100644 --- a/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/horizontalpodautoscaler-autoscaling-v2beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -445,7 +469,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +492,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -477,7 +507,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -494,7 +527,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -588,7 +624,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -608,7 +647,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -620,7 +662,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -637,7 +682,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -706,7 +754,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,7 +777,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -738,7 +792,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -755,7 +812,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -782,7 +842,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -794,7 +857,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -811,7 +877,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -828,7 +897,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -932,7 +1004,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -944,7 +1019,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -957,7 +1035,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1017,7 +1098,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1044,7 +1128,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1056,7 +1143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1069,7 +1159,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1153,7 +1246,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1179,7 +1275,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1191,7 +1290,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1204,7 +1306,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1264,7 +1369,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1290,7 +1398,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1302,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1315,7 +1429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1354,7 +1471,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscaler.json b/v1.12.3-standalone/horizontalpodautoscaler.json index 8c92dfb726..2cc0b82aae 100644 --- a/v1.12.3-standalone/horizontalpodautoscaler.json +++ b/v1.12.3-standalone/horizontalpodautoscaler.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -439,7 +463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -459,7 +486,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -471,7 +501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -488,7 +521,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -582,7 +618,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -602,7 +641,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -614,7 +656,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -631,7 +676,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -700,7 +748,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -720,7 +771,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -732,7 +786,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -749,7 +806,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -776,7 +836,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -788,7 +851,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -805,7 +871,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -822,7 +891,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -926,7 +998,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -938,7 +1013,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -951,7 +1029,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1011,7 +1092,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1038,7 +1122,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1050,7 +1137,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1063,7 +1153,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1147,7 +1240,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1173,7 +1269,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1185,7 +1284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1198,7 +1300,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1258,7 +1363,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1284,7 +1392,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1296,7 +1407,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1309,7 +1423,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1348,7 +1465,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v1.json b/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v1.json index 7bee5f49a6..aa0a3fa2f7 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v1.json +++ b/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -425,7 +452,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -439,7 +469,10 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { @@ -462,7 +495,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json b/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json index 3f2d6e5425..bf7827e0cf 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -460,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -479,7 +506,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -492,7 +522,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -515,7 +548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -567,7 +603,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -610,7 +649,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -671,7 +713,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -690,7 +735,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -708,7 +756,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -720,7 +771,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -735,7 +789,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -843,7 +900,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -856,7 +916,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -908,7 +971,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -937,7 +1003,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -950,7 +1019,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1002,7 +1074,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1054,7 +1129,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1106,7 +1184,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1127,7 +1208,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -1139,7 +1223,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1176,7 +1263,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json b/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json index 8a211d9383..0865c4952c 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/horizontalpodautoscalerlist-autoscaling-v2beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -467,7 +491,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -487,7 +514,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -499,7 +529,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -516,7 +549,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -610,7 +646,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -630,7 +669,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -642,7 +684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -659,7 +704,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -728,7 +776,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,7 +799,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -760,7 +814,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -777,7 +834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -804,7 +864,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -816,7 +879,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -833,7 +899,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -850,7 +919,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -954,7 +1026,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -966,7 +1041,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -979,7 +1057,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1039,7 +1120,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1066,7 +1150,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1078,7 +1165,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1091,7 +1181,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1175,7 +1268,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1201,7 +1297,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1213,7 +1312,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1226,7 +1328,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1286,7 +1391,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1312,7 +1420,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1324,7 +1435,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1337,7 +1451,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1376,7 +1493,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscalerlist.json b/v1.12.3-standalone/horizontalpodautoscalerlist.json index 81983167e5..ed5d66cbb5 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerlist.json +++ b/v1.12.3-standalone/horizontalpodautoscalerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -458,7 +482,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -478,7 +505,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -490,7 +520,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -507,7 +540,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -601,7 +637,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -621,7 +660,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -633,7 +675,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -650,7 +695,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -719,7 +767,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,7 +790,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -751,7 +805,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -768,7 +825,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -795,7 +855,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -807,7 +870,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -824,7 +890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -841,7 +910,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -945,7 +1017,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -957,7 +1032,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -970,7 +1048,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1030,7 +1111,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1057,7 +1141,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1069,7 +1156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1082,7 +1172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1166,7 +1259,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1192,7 +1288,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1204,7 +1303,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1217,7 +1319,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1277,7 +1382,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1303,7 +1411,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -1315,7 +1426,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1328,7 +1442,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1367,7 +1484,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v1.json index e7042d48dc..e1d149dd00 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -41,7 +47,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json index 3dea2c1bc1..13e4ab9889 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -76,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -95,7 +101,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -131,7 +143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -183,7 +198,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -226,7 +244,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -287,7 +308,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -306,7 +330,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -324,7 +351,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -336,7 +366,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -351,7 +384,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json index 38a6a426cd..8d88ca123c 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -83,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +109,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -115,7 +124,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -132,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -226,7 +241,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -246,7 +264,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -258,7 +279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -275,7 +299,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -344,7 +371,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,7 +394,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -376,7 +409,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -393,7 +429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -420,7 +459,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -432,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -449,7 +494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -466,7 +514,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-standalone/horizontalpodautoscalerspec.json b/v1.12.3-standalone/horizontalpodautoscalerspec.json index 38a6a426cd..8d88ca123c 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerspec.json +++ b/v1.12.3-standalone/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -83,7 +86,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -103,7 +109,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -115,7 +124,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -132,7 +144,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -226,7 +241,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -246,7 +264,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -258,7 +279,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -275,7 +299,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -344,7 +371,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,7 +394,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -376,7 +409,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -393,7 +429,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -420,7 +459,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -432,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -449,7 +494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -466,7 +514,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json index ff83dd1dce..35c9a8fb22 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -30,7 +39,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index 936b075e18..f8d6a84cf1 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -80,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -93,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -145,7 +151,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -174,7 +183,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -187,7 +199,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -239,7 +254,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,7 +309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -343,7 +364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,7 +388,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -376,7 +403,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -395,12 +425,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -413,7 +449,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index 5d5bbc25af..3374f9ef9d 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -76,7 +76,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -88,7 +91,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -101,7 +107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -161,7 +170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -188,7 +200,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -200,7 +215,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -213,7 +231,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -297,7 +318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,7 +347,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -335,7 +362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -348,7 +378,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -408,7 +441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +470,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -446,7 +485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -459,7 +501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -480,12 +525,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -498,7 +549,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/horizontalpodautoscalerstatus.json b/v1.12.3-standalone/horizontalpodautoscalerstatus.json index 5d5bbc25af..3374f9ef9d 100644 --- a/v1.12.3-standalone/horizontalpodautoscalerstatus.json +++ b/v1.12.3-standalone/horizontalpodautoscalerstatus.json @@ -76,7 +76,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -88,7 +91,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -101,7 +107,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -161,7 +170,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -188,7 +200,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -200,7 +215,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -213,7 +231,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -297,7 +318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -323,7 +347,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -335,7 +362,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -348,7 +378,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -408,7 +441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -434,7 +470,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -446,7 +485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -459,7 +501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -480,12 +525,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -498,7 +549,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/hostportrange-extensions-v1beta1.json b/v1.12.3-standalone/hostportrange-extensions-v1beta1.json index 626d06d2ad..25785003e9 100644 --- a/v1.12.3-standalone/hostportrange-extensions-v1beta1.json +++ b/v1.12.3-standalone/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/hostportrange-policy-v1beta1.json b/v1.12.3-standalone/hostportrange-policy-v1beta1.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.3-standalone/hostportrange-policy-v1beta1.json +++ b/v1.12.3-standalone/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/hostportrange.json b/v1.12.3-standalone/hostportrange.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.3-standalone/hostportrange.json +++ b/v1.12.3-standalone/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/httpgetaction-v1.json b/v1.12.3-standalone/httpgetaction-v1.json index 6a5b2fed7c..748d99bdcf 100644 --- a/v1.12.3-standalone/httpgetaction-v1.json +++ b/v1.12.3-standalone/httpgetaction-v1.json @@ -51,7 +51,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/httpgetaction.json b/v1.12.3-standalone/httpgetaction.json index 6a5b2fed7c..748d99bdcf 100644 --- a/v1.12.3-standalone/httpgetaction.json +++ b/v1.12.3-standalone/httpgetaction.json @@ -51,7 +51,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/httpingresspath-extensions-v1beta1.json b/v1.12.3-standalone/httpingresspath-extensions-v1beta1.json index 44adc094b3..ed4572ef9a 100644 --- a/v1.12.3-standalone/httpingresspath-extensions-v1beta1.json +++ b/v1.12.3-standalone/httpingresspath-extensions-v1beta1.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/httpingresspath.json b/v1.12.3-standalone/httpingresspath.json index 44adc094b3..ed4572ef9a 100644 --- a/v1.12.3-standalone/httpingresspath.json +++ b/v1.12.3-standalone/httpingresspath.json @@ -24,7 +24,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/httpingressrulevalue-extensions-v1beta1.json b/v1.12.3-standalone/httpingressrulevalue-extensions-v1beta1.json index 0cf92b92a7..04de5f760a 100644 --- a/v1.12.3-standalone/httpingressrulevalue-extensions-v1beta1.json +++ b/v1.12.3-standalone/httpingressrulevalue-extensions-v1beta1.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/httpingressrulevalue.json b/v1.12.3-standalone/httpingressrulevalue.json index 0cf92b92a7..04de5f760a 100644 --- a/v1.12.3-standalone/httpingressrulevalue.json +++ b/v1.12.3-standalone/httpingressrulevalue.json @@ -36,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/idrange-extensions-v1beta1.json b/v1.12.3-standalone/idrange-extensions-v1beta1.json index a3a41068ce..e0a7a3debf 100644 --- a/v1.12.3-standalone/idrange-extensions-v1beta1.json +++ b/v1.12.3-standalone/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/idrange-policy-v1beta1.json b/v1.12.3-standalone/idrange-policy-v1beta1.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.3-standalone/idrange-policy-v1beta1.json +++ b/v1.12.3-standalone/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/idrange.json b/v1.12.3-standalone/idrange.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.3-standalone/idrange.json +++ b/v1.12.3-standalone/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/ingress-extensions-v1beta1.json b/v1.12.3-standalone/ingress-extensions-v1beta1.json index 687ced8f1c..ceb8c39acb 100644 --- a/v1.12.3-standalone/ingress-extensions-v1beta1.json +++ b/v1.12.3-standalone/ingress-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -383,7 +407,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -440,7 +467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingress.json b/v1.12.3-standalone/ingress.json index a487904713..54e46fb773 100644 --- a/v1.12.3-standalone/ingress.json +++ b/v1.12.3-standalone/ingress.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,7 +401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -434,7 +461,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingressbackend-extensions-v1beta1.json b/v1.12.3-standalone/ingressbackend-extensions-v1beta1.json index 752067c1fd..a641e2cb83 100644 --- a/v1.12.3-standalone/ingressbackend-extensions-v1beta1.json +++ b/v1.12.3-standalone/ingressbackend-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingressbackend.json b/v1.12.3-standalone/ingressbackend.json index 752067c1fd..a641e2cb83 100644 --- a/v1.12.3-standalone/ingressbackend.json +++ b/v1.12.3-standalone/ingressbackend.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingresslist-extensions-v1beta1.json b/v1.12.3-standalone/ingresslist-extensions-v1beta1.json index f89fdbbb00..419457ce17 100644 --- a/v1.12.3-standalone/ingresslist-extensions-v1beta1.json +++ b/v1.12.3-standalone/ingresslist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -405,7 +429,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -462,7 +489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingresslist.json b/v1.12.3-standalone/ingresslist.json index bd35d1b312..8688df222d 100644 --- a/v1.12.3-standalone/ingresslist.json +++ b/v1.12.3-standalone/ingresslist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -453,7 +480,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingressrule-extensions-v1beta1.json b/v1.12.3-standalone/ingressrule-extensions-v1beta1.json index 09f593aa3a..92cc01795e 100644 --- a/v1.12.3-standalone/ingressrule-extensions-v1beta1.json +++ b/v1.12.3-standalone/ingressrule-extensions-v1beta1.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingressrule.json b/v1.12.3-standalone/ingressrule.json index 09f593aa3a..92cc01795e 100644 --- a/v1.12.3-standalone/ingressrule.json +++ b/v1.12.3-standalone/ingressrule.json @@ -43,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingressspec-extensions-v1beta1.json b/v1.12.3-standalone/ingressspec-extensions-v1beta1.json index 230b2beb49..bc7dfa0706 100644 --- a/v1.12.3-standalone/ingressspec-extensions-v1beta1.json +++ b/v1.12.3-standalone/ingressspec-extensions-v1beta1.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -78,7 +81,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/ingressspec.json b/v1.12.3-standalone/ingressspec.json index 230b2beb49..bc7dfa0706 100644 --- a/v1.12.3-standalone/ingressspec.json +++ b/v1.12.3-standalone/ingressspec.json @@ -21,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -78,7 +81,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/initializerconfiguration-admissionregistration-v1alpha1.json b/v1.12.3-standalone/initializerconfiguration-admissionregistration-v1alpha1.json index 6d6b6604f0..2c1d92bfd8 100644 --- a/v1.12.3-standalone/initializerconfiguration-admissionregistration-v1alpha1.json +++ b/v1.12.3-standalone/initializerconfiguration-admissionregistration-v1alpha1.json @@ -98,7 +98,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -123,7 +126,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -157,7 +163,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -199,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -261,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -343,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -386,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/initializerconfiguration.json b/v1.12.3-standalone/initializerconfiguration.json index 8a0074181d..15b005ed08 100644 --- a/v1.12.3-standalone/initializerconfiguration.json +++ b/v1.12.3-standalone/initializerconfiguration.json @@ -95,7 +95,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -120,7 +123,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -154,7 +160,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +202,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +267,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -337,7 +352,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -380,11 +398,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json b/v1.12.3-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json index 0e3aad97ce..a4de063b61 100644 --- a/v1.12.3-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json +++ b/v1.12.3-standalone/initializerconfigurationlist-admissionregistration-v1alpha1.json @@ -120,7 +120,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -145,7 +148,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -179,7 +185,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -221,7 +230,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -283,7 +295,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -365,7 +380,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -408,11 +426,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/initializerconfigurationlist.json b/v1.12.3-standalone/initializerconfigurationlist.json index 05a0f46c07..3f2aecfb9f 100644 --- a/v1.12.3-standalone/initializerconfigurationlist.json +++ b/v1.12.3-standalone/initializerconfigurationlist.json @@ -114,7 +114,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -139,7 +142,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -173,7 +179,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -212,7 +221,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -274,7 +286,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -356,7 +371,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -399,11 +417,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/initializers-meta-v1.json b/v1.12.3-standalone/initializers-meta-v1.json index ce8e0b1f98..e383e419a3 100644 --- a/v1.12.3-standalone/initializers-meta-v1.json +++ b/v1.12.3-standalone/initializers-meta-v1.json @@ -40,7 +40,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -102,7 +105,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone/initializers.json b/v1.12.3-standalone/initializers.json index cff25893e5..95fbf600b4 100644 --- a/v1.12.3-standalone/initializers.json +++ b/v1.12.3-standalone/initializers.json @@ -37,7 +37,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -99,7 +102,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone/iscsipersistentvolumesource-v1.json b/v1.12.3-standalone/iscsipersistentvolumesource-v1.json index eccc96e1be..029421a90b 100644 --- a/v1.12.3-standalone/iscsipersistentvolumesource-v1.json +++ b/v1.12.3-standalone/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/iscsipersistentvolumesource.json b/v1.12.3-standalone/iscsipersistentvolumesource.json index eccc96e1be..029421a90b 100644 --- a/v1.12.3-standalone/iscsipersistentvolumesource.json +++ b/v1.12.3-standalone/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/iscsivolumesource-v1.json b/v1.12.3-standalone/iscsivolumesource-v1.json index 9664aebf21..8bd66aadc4 100644 --- a/v1.12.3-standalone/iscsivolumesource-v1.json +++ b/v1.12.3-standalone/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/iscsivolumesource.json b/v1.12.3-standalone/iscsivolumesource.json index 9664aebf21..8bd66aadc4 100644 --- a/v1.12.3-standalone/iscsivolumesource.json +++ b/v1.12.3-standalone/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/job-batch-v1.json b/v1.12.3-standalone/job-batch-v1.json index 5229621fdd..a7c4c90c89 100644 --- a/v1.12.3-standalone/job-batch-v1.json +++ b/v1.12.3-standalone/job-batch-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,26 +392,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -434,7 +473,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -452,7 +494,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -477,7 +522,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -511,7 +559,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -553,7 +604,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -615,7 +669,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -697,7 +754,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -740,11 +800,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -794,7 +860,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1062,7 +1131,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1155,7 +1227,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1253,7 +1328,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1346,7 +1424,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1382,7 +1463,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1464,7 +1548,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1509,7 +1596,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1538,7 +1628,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1570,7 +1663,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1593,7 +1689,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1691,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1726,7 +1828,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1913,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1843,7 +1951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1876,7 +1987,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1932,7 +2046,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1947,17 +2064,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1982,7 +2108,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1990,7 +2119,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2025,7 +2157,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2070,7 +2205,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2126,7 +2264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2141,17 +2282,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2176,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2184,7 +2337,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2194,7 +2350,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2204,14 +2363,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2221,7 +2386,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2233,7 +2401,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2268,7 +2439,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2279,20 +2453,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2332,11 +2518,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2354,7 +2546,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2412,7 +2607,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2537,15 +2735,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2658,7 +2865,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2703,7 +2913,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2732,7 +2945,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2764,7 +2980,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2787,7 +3006,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2885,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2920,7 +3145,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3230,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3037,7 +3268,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3070,7 +3304,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3126,7 +3363,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3141,17 +3381,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3176,7 +3425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3184,7 +3436,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3219,7 +3474,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3264,7 +3522,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3320,7 +3581,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3335,17 +3599,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3370,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3378,7 +3654,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3388,7 +3667,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3398,14 +3680,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3415,7 +3703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3427,7 +3718,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3462,7 +3756,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3473,20 +3770,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3526,11 +3835,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3548,7 +3863,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3606,7 +3924,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3641,7 +3962,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3651,7 +3975,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3706,21 +4033,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3763,7 +4102,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3809,7 +4151,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3820,7 +4165,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3855,7 +4203,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3895,12 +4246,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3946,7 +4303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3959,7 +4319,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3996,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4041,7 +4407,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4066,7 +4435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4088,7 +4460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4107,7 +4482,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4116,7 +4494,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4152,7 +4533,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4181,7 +4565,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4215,7 +4602,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4233,12 +4623,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4287,7 +4683,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4297,7 +4696,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4347,7 +4749,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4356,7 +4761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4403,7 +4811,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4436,11 +4847,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4487,7 +4904,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4524,7 +4944,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4544,7 +4967,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4582,7 +5008,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4598,7 +5027,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4629,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4648,7 +5083,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4688,7 +5126,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4717,7 +5158,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4754,7 +5198,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4773,7 +5220,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4792,7 +5242,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4822,7 +5275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4885,7 +5341,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4936,7 +5395,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4952,7 +5414,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4986,7 +5451,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5008,7 +5476,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5020,7 +5491,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5043,7 +5517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5117,7 +5594,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5127,7 +5607,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5196,7 +5679,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5209,7 +5695,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/job.json b/v1.12.3-standalone/job.json index 53936c92a8..29edbac941 100644 --- a/v1.12.3-standalone/job.json +++ b/v1.12.3-standalone/job.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,26 +386,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -428,7 +467,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -446,7 +488,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +516,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -505,7 +553,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -544,7 +595,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -606,7 +660,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -688,7 +745,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -731,11 +791,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -785,7 +851,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1053,7 +1122,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1146,7 +1218,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1244,7 +1319,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1337,7 +1415,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1373,7 +1454,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1455,7 +1539,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1500,7 +1587,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1529,7 +1619,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1561,7 +1654,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1680,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1682,7 +1781,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1717,7 +1819,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1799,7 +1904,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1834,7 +1942,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1867,7 +1978,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1923,7 +2037,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1938,17 +2055,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1973,7 +2099,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1981,7 +2110,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2016,7 +2148,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2061,7 +2196,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2117,7 +2255,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2132,17 +2273,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2167,7 +2317,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2175,7 +2328,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2185,7 +2341,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2195,14 +2354,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,7 +2377,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2224,7 +2392,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2259,7 +2430,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2270,20 +2444,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2323,11 +2509,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2345,7 +2537,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2403,7 +2598,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2528,15 +2726,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2649,7 +2856,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2694,7 +2904,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2723,7 +2936,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2755,7 +2971,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2778,7 +2997,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2876,7 +3098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2911,7 +3136,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2993,7 +3221,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3028,7 +3259,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3061,7 +3295,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3117,7 +3354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3132,17 +3372,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3167,7 +3416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3175,7 +3427,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3210,7 +3465,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3255,7 +3513,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3311,7 +3572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3326,17 +3590,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3361,7 +3634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3369,7 +3645,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3379,7 +3658,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3389,14 +3671,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,7 +3694,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3418,7 +3709,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3453,7 +3747,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3464,20 +3761,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3517,11 +3826,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3539,7 +3854,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3597,7 +3915,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3632,7 +3953,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3642,7 +3966,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3697,21 +4024,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3754,7 +4093,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3800,7 +4142,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3811,7 +4156,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3846,7 +4194,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3886,12 +4237,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3937,7 +4294,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3950,7 +4310,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3987,7 +4350,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4032,7 +4398,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4057,7 +4426,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4079,7 +4451,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4098,7 +4473,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4107,7 +4485,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4143,7 +4524,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4172,7 +4556,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4206,7 +4593,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4224,12 +4614,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4278,7 +4674,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4288,7 +4687,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4338,7 +4740,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4347,7 +4752,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4394,7 +4802,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4427,11 +4838,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4478,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4515,7 +4935,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4535,7 +4958,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4573,7 +4999,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4589,7 +5018,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4620,7 +5052,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4639,7 +5074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4679,7 +5117,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4708,7 +5149,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4745,7 +5189,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4764,7 +5211,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4783,7 +5233,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4813,7 +5266,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4876,7 +5332,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4927,7 +5386,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4943,7 +5405,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4977,7 +5442,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4999,7 +5467,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5011,7 +5482,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5034,7 +5508,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5108,7 +5585,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5118,7 +5598,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5187,7 +5670,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5200,7 +5686,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/joblist-batch-v1.json b/v1.12.3-standalone/joblist-batch-v1.json index 2b701d8564..caae7facc5 100644 --- a/v1.12.3-standalone/joblist-batch-v1.json +++ b/v1.12.3-standalone/joblist-batch-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,26 +414,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -456,7 +495,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -474,7 +516,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -499,7 +544,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -533,7 +581,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -575,7 +626,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -637,7 +691,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -719,7 +776,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -762,11 +822,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -816,7 +882,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1084,7 +1153,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1177,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1275,7 +1350,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1446,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1404,7 +1485,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1486,7 +1570,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1531,7 +1618,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1560,7 +1650,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1592,7 +1685,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1615,7 +1711,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1713,7 +1812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1748,7 +1850,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1830,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1865,7 +1973,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1898,7 +2009,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1954,7 +2068,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1969,17 +2086,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2004,7 +2130,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2012,7 +2141,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2047,7 +2179,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2092,7 +2227,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2148,7 +2286,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2163,17 +2304,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2198,7 +2348,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2206,7 +2359,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2216,7 +2372,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2226,14 +2385,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2243,7 +2408,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2255,7 +2423,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2290,7 +2461,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2301,20 +2475,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2354,11 +2540,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2376,7 +2568,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2434,7 +2629,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2559,15 +2757,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2680,7 +2887,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2725,7 +2935,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2754,7 +2967,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2786,7 +3002,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2809,7 +3028,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2907,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2942,7 +3167,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3024,7 +3252,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3059,7 +3290,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3092,7 +3326,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3148,7 +3385,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3163,17 +3403,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3198,7 +3447,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3206,7 +3458,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3241,7 +3496,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3286,7 +3544,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3342,7 +3603,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3357,17 +3621,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3392,7 +3665,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3400,7 +3676,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3410,7 +3689,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3420,14 +3702,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3437,7 +3725,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3449,7 +3740,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3484,7 +3778,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3495,20 +3792,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3548,11 +3857,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3570,7 +3885,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3628,7 +3946,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3663,7 +3984,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3673,7 +3997,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3728,21 +4055,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3785,7 +4124,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3831,7 +4173,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3842,7 +4187,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3877,7 +4225,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3917,12 +4268,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3968,7 +4325,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3981,7 +4341,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4018,7 +4381,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4063,7 +4429,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4088,7 +4457,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4110,7 +4482,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4129,7 +4504,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4138,7 +4516,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4174,7 +4555,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4203,7 +4587,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4237,7 +4624,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4255,12 +4645,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4309,7 +4705,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4319,7 +4718,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4369,7 +4771,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4378,7 +4783,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4425,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4458,11 +4869,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4509,7 +4926,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4546,7 +4966,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4566,7 +4989,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4604,7 +5030,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4620,7 +5049,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4651,7 +5083,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4670,7 +5105,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4710,7 +5148,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4739,7 +5180,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4776,7 +5220,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4795,7 +5242,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4814,7 +5264,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4844,7 +5297,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4907,7 +5363,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4958,7 +5417,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4974,7 +5436,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5008,7 +5473,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5030,7 +5498,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5042,7 +5513,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5065,7 +5539,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5139,7 +5616,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5149,7 +5629,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5218,7 +5701,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5231,7 +5717,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/joblist.json b/v1.12.3-standalone/joblist.json index 4778588bc2..8213a5db02 100644 --- a/v1.12.3-standalone/joblist.json +++ b/v1.12.3-standalone/joblist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,26 +405,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -447,7 +486,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +507,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -490,7 +535,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -524,7 +572,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -563,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -625,7 +679,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -707,7 +764,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -750,11 +810,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -804,7 +870,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1072,7 +1141,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1165,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1263,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1356,7 +1434,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1392,7 +1473,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1474,7 +1558,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1519,7 +1606,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1548,7 +1638,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1580,7 +1673,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1603,7 +1699,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1701,7 +1800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1736,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1818,7 +1923,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1853,7 +1961,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1886,7 +1997,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1942,7 +2056,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1957,17 +2074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1992,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2000,7 +2129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2035,7 +2167,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2080,7 +2215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2136,7 +2274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2151,17 +2292,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2186,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2194,7 +2347,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2204,7 +2360,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2214,14 +2373,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2231,7 +2396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2243,7 +2411,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2278,7 +2449,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2289,20 +2463,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2342,11 +2528,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2364,7 +2556,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2422,7 +2617,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2547,15 +2745,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2668,7 +2875,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2713,7 +2923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2742,7 +2955,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2774,7 +2990,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2797,7 +3016,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2895,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2930,7 +3155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3012,7 +3240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3047,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3080,7 +3314,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3136,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3151,17 +3391,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3186,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3194,7 +3446,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3229,7 +3484,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3274,7 +3532,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3330,7 +3591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3345,17 +3609,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3380,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3388,7 +3664,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3398,7 +3677,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3408,14 +3690,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3425,7 +3713,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3437,7 +3728,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3472,7 +3766,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3483,20 +3780,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3536,11 +3845,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3558,7 +3873,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3616,7 +3934,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3651,7 +3972,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3661,7 +3985,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3716,21 +4043,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3773,7 +4112,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3819,7 +4161,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3830,7 +4175,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3865,7 +4213,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3905,12 +4256,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3956,7 +4313,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3969,7 +4329,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4006,7 +4369,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4051,7 +4417,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4076,7 +4445,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4098,7 +4470,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4117,7 +4492,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4126,7 +4504,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4162,7 +4543,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4191,7 +4575,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4225,7 +4612,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4243,12 +4633,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4297,7 +4693,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4307,7 +4706,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4357,7 +4759,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4366,7 +4771,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,7 +4821,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4446,11 +4857,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4497,7 +4914,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4534,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4554,7 +4977,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4592,7 +5018,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4608,7 +5037,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4639,7 +5071,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4658,7 +5093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4698,7 +5136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4727,7 +5168,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4764,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4783,7 +5230,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4802,7 +5252,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4832,7 +5285,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4895,7 +5351,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4946,7 +5405,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4962,7 +5424,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4996,7 +5461,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5018,7 +5486,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5030,7 +5501,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5053,7 +5527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5127,7 +5604,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5137,7 +5617,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -5206,7 +5689,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -5219,7 +5705,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/jobspec-batch-v1.json b/v1.12.3-standalone/jobspec-batch-v1.json index de245d6d4a..098d8ce979 100644 --- a/v1.12.3-standalone/jobspec-batch-v1.json +++ b/v1.12.3-standalone/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -72,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +108,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -115,7 +136,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -149,7 +173,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -191,7 +218,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -253,7 +283,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -335,7 +368,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -378,11 +414,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -432,7 +474,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -700,7 +745,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -793,7 +841,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -891,7 +942,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -984,7 +1038,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1020,7 +1077,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1102,7 +1162,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1147,7 +1210,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1176,7 +1242,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1208,7 +1277,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1231,7 +1303,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1329,7 +1404,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1364,7 +1442,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1446,7 +1527,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1481,7 +1565,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1514,7 +1601,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1570,7 +1660,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1585,17 +1678,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1620,7 +1722,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1628,7 +1733,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1663,7 +1771,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1708,7 +1819,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1764,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1779,17 +1896,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1814,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1822,7 +1951,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1832,7 +1964,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1842,14 +1977,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1859,7 +2000,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1871,7 +2015,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1906,7 +2053,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1917,20 +2067,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1970,11 +2132,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1992,7 +2160,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2050,7 +2221,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2175,15 +2349,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2296,7 +2479,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2341,7 +2527,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2370,7 +2559,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2402,7 +2594,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2425,7 +2620,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2523,7 +2721,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2558,7 +2759,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2640,7 +2844,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2675,7 +2882,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2708,7 +2918,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2764,7 +2977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2779,17 +2995,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2814,7 +3039,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2822,7 +3050,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2857,7 +3088,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2902,7 +3136,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2958,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2973,17 +3213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3008,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3016,7 +3268,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3026,7 +3281,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3036,14 +3294,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3053,7 +3317,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3065,7 +3332,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3100,7 +3370,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3111,20 +3384,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3164,11 +3449,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3186,7 +3477,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3244,7 +3538,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3279,7 +3576,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3289,7 +3589,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3344,21 +3647,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3401,7 +3716,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3447,7 +3765,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3458,7 +3779,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3493,7 +3817,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3533,12 +3860,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3584,7 +3917,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3597,7 +3933,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3634,7 +3973,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3679,7 +4021,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3704,7 +4049,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3726,7 +4074,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3745,7 +4096,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3754,7 +4108,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3790,7 +4147,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3819,7 +4179,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3853,7 +4216,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3871,12 +4237,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3925,7 +4297,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3935,7 +4310,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3985,7 +4363,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3994,7 +4375,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4041,7 +4425,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4074,11 +4461,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4125,7 +4518,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4162,7 +4558,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4182,7 +4581,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4220,7 +4622,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4236,7 +4641,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4267,7 +4675,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4286,7 +4697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4326,7 +4740,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4355,7 +4772,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4392,7 +4812,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4411,7 +4834,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4430,7 +4856,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4460,7 +4889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4523,7 +4955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4574,7 +5009,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4590,7 +5028,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4624,7 +5065,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4646,7 +5090,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4658,7 +5105,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4681,7 +5131,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4755,7 +5208,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/jobspec.json b/v1.12.3-standalone/jobspec.json index d233e452c2..042c85040e 100644 --- a/v1.12.3-standalone/jobspec.json +++ b/v1.12.3-standalone/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -72,7 +87,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +108,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -115,7 +136,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -149,7 +173,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -188,7 +215,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -250,7 +280,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -332,7 +365,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -375,11 +411,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -429,7 +471,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -697,7 +742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -790,7 +838,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -888,7 +939,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -981,7 +1035,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1017,7 +1074,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1099,7 +1159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1144,7 +1207,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1173,7 +1239,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1205,7 +1274,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1228,7 +1300,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1326,7 +1401,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1361,7 +1439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1443,7 +1524,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1478,7 +1562,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1511,7 +1598,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1567,7 +1657,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1582,17 +1675,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1617,7 +1719,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1625,7 +1730,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1660,7 +1768,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1705,7 +1816,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1761,7 +1875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1776,17 +1893,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1811,7 +1937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1819,7 +1948,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1829,7 +1961,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1839,14 +1974,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1856,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1868,7 +2012,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1903,7 +2050,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1914,20 +2064,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1967,11 +2129,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1989,7 +2157,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2047,7 +2218,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2172,15 +2346,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2293,7 +2476,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2338,7 +2524,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2367,7 +2556,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2399,7 +2591,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2422,7 +2617,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2520,7 +2718,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2555,7 +2756,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2637,7 +2841,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2672,7 +2879,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2705,7 +2915,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2761,7 +2974,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2776,17 +2992,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2811,7 +3036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2819,7 +3047,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2854,7 +3085,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2899,7 +3133,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2955,7 +3192,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2970,17 +3210,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3005,7 +3254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3013,7 +3265,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3023,7 +3278,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3033,14 +3291,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3050,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3062,7 +3329,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3097,7 +3367,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3108,20 +3381,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3161,11 +3446,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3183,7 +3474,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3241,7 +3535,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3276,7 +3573,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3286,7 +3586,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3341,21 +3644,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3398,7 +3713,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3444,7 +3762,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3455,7 +3776,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3490,7 +3814,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3530,12 +3857,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3581,7 +3914,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3594,7 +3930,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3631,7 +3970,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3676,7 +4018,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3701,7 +4046,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3723,7 +4071,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3742,7 +4093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3751,7 +4105,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3787,7 +4144,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3816,7 +4176,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3850,7 +4213,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3868,12 +4234,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3922,7 +4294,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3932,7 +4307,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3982,7 +4360,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3991,7 +4372,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4038,7 +4422,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4071,11 +4458,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4122,7 +4515,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4159,7 +4555,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4179,7 +4578,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4217,7 +4619,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4233,7 +4638,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4264,7 +4672,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4283,7 +4694,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4323,7 +4737,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4352,7 +4769,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4389,7 +4809,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4408,7 +4831,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4427,7 +4853,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4457,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4520,7 +4952,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4571,7 +5006,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4587,7 +5025,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4621,7 +5062,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4643,7 +5087,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4655,7 +5102,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4678,7 +5128,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4752,7 +5205,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/jobstatus-batch-v1.json b/v1.12.3-standalone/jobstatus-batch-v1.json index 6ae4917f5d..9d23ee711e 100644 --- a/v1.12.3-standalone/jobstatus-batch-v1.json +++ b/v1.12.3-standalone/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -72,7 +75,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -85,7 +91,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/jobstatus.json b/v1.12.3-standalone/jobstatus.json index 6ae4917f5d..9d23ee711e 100644 --- a/v1.12.3-standalone/jobstatus.json +++ b/v1.12.3-standalone/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -72,7 +75,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -85,7 +91,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/jobtemplatespec-batch-v1beta1.json b/v1.12.3-standalone/jobtemplatespec-batch-v1beta1.json index e515026926..d0fb94971d 100644 --- a/v1.12.3-standalone/jobtemplatespec-batch-v1beta1.json +++ b/v1.12.3-standalone/jobtemplatespec-batch-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -107,7 +116,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -169,7 +181,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -348,26 +372,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -414,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,7 +474,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +502,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -491,7 +539,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -533,7 +584,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -595,7 +649,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -677,7 +734,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -720,11 +780,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -774,7 +840,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1042,7 +1111,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1135,7 +1207,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1308,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1326,7 +1404,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1362,7 +1443,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1444,7 +1528,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1489,7 +1576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1518,7 +1608,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1550,7 +1643,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1573,7 +1669,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1671,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1706,7 +1808,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1788,7 +1893,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1856,7 +1967,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1912,7 +2026,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1927,17 +2044,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1962,7 +2088,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1970,7 +2099,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2005,7 +2137,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2050,7 +2185,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2106,7 +2244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2121,17 +2262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2156,7 +2306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2164,7 +2317,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2174,7 +2330,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2184,14 +2343,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2201,7 +2366,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2213,7 +2381,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2248,7 +2419,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2259,20 +2433,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2312,11 +2498,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2334,7 +2526,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2392,7 +2587,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2517,15 +2715,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2638,7 +2845,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2683,7 +2893,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2712,7 +2925,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2744,7 +2960,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2767,7 +2986,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2865,7 +3087,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2900,7 +3125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2982,7 +3210,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3050,7 +3284,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3106,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3121,17 +3361,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3156,7 +3405,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3416,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3199,7 +3454,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3244,7 +3502,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3300,7 +3561,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3315,17 +3579,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3350,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3358,7 +3634,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3368,7 +3647,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3378,14 +3660,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3395,7 +3683,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3407,7 +3698,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3442,7 +3736,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3453,20 +3750,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,11 +3815,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3528,7 +3843,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3586,7 +3904,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3621,7 +3942,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3631,7 +3955,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3686,21 +4013,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3743,7 +4082,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3789,7 +4131,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3800,7 +4145,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3835,7 +4183,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3875,12 +4226,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3926,7 +4283,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3939,7 +4299,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3976,7 +4339,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4046,7 +4415,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4068,7 +4440,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4087,7 +4462,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4096,7 +4474,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4513,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4161,7 +4545,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4195,7 +4582,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4213,12 +4603,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4267,7 +4663,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4277,7 +4676,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4327,7 +4729,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4336,7 +4741,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4383,7 +4791,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,11 +4827,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4467,7 +4884,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4924,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4524,7 +4947,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4578,7 +5007,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4609,7 +5041,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4628,7 +5063,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4668,7 +5106,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4697,7 +5138,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4734,7 +5178,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4753,7 +5200,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4772,7 +5222,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4802,7 +5255,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4865,7 +5321,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4916,7 +5375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4932,7 +5394,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4966,7 +5431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4988,7 +5456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5000,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5023,7 +5497,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5097,7 +5574,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/jobtemplatespec-batch-v2alpha1.json b/v1.12.3-standalone/jobtemplatespec-batch-v2alpha1.json index e515026926..d0fb94971d 100644 --- a/v1.12.3-standalone/jobtemplatespec-batch-v2alpha1.json +++ b/v1.12.3-standalone/jobtemplatespec-batch-v2alpha1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -107,7 +116,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -169,7 +181,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -348,26 +372,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -414,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -432,7 +474,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +502,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -491,7 +539,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -533,7 +584,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -595,7 +649,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -677,7 +734,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -720,11 +780,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -774,7 +840,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1042,7 +1111,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1135,7 +1207,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1233,7 +1308,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1326,7 +1404,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1362,7 +1443,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1444,7 +1528,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1489,7 +1576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1518,7 +1608,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1550,7 +1643,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1573,7 +1669,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1671,7 +1770,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1706,7 +1808,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1788,7 +1893,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1823,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1856,7 +1967,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1912,7 +2026,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1927,17 +2044,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1962,7 +2088,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1970,7 +2099,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2005,7 +2137,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2050,7 +2185,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2106,7 +2244,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2121,17 +2262,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2156,7 +2306,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2164,7 +2317,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2174,7 +2330,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2184,14 +2343,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2201,7 +2366,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2213,7 +2381,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2248,7 +2419,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2259,20 +2433,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2312,11 +2498,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2334,7 +2526,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2392,7 +2587,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2517,15 +2715,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2638,7 +2845,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2683,7 +2893,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2712,7 +2925,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2744,7 +2960,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2767,7 +2986,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2865,7 +3087,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2900,7 +3125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2982,7 +3210,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3017,7 +3248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3050,7 +3284,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3106,7 +3343,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3121,17 +3361,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3156,7 +3405,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3164,7 +3416,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3199,7 +3454,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3244,7 +3502,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3300,7 +3561,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3315,17 +3579,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3350,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3358,7 +3634,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3368,7 +3647,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3378,14 +3660,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3395,7 +3683,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3407,7 +3698,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3442,7 +3736,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3453,20 +3750,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3506,11 +3815,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3528,7 +3843,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3586,7 +3904,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3621,7 +3942,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3631,7 +3955,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3686,21 +4013,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3743,7 +4082,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3789,7 +4131,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3800,7 +4145,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3835,7 +4183,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3875,12 +4226,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3926,7 +4283,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3939,7 +4299,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3976,7 +4339,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4021,7 +4387,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4046,7 +4415,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4068,7 +4440,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4087,7 +4462,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4096,7 +4474,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4132,7 +4513,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4161,7 +4545,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4195,7 +4582,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4213,12 +4603,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4267,7 +4663,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4277,7 +4676,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4327,7 +4729,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4336,7 +4741,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4383,7 +4791,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,11 +4827,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4467,7 +4884,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4924,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4524,7 +4947,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4562,7 +4988,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4578,7 +5007,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4609,7 +5041,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4628,7 +5063,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4668,7 +5106,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4697,7 +5138,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4734,7 +5178,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4753,7 +5200,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4772,7 +5222,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4802,7 +5255,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4865,7 +5321,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4916,7 +5375,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4932,7 +5394,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4966,7 +5431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4988,7 +5456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5000,7 +5471,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5023,7 +5497,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5097,7 +5574,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/jobtemplatespec.json b/v1.12.3-standalone/jobtemplatespec.json index 66cdc5d9d9..be294fac3b 100644 --- a/v1.12.3-standalone/jobtemplatespec.json +++ b/v1.12.3-standalone/jobtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -104,7 +113,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -166,7 +178,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -248,7 +263,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,11 +309,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -345,26 +369,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -411,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -429,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -488,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -527,7 +578,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -589,7 +643,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -671,7 +728,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -714,11 +774,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -768,7 +834,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1036,7 +1105,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1129,7 +1201,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1227,7 +1302,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1320,7 +1398,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1356,7 +1437,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1438,7 +1522,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1483,7 +1570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1512,7 +1602,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1544,7 +1637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1567,7 +1663,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1665,7 +1764,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1782,7 +1887,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1817,7 +1925,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1850,7 +1961,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1906,7 +2020,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1921,17 +2038,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1956,7 +2082,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1964,7 +2093,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1999,7 +2131,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2044,7 +2179,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2100,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2115,17 +2256,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2150,7 +2300,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2158,7 +2311,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2168,7 +2324,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2178,14 +2337,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2195,7 +2360,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2207,7 +2375,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2242,7 +2413,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2253,20 +2427,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2306,11 +2492,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2328,7 +2520,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2386,7 +2581,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2511,15 +2709,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2632,7 +2839,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2677,7 +2887,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2706,7 +2919,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2738,7 +2954,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2761,7 +2980,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2859,7 +3081,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2894,7 +3119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2976,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3044,7 +3278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3100,7 +3337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3115,17 +3355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3150,7 +3399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3158,7 +3410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3193,7 +3448,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3238,7 +3496,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3294,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3309,17 +3573,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3344,7 +3617,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3352,7 +3628,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3362,7 +3641,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3372,14 +3654,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3389,7 +3677,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3401,7 +3692,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3436,7 +3730,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3447,20 +3744,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3500,11 +3809,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3522,7 +3837,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3580,7 +3898,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3615,7 +3936,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3625,7 +3949,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3680,21 +4007,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3737,7 +4076,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3783,7 +4125,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3794,7 +4139,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3829,7 +4177,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3869,12 +4220,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3920,7 +4277,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3933,7 +4293,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3970,7 +4333,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4015,7 +4381,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4040,7 +4409,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4062,7 +4434,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4081,7 +4456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4090,7 +4468,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4126,7 +4507,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4155,7 +4539,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4189,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4207,12 +4597,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4261,7 +4657,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4271,7 +4670,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4723,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4330,7 +4735,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4377,7 +4785,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4410,11 +4821,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4461,7 +4878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4498,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4518,7 +4941,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4556,7 +4982,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4572,7 +5001,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4603,7 +5035,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4622,7 +5057,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4662,7 +5100,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4691,7 +5132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4728,7 +5172,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4747,7 +5194,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4766,7 +5216,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4796,7 +5249,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4859,7 +5315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4910,7 +5369,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4926,7 +5388,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4960,7 +5425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4982,7 +5450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4994,7 +5465,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5017,7 +5491,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5091,7 +5568,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/keytopath-v1.json b/v1.12.3-standalone/keytopath-v1.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.3-standalone/keytopath-v1.json +++ b/v1.12.3-standalone/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-standalone/keytopath.json b/v1.12.3-standalone/keytopath.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.3-standalone/keytopath.json +++ b/v1.12.3-standalone/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3-standalone/labelselector-meta-v1.json b/v1.12.3-standalone/labelselector-meta-v1.json index 5c638f00b0..b9d308548d 100644 --- a/v1.12.3-standalone/labelselector-meta-v1.json +++ b/v1.12.3-standalone/labelselector-meta-v1.json @@ -42,7 +42,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/labelselector.json b/v1.12.3-standalone/labelselector.json index 5c638f00b0..b9d308548d 100644 --- a/v1.12.3-standalone/labelselector.json +++ b/v1.12.3-standalone/labelselector.json @@ -42,7 +42,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/lease-coordination-v1beta1.json b/v1.12.3-standalone/lease-coordination-v1beta1.json index 2497df9a60..fa3f016b3f 100644 --- a/v1.12.3-standalone/lease-coordination-v1beta1.json +++ b/v1.12.3-standalone/lease-coordination-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,12 +404,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone/lease.json b/v1.12.3-standalone/lease.json index 420519490f..778d145a69 100644 --- a/v1.12.3-standalone/lease.json +++ b/v1.12.3-standalone/lease.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,12 +398,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone/leaselist-coordination-v1beta1.json b/v1.12.3-standalone/leaselist-coordination-v1beta1.json index 2dbdd0c3ff..3b97311976 100644 --- a/v1.12.3-standalone/leaselist-coordination-v1beta1.json +++ b/v1.12.3-standalone/leaselist-coordination-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -402,12 +426,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone/leaselist.json b/v1.12.3-standalone/leaselist.json index 01e8a0cee4..59390c3975 100644 --- a/v1.12.3-standalone/leaselist.json +++ b/v1.12.3-standalone/leaselist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,12 +417,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone/leasespec-coordination-v1beta1.json b/v1.12.3-standalone/leasespec-coordination-v1beta1.json index 888458cf67..f3804ca6d9 100644 --- a/v1.12.3-standalone/leasespec-coordination-v1beta1.json +++ b/v1.12.3-standalone/leasespec-coordination-v1beta1.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone/leasespec.json b/v1.12.3-standalone/leasespec.json index 888458cf67..f3804ca6d9 100644 --- a/v1.12.3-standalone/leasespec.json +++ b/v1.12.3-standalone/leasespec.json @@ -18,12 +18,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3-standalone/lifecycle-v1.json b/v1.12.3-standalone/lifecycle-v1.json index 5bf75efae9..f0cbed2eb3 100644 --- a/v1.12.3-standalone/lifecycle-v1.json +++ b/v1.12.3-standalone/lifecycle-v1.json @@ -75,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -192,7 +198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -227,7 +236,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/lifecycle.json b/v1.12.3-standalone/lifecycle.json index 5bf75efae9..f0cbed2eb3 100644 --- a/v1.12.3-standalone/lifecycle.json +++ b/v1.12.3-standalone/lifecycle.json @@ -75,7 +75,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -110,7 +113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -192,7 +198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -227,7 +236,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrange-v1.json b/v1.12.3-standalone/limitrange-v1.json index b415a431d0..a43a87ffd7 100644 --- a/v1.12.3-standalone/limitrange-v1.json +++ b/v1.12.3-standalone/limitrange-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -384,14 +411,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -401,14 +434,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -418,14 +457,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -435,14 +480,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -452,7 +503,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrange.json b/v1.12.3-standalone/limitrange.json index 00540366e1..ab596f462b 100644 --- a/v1.12.3-standalone/limitrange.json +++ b/v1.12.3-standalone/limitrange.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -378,14 +405,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -395,14 +428,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -412,14 +451,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -429,14 +474,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -446,7 +497,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrangeitem-v1.json b/v1.12.3-standalone/limitrangeitem-v1.json index 3cb9a72fdf..ec4d8ec75b 100644 --- a/v1.12.3-standalone/limitrangeitem-v1.json +++ b/v1.12.3-standalone/limitrangeitem-v1.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrangeitem.json b/v1.12.3-standalone/limitrangeitem.json index 3cb9a72fdf..ec4d8ec75b 100644 --- a/v1.12.3-standalone/limitrangeitem.json +++ b/v1.12.3-standalone/limitrangeitem.json @@ -3,7 +3,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,14 +39,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -47,14 +62,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -64,14 +85,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -81,7 +108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrangelist-v1.json b/v1.12.3-standalone/limitrangelist-v1.json index a305cccd67..8fc0d42b8e 100644 --- a/v1.12.3-standalone/limitrangelist-v1.json +++ b/v1.12.3-standalone/limitrangelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -396,7 +420,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -406,14 +433,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -423,14 +456,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -440,14 +479,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -457,14 +502,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -474,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrangelist.json b/v1.12.3-standalone/limitrangelist.json index 4d48eb2cdf..2bcbcd3e86 100644 --- a/v1.12.3-standalone/limitrangelist.json +++ b/v1.12.3-standalone/limitrangelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -397,14 +424,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -414,14 +447,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -431,14 +470,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -448,14 +493,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -465,7 +516,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrangespec-v1.json b/v1.12.3-standalone/limitrangespec-v1.json index 67db178a0f..4c32b064af 100644 --- a/v1.12.3-standalone/limitrangespec-v1.json +++ b/v1.12.3-standalone/limitrangespec-v1.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/limitrangespec.json b/v1.12.3-standalone/limitrangespec.json index 67db178a0f..4c32b064af 100644 --- a/v1.12.3-standalone/limitrangespec.json +++ b/v1.12.3-standalone/limitrangespec.json @@ -15,7 +15,10 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -25,14 +28,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -42,14 +51,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -59,14 +74,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -76,14 +97,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -93,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/localsubjectaccessreview-authorization-v1.json b/v1.12.3-standalone/localsubjectaccessreview-authorization-v1.json index 72462ac903..e8ad869f0b 100644 --- a/v1.12.3-standalone/localsubjectaccessreview-authorization-v1.json +++ b/v1.12.3-standalone/localsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/localsubjectaccessreview-authorization-v1beta1.json b/v1.12.3-standalone/localsubjectaccessreview-authorization-v1beta1.json index 241b584901..f0da3ba826 100644 --- a/v1.12.3-standalone/localsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.3-standalone/localsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/localsubjectaccessreview.json b/v1.12.3-standalone/localsubjectaccessreview.json index 9882251e93..73f6ed2b17 100644 --- a/v1.12.3-standalone/localsubjectaccessreview.json +++ b/v1.12.3-standalone/localsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -490,7 +517,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/metricidentifier-autoscaling-v2beta2.json b/v1.12.3-standalone/metricidentifier-autoscaling-v2beta2.json index 40a9e5c046..a2b785e3c8 100644 --- a/v1.12.3-standalone/metricidentifier-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/metricidentifier-autoscaling-v2beta2.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/metricidentifier.json b/v1.12.3-standalone/metricidentifier.json index 40a9e5c046..a2b785e3c8 100644 --- a/v1.12.3-standalone/metricidentifier.json +++ b/v1.12.3-standalone/metricidentifier.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/metricspec-autoscaling-v2beta1.json b/v1.12.3-standalone/metricspec-autoscaling-v2beta1.json index 70f35cf102..873eaac16b 100644 --- a/v1.12.3-standalone/metricspec-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/metricspec-autoscaling-v2beta1.json @@ -58,7 +58,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -90,7 +96,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -113,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -165,7 +177,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -208,7 +223,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -269,7 +287,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -288,7 +309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -306,7 +330,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -318,7 +345,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metricspec-autoscaling-v2beta2.json b/v1.12.3-standalone/metricspec-autoscaling-v2beta2.json index 4278d4db11..4c9f69c050 100644 --- a/v1.12.3-standalone/metricspec-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/metricspec-autoscaling-v2beta2.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -85,7 +88,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -97,7 +103,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -208,7 +220,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -228,7 +243,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -240,7 +258,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -257,7 +278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -326,7 +350,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +373,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -358,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -375,7 +408,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -402,7 +438,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -414,7 +453,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -431,7 +473,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metricspec.json b/v1.12.3-standalone/metricspec.json index 4278d4db11..4c9f69c050 100644 --- a/v1.12.3-standalone/metricspec.json +++ b/v1.12.3-standalone/metricspec.json @@ -65,7 +65,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -85,7 +88,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -97,7 +103,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -208,7 +220,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -228,7 +243,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -240,7 +258,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -257,7 +278,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -326,7 +350,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -346,7 +373,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -358,7 +388,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -375,7 +408,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -402,7 +438,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -414,7 +453,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -431,7 +473,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone/metricstatus-autoscaling-v2beta1.json index a6e793ebca..b07f09b226 100644 --- a/v1.12.3-standalone/metricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/metricstatus-autoscaling-v2beta1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -33,7 +36,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -85,7 +91,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -127,7 +139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -179,7 +194,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -231,7 +249,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -283,7 +304,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -304,7 +328,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -316,7 +343,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/metricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone/metricstatus-autoscaling-v2beta2.json index 8499dd8592..273015d8ee 100644 --- a/v1.12.3-standalone/metricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/metricstatus-autoscaling-v2beta2.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -101,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +140,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -140,7 +155,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -153,7 +171,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -237,7 +258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -263,7 +287,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -275,7 +302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -288,7 +318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -348,7 +381,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -374,7 +410,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -386,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -399,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metricstatus.json b/v1.12.3-standalone/metricstatus.json index 8499dd8592..273015d8ee 100644 --- a/v1.12.3-standalone/metricstatus.json +++ b/v1.12.3-standalone/metricstatus.json @@ -16,7 +16,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -41,7 +47,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -101,7 +110,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -128,7 +140,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -140,7 +155,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -153,7 +171,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -237,7 +258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -263,7 +287,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -275,7 +302,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -288,7 +318,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -348,7 +381,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -374,7 +410,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -386,7 +425,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -399,7 +441,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metrictarget-autoscaling-v2beta2.json b/v1.12.3-standalone/metrictarget-autoscaling-v2beta2.json index 9598623539..6fe4300e54 100644 --- a/v1.12.3-standalone/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metrictarget.json b/v1.12.3-standalone/metrictarget.json index 9598623539..6fe4300e54 100644 --- a/v1.12.3-standalone/metrictarget.json +++ b/v1.12.3-standalone/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -18,7 +21,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -38,7 +44,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.3-standalone/metricvaluestatus-autoscaling-v2beta2.json index 7e18383dbc..b6cb261422 100644 --- a/v1.12.3-standalone/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/metricvaluestatus.json b/v1.12.3-standalone/metricvaluestatus.json index 7e18383dbc..b6cb261422 100644 --- a/v1.12.3-standalone/metricvaluestatus.json +++ b/v1.12.3-standalone/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -15,7 +18,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +34,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.3-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json index 117d196852..f1e323cc53 100644 --- a/v1.12.3-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone/mutatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -472,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/mutatingwebhookconfiguration.json b/v1.12.3-standalone/mutatingwebhookconfiguration.json index 2d5ae72548..6226420862 100644 --- a/v1.12.3-standalone/mutatingwebhookconfiguration.json +++ b/v1.12.3-standalone/mutatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -466,7 +490,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.3-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json index a297bacc2b..bc4b25b228 100644 --- a/v1.12.3-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone/mutatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -494,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/mutatingwebhookconfigurationlist.json b/v1.12.3-standalone/mutatingwebhookconfigurationlist.json index 281ba22055..a4fcd680fa 100644 --- a/v1.12.3-standalone/mutatingwebhookconfigurationlist.json +++ b/v1.12.3-standalone/mutatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +509,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/namespace-v1.json b/v1.12.3-standalone/namespace-v1.json index 65a0015c36..93a16e923d 100644 --- a/v1.12.3-standalone/namespace-v1.json +++ b/v1.12.3-standalone/namespace-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/namespace.json b/v1.12.3-standalone/namespace.json index 57a7d72958..c1eea2c1cd 100644 --- a/v1.12.3-standalone/namespace.json +++ b/v1.12.3-standalone/namespace.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/namespacelist-v1.json b/v1.12.3-standalone/namespacelist-v1.json index e9dc2f8457..9eec09a3f6 100644 --- a/v1.12.3-standalone/namespacelist-v1.json +++ b/v1.12.3-standalone/namespacelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/namespacelist.json b/v1.12.3-standalone/namespacelist.json index e0e2972306..5270288ae2 100644 --- a/v1.12.3-standalone/namespacelist.json +++ b/v1.12.3-standalone/namespacelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/networkpolicy-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicy-extensions-v1beta1.json index 52cdb5eb1c..483edde5eb 100644 --- a/v1.12.3-standalone/networkpolicy-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -485,7 +512,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -539,7 +569,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -642,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -696,7 +732,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,7 +766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -788,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicy-networking-v1.json b/v1.12.3-standalone/networkpolicy-networking-v1.json index f0231f0a3c..7b646137d2 100644 --- a/v1.12.3-standalone/networkpolicy-networking-v1.json +++ b/v1.12.3-standalone/networkpolicy-networking-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -485,7 +512,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -539,7 +569,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -642,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -696,7 +732,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -727,7 +766,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -788,7 +830,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicy.json b/v1.12.3-standalone/networkpolicy.json index 1c155bd32b..befc153c99 100644 --- a/v1.12.3-standalone/networkpolicy.json +++ b/v1.12.3-standalone/networkpolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -479,7 +506,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -533,7 +563,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -636,7 +669,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -690,7 +726,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -721,7 +760,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -782,7 +824,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyegressrule-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicyegressrule-extensions-v1beta1.json index e35974e2cd..455f815ef8 100644 --- a/v1.12.3-standalone/networkpolicyegressrule-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicyegressrule-extensions-v1beta1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +114,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -165,7 +171,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyegressrule-networking-v1.json b/v1.12.3-standalone/networkpolicyegressrule-networking-v1.json index 036eb248a2..edbae9856d 100644 --- a/v1.12.3-standalone/networkpolicyegressrule-networking-v1.json +++ b/v1.12.3-standalone/networkpolicyegressrule-networking-v1.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +114,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -165,7 +171,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyegressrule.json b/v1.12.3-standalone/networkpolicyegressrule.json index 036eb248a2..edbae9856d 100644 --- a/v1.12.3-standalone/networkpolicyegressrule.json +++ b/v1.12.3-standalone/networkpolicyegressrule.json @@ -19,7 +19,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -111,7 +114,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -165,7 +171,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyingressrule-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicyingressrule-extensions-v1beta1.json index 4ac0612e2a..8d7cca8dbf 100644 --- a/v1.12.3-standalone/networkpolicyingressrule-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicyingressrule-extensions-v1beta1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -164,7 +170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/networkpolicyingressrule-networking-v1.json b/v1.12.3-standalone/networkpolicyingressrule-networking-v1.json index 68fbcd2df4..47f0c0db39 100644 --- a/v1.12.3-standalone/networkpolicyingressrule-networking-v1.json +++ b/v1.12.3-standalone/networkpolicyingressrule-networking-v1.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -164,7 +170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/networkpolicyingressrule.json b/v1.12.3-standalone/networkpolicyingressrule.json index 68fbcd2df4..47f0c0db39 100644 --- a/v1.12.3-standalone/networkpolicyingressrule.json +++ b/v1.12.3-standalone/networkpolicyingressrule.json @@ -79,7 +79,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -133,7 +136,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -164,7 +170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/networkpolicylist-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicylist-extensions-v1beta1.json index 05f5208fe2..c6e2490b3f 100644 --- a/v1.12.3-standalone/networkpolicylist-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -507,7 +534,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -561,7 +591,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -664,7 +697,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -718,7 +754,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -810,7 +852,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicylist-networking-v1.json b/v1.12.3-standalone/networkpolicylist-networking-v1.json index 4e8b86a67a..b76880194d 100644 --- a/v1.12.3-standalone/networkpolicylist-networking-v1.json +++ b/v1.12.3-standalone/networkpolicylist-networking-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -507,7 +534,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -561,7 +591,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -664,7 +697,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -718,7 +754,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -749,7 +788,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -810,7 +852,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicylist.json b/v1.12.3-standalone/networkpolicylist.json index f42d9e5351..d721106a49 100644 --- a/v1.12.3-standalone/networkpolicylist.json +++ b/v1.12.3-standalone/networkpolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -406,7 +430,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -498,7 +525,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -552,7 +582,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -655,7 +688,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -709,7 +745,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -740,7 +779,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -801,7 +843,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicypeer-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicypeer-extensions-v1beta1.json index c93fc73b55..7bf5676cb6 100644 --- a/v1.12.3-standalone/networkpolicypeer-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicypeer-extensions-v1beta1.json @@ -70,7 +70,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicypeer-networking-v1.json b/v1.12.3-standalone/networkpolicypeer-networking-v1.json index d75d12314c..fc85263141 100644 --- a/v1.12.3-standalone/networkpolicypeer-networking-v1.json +++ b/v1.12.3-standalone/networkpolicypeer-networking-v1.json @@ -70,7 +70,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicypeer.json b/v1.12.3-standalone/networkpolicypeer.json index d75d12314c..fc85263141 100644 --- a/v1.12.3-standalone/networkpolicypeer.json +++ b/v1.12.3-standalone/networkpolicypeer.json @@ -70,7 +70,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -124,7 +127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyport-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicyport-extensions-v1beta1.json index 7c65d598c5..1993fa71ea 100644 --- a/v1.12.3-standalone/networkpolicyport-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicyport-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/networkpolicyport-networking-v1.json b/v1.12.3-standalone/networkpolicyport-networking-v1.json index 02301638ad..defa80989b 100644 --- a/v1.12.3-standalone/networkpolicyport-networking-v1.json +++ b/v1.12.3-standalone/networkpolicyport-networking-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/networkpolicyport.json b/v1.12.3-standalone/networkpolicyport.json index 02301638ad..defa80989b 100644 --- a/v1.12.3-standalone/networkpolicyport.json +++ b/v1.12.3-standalone/networkpolicyport.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/networkpolicyspec-extensions-v1beta1.json b/v1.12.3-standalone/networkpolicyspec-extensions-v1beta1.json index 541a20d683..96d9d7b8bc 100644 --- a/v1.12.3-standalone/networkpolicyspec-extensions-v1beta1.json +++ b/v1.12.3-standalone/networkpolicyspec-extensions-v1beta1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +126,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -177,7 +183,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -280,7 +289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,7 +380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -426,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyspec-networking-v1.json b/v1.12.3-standalone/networkpolicyspec-networking-v1.json index fce4d73240..77b890eaaf 100644 --- a/v1.12.3-standalone/networkpolicyspec-networking-v1.json +++ b/v1.12.3-standalone/networkpolicyspec-networking-v1.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +126,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -177,7 +183,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -280,7 +289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,7 +380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -426,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/networkpolicyspec.json b/v1.12.3-standalone/networkpolicyspec.json index fce4d73240..77b890eaaf 100644 --- a/v1.12.3-standalone/networkpolicyspec.json +++ b/v1.12.3-standalone/networkpolicyspec.json @@ -31,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -123,7 +126,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -177,7 +183,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -280,7 +289,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -334,7 +346,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -365,7 +380,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -426,7 +444,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/nfsvolumesource-v1.json b/v1.12.3-standalone/nfsvolumesource-v1.json index b3e166d6ee..122d722664 100644 --- a/v1.12.3-standalone/nfsvolumesource-v1.json +++ b/v1.12.3-standalone/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3-standalone/nfsvolumesource.json b/v1.12.3-standalone/nfsvolumesource.json index b3e166d6ee..122d722664 100644 --- a/v1.12.3-standalone/nfsvolumesource.json +++ b/v1.12.3-standalone/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3-standalone/node-v1.json b/v1.12.3-standalone/node-v1.json index adbfbfce76..1acfb7fedb 100644 --- a/v1.12.3-standalone/node-v1.json +++ b/v1.12.3-standalone/node-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -466,7 +490,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -501,7 +528,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -511,14 +541,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -528,7 +564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -766,7 +805,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/node.json b/v1.12.3-standalone/node.json index 7548a20e76..feef6791bb 100644 --- a/v1.12.3-standalone/node.json +++ b/v1.12.3-standalone/node.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -460,7 +484,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -495,7 +522,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -505,14 +535,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -522,7 +558,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -760,7 +799,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/nodelist-v1.json b/v1.12.3-standalone/nodelist-v1.json index a50b25196d..c880de7a94 100644 --- a/v1.12.3-standalone/nodelist-v1.json +++ b/v1.12.3-standalone/nodelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -488,7 +512,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -523,7 +550,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -533,14 +563,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -550,7 +586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -788,7 +827,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/nodelist.json b/v1.12.3-standalone/nodelist.json index b6f45f0871..b6aa23b92f 100644 --- a/v1.12.3-standalone/nodelist.json +++ b/v1.12.3-standalone/nodelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -479,7 +503,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -514,7 +541,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -524,14 +554,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -541,7 +577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -779,7 +818,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/nodespec-v1.json b/v1.12.3-standalone/nodespec-v1.json index 350311d2eb..ee5f26c286 100644 --- a/v1.12.3-standalone/nodespec-v1.json +++ b/v1.12.3-standalone/nodespec-v1.json @@ -104,7 +104,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/nodespec.json b/v1.12.3-standalone/nodespec.json index 350311d2eb..ee5f26c286 100644 --- a/v1.12.3-standalone/nodespec.json +++ b/v1.12.3-standalone/nodespec.json @@ -104,7 +104,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/nodestatus-v1.json b/v1.12.3-standalone/nodestatus-v1.json index 207eb83e2a..3e74b56c7f 100644 --- a/v1.12.3-standalone/nodestatus-v1.json +++ b/v1.12.3-standalone/nodestatus-v1.json @@ -29,7 +29,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -39,14 +42,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -56,7 +65,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -294,7 +306,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/nodestatus.json b/v1.12.3-standalone/nodestatus.json index 207eb83e2a..3e74b56c7f 100644 --- a/v1.12.3-standalone/nodestatus.json +++ b/v1.12.3-standalone/nodestatus.json @@ -29,7 +29,10 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -39,14 +42,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -56,7 +65,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -294,7 +306,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/objectmeta-meta-v1.json b/v1.12.3-standalone/objectmeta-meta-v1.json index c600909808..abd0154c6a 100644 --- a/v1.12.3-standalone/objectmeta-meta-v1.json +++ b/v1.12.3-standalone/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -104,7 +113,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -166,7 +178,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -248,7 +263,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,11 +309,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/objectmeta.json b/v1.12.3-standalone/objectmeta.json index 3dd07a12ef..3dd6846cdb 100644 --- a/v1.12.3-standalone/objectmeta.json +++ b/v1.12.3-standalone/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -28,7 +31,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -62,7 +68,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -101,7 +110,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -163,7 +175,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -245,7 +260,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -288,11 +306,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta1.json index 00321eba25..6245d0b7bb 100644 --- a/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -70,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -113,7 +119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta2.json index 2eedd98d92..61c28dabc3 100644 --- a/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/objectmetricsource-autoscaling-v2beta2.json @@ -84,7 +84,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +107,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -116,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -133,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/objectmetricsource.json b/v1.12.3-standalone/objectmetricsource.json index 2eedd98d92..61c28dabc3 100644 --- a/v1.12.3-standalone/objectmetricsource.json +++ b/v1.12.3-standalone/objectmetricsource.json @@ -84,7 +84,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -104,7 +107,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -116,7 +122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -133,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta1.json index 3059acf866..f0e6512ee3 100644 --- a/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta1.json @@ -15,7 +15,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -28,7 +31,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -83,7 +89,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta2.json index 21ba830502..6a263cdbe2 100644 --- a/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/objectmetricstatus-autoscaling-v2beta2.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -120,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/objectmetricstatus.json b/v1.12.3-standalone/objectmetricstatus.json index 21ba830502..6a263cdbe2 100644 --- a/v1.12.3-standalone/objectmetricstatus.json +++ b/v1.12.3-standalone/objectmetricstatus.json @@ -11,7 +11,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -36,7 +42,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -120,7 +129,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/ownerreference-meta-v1.json b/v1.12.3-standalone/ownerreference-meta-v1.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.3-standalone/ownerreference-meta-v1.json +++ b/v1.12.3-standalone/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/ownerreference.json b/v1.12.3-standalone/ownerreference.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.3-standalone/ownerreference.json +++ b/v1.12.3-standalone/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/persistentvolume-v1.json b/v1.12.3-standalone/persistentvolume-v1.json index 2f234de7c2..025a2ba43f 100644 --- a/v1.12.3-standalone/persistentvolume-v1.json +++ b/v1.12.3-standalone/persistentvolume-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -391,12 +415,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -442,7 +472,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -455,7 +488,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -476,7 +512,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -486,7 +525,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -516,7 +558,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -568,7 +613,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -726,11 +774,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -756,12 +810,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -810,7 +870,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -820,7 +883,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -877,7 +943,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -886,7 +955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -907,7 +979,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -940,11 +1015,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -991,7 +1072,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1063,7 +1147,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1208,7 +1295,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1232,7 +1322,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1295,7 +1388,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1353,7 +1449,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1376,7 +1475,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1424,7 +1526,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/persistentvolume.json b/v1.12.3-standalone/persistentvolume.json index 5b945ca2ec..ea51912435 100644 --- a/v1.12.3-standalone/persistentvolume.json +++ b/v1.12.3-standalone/persistentvolume.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -385,12 +409,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -436,7 +466,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -449,7 +482,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -470,7 +506,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -480,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -510,7 +552,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -562,7 +607,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -720,11 +768,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -750,12 +804,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -804,7 +864,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -814,7 +877,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -871,7 +937,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -880,7 +949,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -901,7 +973,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -934,11 +1009,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -985,7 +1066,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1057,7 +1141,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1202,7 +1289,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1226,7 +1316,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1289,7 +1382,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1347,7 +1443,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1370,7 +1469,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1418,7 +1520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/persistentvolumeclaim-v1.json b/v1.12.3-standalone/persistentvolumeclaim-v1.json index 2b8cd0fafc..a7e0145ba9 100644 --- a/v1.12.3-standalone/persistentvolumeclaim-v1.json +++ b/v1.12.3-standalone/persistentvolumeclaim-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -405,7 +429,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -415,14 +442,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -432,7 +465,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -483,7 +519,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -534,7 +573,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -544,7 +586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/persistentvolumeclaim.json b/v1.12.3-standalone/persistentvolumeclaim.json index 0f58a09c15..02520ef27f 100644 --- a/v1.12.3-standalone/persistentvolumeclaim.json +++ b/v1.12.3-standalone/persistentvolumeclaim.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,7 +423,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -409,14 +436,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -426,7 +459,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -477,7 +513,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -528,7 +567,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -538,7 +580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/persistentvolumeclaimlist-v1.json b/v1.12.3-standalone/persistentvolumeclaimlist-v1.json index c974ac35dd..ce19579732 100644 --- a/v1.12.3-standalone/persistentvolumeclaimlist-v1.json +++ b/v1.12.3-standalone/persistentvolumeclaimlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -427,7 +451,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -437,14 +464,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -454,7 +487,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -505,7 +541,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -556,7 +595,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -566,7 +608,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/persistentvolumeclaimlist.json b/v1.12.3-standalone/persistentvolumeclaimlist.json index bfd1903c4d..a3a1f48100 100644 --- a/v1.12.3-standalone/persistentvolumeclaimlist.json +++ b/v1.12.3-standalone/persistentvolumeclaimlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +442,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -428,14 +455,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -445,7 +478,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -496,7 +532,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -547,7 +586,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -557,7 +599,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/persistentvolumeclaimspec-v1.json b/v1.12.3-standalone/persistentvolumeclaimspec-v1.json index 248a50c3e7..27d9369ef4 100644 --- a/v1.12.3-standalone/persistentvolumeclaimspec-v1.json +++ b/v1.12.3-standalone/persistentvolumeclaimspec-v1.json @@ -43,7 +43,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -53,14 +56,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -70,7 +79,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -121,7 +133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/persistentvolumeclaimspec.json b/v1.12.3-standalone/persistentvolumeclaimspec.json index 248a50c3e7..27d9369ef4 100644 --- a/v1.12.3-standalone/persistentvolumeclaimspec.json +++ b/v1.12.3-standalone/persistentvolumeclaimspec.json @@ -43,7 +43,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -53,14 +56,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -70,7 +79,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -121,7 +133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/persistentvolumeclaimstatus-v1.json b/v1.12.3-standalone/persistentvolumeclaimstatus-v1.json index 6f5a7a2eab..c30c10ec80 100644 --- a/v1.12.3-standalone/persistentvolumeclaimstatus-v1.json +++ b/v1.12.3-standalone/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/persistentvolumeclaimstatus.json b/v1.12.3-standalone/persistentvolumeclaimstatus.json index 6f5a7a2eab..c30c10ec80 100644 --- a/v1.12.3-standalone/persistentvolumeclaimstatus.json +++ b/v1.12.3-standalone/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -26,7 +29,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/persistentvolumeclaimvolumesource-v1.json b/v1.12.3-standalone/persistentvolumeclaimvolumesource-v1.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.3-standalone/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.3-standalone/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/persistentvolumeclaimvolumesource.json b/v1.12.3-standalone/persistentvolumeclaimvolumesource.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.3-standalone/persistentvolumeclaimvolumesource.json +++ b/v1.12.3-standalone/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/persistentvolumelist-v1.json b/v1.12.3-standalone/persistentvolumelist-v1.json index b9537ec041..3be95591db 100644 --- a/v1.12.3-standalone/persistentvolumelist-v1.json +++ b/v1.12.3-standalone/persistentvolumelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -413,12 +437,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -464,7 +494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -477,7 +510,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -498,7 +534,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -508,7 +547,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -538,7 +580,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -590,7 +635,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -748,11 +796,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -778,12 +832,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -832,7 +892,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -842,7 +905,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -899,7 +965,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -908,7 +977,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -929,7 +1001,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -962,11 +1037,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1013,7 +1094,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1085,7 +1169,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1230,7 +1317,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1254,7 +1344,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1317,7 +1410,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1375,7 +1471,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1398,7 +1497,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1446,7 +1548,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/persistentvolumelist.json b/v1.12.3-standalone/persistentvolumelist.json index c64ba38ffa..2348d9d18f 100644 --- a/v1.12.3-standalone/persistentvolumelist.json +++ b/v1.12.3-standalone/persistentvolumelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -404,12 +428,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -455,7 +485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -468,7 +501,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -489,7 +525,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -499,7 +538,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -529,7 +571,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -581,7 +626,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -739,11 +787,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -769,12 +823,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -823,7 +883,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -833,7 +896,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -890,7 +956,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -899,7 +968,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -920,7 +992,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -953,11 +1028,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1004,7 +1085,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1076,7 +1160,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1221,7 +1308,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1245,7 +1335,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1308,7 +1401,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1366,7 +1462,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1389,7 +1488,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1437,7 +1539,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/persistentvolumespec-v1.json b/v1.12.3-standalone/persistentvolumespec-v1.json index 2fa7bb3bc6..5c44bc5862 100644 --- a/v1.12.3-standalone/persistentvolumespec-v1.json +++ b/v1.12.3-standalone/persistentvolumespec-v1.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -80,7 +86,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -93,7 +102,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -114,7 +126,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -124,7 +139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -154,7 +172,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -206,7 +227,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -364,11 +388,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -394,12 +424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -448,7 +484,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +497,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -515,7 +557,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -524,7 +569,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -545,7 +593,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -578,11 +629,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -629,7 +686,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -701,7 +761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -846,7 +909,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -870,7 +936,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -933,7 +1002,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -991,7 +1063,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1014,7 +1089,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1062,7 +1140,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/persistentvolumespec.json b/v1.12.3-standalone/persistentvolumespec.json index 2fa7bb3bc6..5c44bc5862 100644 --- a/v1.12.3-standalone/persistentvolumespec.json +++ b/v1.12.3-standalone/persistentvolumespec.json @@ -29,12 +29,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -80,7 +86,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -93,7 +102,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -114,7 +126,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -124,7 +139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -154,7 +172,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -206,7 +227,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -364,11 +388,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -394,12 +424,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -448,7 +484,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -458,7 +497,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -515,7 +557,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -524,7 +569,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -545,7 +593,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -578,11 +629,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -629,7 +686,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -701,7 +761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -846,7 +909,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -870,7 +936,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -933,7 +1002,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -991,7 +1063,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -1014,7 +1089,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1062,7 +1140,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/pod-v1.json b/v1.12.3-standalone/pod-v1.json index de75f4a55a..a419847666 100644 --- a/v1.12.3-standalone/pod-v1.json +++ b/v1.12.3-standalone/pod-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -636,7 +663,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -729,7 +759,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -827,7 +860,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -920,7 +956,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -956,7 +995,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1038,7 +1080,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1083,7 +1128,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1112,7 +1160,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1144,7 +1195,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1167,7 +1221,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1265,7 +1322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1300,7 +1360,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1382,7 +1445,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1483,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1450,7 +1519,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1506,7 +1578,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,17 +1596,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1556,7 +1640,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1564,7 +1651,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1599,7 +1689,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1644,7 +1737,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1700,7 +1796,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1715,17 +1814,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1750,7 +1858,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1758,7 +1869,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1768,7 +1882,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1778,14 +1895,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1795,7 +1918,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1807,7 +1933,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1842,7 +1971,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1853,20 +1985,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1906,11 +2050,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1928,7 +2078,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1986,7 +2139,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2111,15 +2267,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2232,7 +2397,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2277,7 +2445,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2306,7 +2477,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2338,7 +2512,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2361,7 +2538,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2459,7 +2639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2494,7 +2677,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2576,7 +2762,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2644,7 +2836,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2700,7 +2895,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2715,17 +2913,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2750,7 +2957,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2758,7 +2968,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2793,7 +3006,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2838,7 +3054,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2894,7 +3113,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2909,17 +3131,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2944,7 +3175,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2952,7 +3186,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2962,7 +3199,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2972,14 +3212,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2989,7 +3235,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3001,7 +3250,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3036,7 +3288,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3047,20 +3302,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3100,11 +3367,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3122,7 +3395,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3180,7 +3456,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3215,7 +3494,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3225,7 +3507,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3280,21 +3565,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3337,7 +3634,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3383,7 +3683,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3394,7 +3697,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3429,7 +3735,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3469,12 +3778,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3520,7 +3835,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3533,7 +3851,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3570,7 +3891,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3615,7 +3939,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3640,7 +3967,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3662,7 +3992,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3681,7 +4014,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3726,7 +4065,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3755,7 +4097,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3789,7 +4134,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3807,12 +4155,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3861,7 +4215,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3871,7 +4228,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3921,7 +4281,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3930,7 +4293,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3977,7 +4343,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4010,11 +4379,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4061,7 +4436,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4098,7 +4476,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4118,7 +4499,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4156,7 +4540,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4172,7 +4559,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4203,7 +4593,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4222,7 +4615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4262,7 +4658,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4291,7 +4690,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4328,7 +4730,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4347,7 +4752,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4366,7 +4774,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4396,7 +4807,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4459,7 +4873,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4927,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4526,7 +4946,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4560,7 +4983,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4582,7 +5008,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4594,7 +5023,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4617,7 +5049,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4835,7 +5270,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4940,7 +5378,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5073,7 +5514,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5178,7 +5622,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/pod.json b/v1.12.3-standalone/pod.json index 7140f21388..3cb76cbd27 100644 --- a/v1.12.3-standalone/pod.json +++ b/v1.12.3-standalone/pod.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -630,7 +657,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -723,7 +753,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -821,7 +854,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -914,7 +950,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -950,7 +989,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1032,7 +1074,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1077,7 +1122,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1106,7 +1154,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1138,7 +1189,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1161,7 +1215,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1259,7 +1316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1294,7 +1354,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1376,7 +1439,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1411,7 +1477,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1444,7 +1513,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1500,7 +1572,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1515,17 +1590,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1550,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1558,7 +1645,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1593,7 +1683,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1638,7 +1731,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1694,7 +1790,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1709,17 +1808,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1744,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1752,7 +1863,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1762,7 +1876,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1772,14 +1889,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1789,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1801,7 +1927,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1836,7 +1965,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1847,20 +1979,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1900,11 +2044,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1922,7 +2072,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1980,7 +2133,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2105,15 +2261,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2226,7 +2391,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2271,7 +2439,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2300,7 +2471,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2332,7 +2506,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2355,7 +2532,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2453,7 +2633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2488,7 +2671,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2570,7 +2756,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2605,7 +2794,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2638,7 +2830,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2694,7 +2889,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2709,17 +2907,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2744,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2752,7 +2962,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2787,7 +3000,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2832,7 +3048,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2888,7 +3107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2903,17 +3125,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2938,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2946,7 +3180,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2956,7 +3193,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2966,14 +3206,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2983,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2995,7 +3244,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3030,7 +3282,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3041,20 +3296,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3094,11 +3361,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3116,7 +3389,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3174,7 +3450,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3209,7 +3488,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3219,7 +3501,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3274,21 +3559,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3331,7 +3628,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3377,7 +3677,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3388,7 +3691,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3423,7 +3729,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3463,12 +3772,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3514,7 +3829,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3527,7 +3845,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3564,7 +3885,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3609,7 +3933,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3634,7 +3961,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3656,7 +3986,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3675,7 +4008,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3684,7 +4020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3720,7 +4059,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3749,7 +4091,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3783,7 +4128,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3801,12 +4149,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3855,7 +4209,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3865,7 +4222,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3915,7 +4275,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3924,7 +4287,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3971,7 +4337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4004,11 +4373,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4055,7 +4430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4092,7 +4470,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4112,7 +4493,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4150,7 +4534,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4166,7 +4553,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4197,7 +4587,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4216,7 +4609,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4256,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4285,7 +4684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4322,7 +4724,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4746,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4360,7 +4768,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4390,7 +4801,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4453,7 +4867,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4504,7 +4921,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4520,7 +4940,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4554,7 +4977,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4576,7 +5002,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4588,7 +5017,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4611,7 +5043,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4829,7 +5264,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4934,7 +5372,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5067,7 +5508,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5172,7 +5616,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/podaffinity-v1.json b/v1.12.3-standalone/podaffinity-v1.json index c468af8f51..6d87a9a0be 100644 --- a/v1.12.3-standalone/podaffinity-v1.json +++ b/v1.12.3-standalone/podaffinity-v1.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podaffinity.json b/v1.12.3-standalone/podaffinity.json index c468af8f51..6d87a9a0be 100644 --- a/v1.12.3-standalone/podaffinity.json +++ b/v1.12.3-standalone/podaffinity.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podaffinityterm-v1.json b/v1.12.3-standalone/podaffinityterm-v1.json index 119ed9850b..1ac04475b5 100644 --- a/v1.12.3-standalone/podaffinityterm-v1.json +++ b/v1.12.3-standalone/podaffinityterm-v1.json @@ -48,7 +48,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podaffinityterm.json b/v1.12.3-standalone/podaffinityterm.json index 119ed9850b..1ac04475b5 100644 --- a/v1.12.3-standalone/podaffinityterm.json +++ b/v1.12.3-standalone/podaffinityterm.json @@ -48,7 +48,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podantiaffinity-v1.json b/v1.12.3-standalone/podantiaffinity-v1.json index 05d90e86e5..a95f7bb577 100644 --- a/v1.12.3-standalone/podantiaffinity-v1.json +++ b/v1.12.3-standalone/podantiaffinity-v1.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podantiaffinity.json b/v1.12.3-standalone/podantiaffinity.json index 05d90e86e5..a95f7bb577 100644 --- a/v1.12.3-standalone/podantiaffinity.json +++ b/v1.12.3-standalone/podantiaffinity.json @@ -64,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -157,7 +160,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/poddisruptionbudget-policy-v1beta1.json b/v1.12.3-standalone/poddisruptionbudget-policy-v1beta1.json index d6386d4bd7..3b49c0dd88 100644 --- a/v1.12.3-standalone/poddisruptionbudget-policy-v1beta1.json +++ b/v1.12.3-standalone/poddisruptionbudget-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -372,7 +396,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -385,7 +412,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -433,7 +463,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -466,7 +499,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -488,7 +524,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/poddisruptionbudget.json b/v1.12.3-standalone/poddisruptionbudget.json index ee7132ccd3..b688936e95 100644 --- a/v1.12.3-standalone/poddisruptionbudget.json +++ b/v1.12.3-standalone/poddisruptionbudget.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -366,7 +390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -379,7 +406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -427,7 +457,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -482,7 +518,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/poddisruptionbudgetlist-policy-v1beta1.json b/v1.12.3-standalone/poddisruptionbudgetlist-policy-v1beta1.json index 044066323b..a646b76355 100644 --- a/v1.12.3-standalone/poddisruptionbudgetlist-policy-v1beta1.json +++ b/v1.12.3-standalone/poddisruptionbudgetlist-policy-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -406,7 +433,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -454,7 +484,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -487,7 +520,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -509,7 +545,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/poddisruptionbudgetlist.json b/v1.12.3-standalone/poddisruptionbudgetlist.json index f81da9e403..aceca0ff62 100644 --- a/v1.12.3-standalone/poddisruptionbudgetlist.json +++ b/v1.12.3-standalone/poddisruptionbudgetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -201,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -283,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -326,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -397,7 +424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -445,7 +475,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -478,7 +511,10 @@ }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -500,7 +536,10 @@ }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } } diff --git a/v1.12.3-standalone/poddisruptionbudgetspec-policy-v1beta1.json b/v1.12.3-standalone/poddisruptionbudgetspec-policy-v1beta1.json index a4fb96c832..1d259566d9 100644 --- a/v1.12.3-standalone/poddisruptionbudgetspec-policy-v1beta1.json +++ b/v1.12.3-standalone/poddisruptionbudgetspec-policy-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -71,7 +77,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/poddisruptionbudgetspec.json b/v1.12.3-standalone/poddisruptionbudgetspec.json index a4fb96c832..1d259566d9 100644 --- a/v1.12.3-standalone/poddisruptionbudgetspec.json +++ b/v1.12.3-standalone/poddisruptionbudgetspec.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -71,7 +77,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.3-standalone/poddisruptionbudgetstatus-policy-v1beta1.json index 880e672275..be906fb2f5 100644 --- a/v1.12.3-standalone/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.3-standalone/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/poddisruptionbudgetstatus.json b/v1.12.3-standalone/poddisruptionbudgetstatus.json index 880e672275..be906fb2f5 100644 --- a/v1.12.3-standalone/poddisruptionbudgetstatus.json +++ b/v1.12.3-standalone/poddisruptionbudgetstatus.json @@ -9,17 +9,26 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": [ @@ -31,17 +40,26 @@ }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/podlist-v1.json b/v1.12.3-standalone/podlist-v1.json index 3ba2d64b1a..06e0b52a35 100644 --- a/v1.12.3-standalone/podlist-v1.json +++ b/v1.12.3-standalone/podlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -658,7 +685,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -751,7 +781,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -849,7 +882,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -942,7 +978,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -978,7 +1017,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1060,7 +1102,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1105,7 +1150,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1134,7 +1182,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1166,7 +1217,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1189,7 +1243,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1287,7 +1344,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1322,7 +1382,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1404,7 +1467,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1439,7 +1505,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1472,7 +1541,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1528,7 +1600,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1543,17 +1618,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1578,7 +1662,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1586,7 +1673,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1621,7 +1711,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1666,7 +1759,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1722,7 +1818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1737,17 +1836,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1772,7 +1880,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1780,7 +1891,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1790,7 +1904,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1800,14 +1917,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1817,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1829,7 +1955,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1864,7 +1993,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1875,20 +2007,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1928,11 +2072,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1950,7 +2100,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2008,7 +2161,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2133,15 +2289,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2254,7 +2419,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2299,7 +2467,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2328,7 +2499,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2360,7 +2534,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2383,7 +2560,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2481,7 +2661,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2516,7 +2699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2598,7 +2784,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2633,7 +2822,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2666,7 +2858,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2722,7 +2917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2737,17 +2935,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2772,7 +2979,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2780,7 +2990,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2815,7 +3028,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2860,7 +3076,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2916,7 +3135,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2931,17 +3153,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2966,7 +3197,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2974,7 +3208,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2984,7 +3221,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2994,14 +3234,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3011,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3023,7 +3272,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3058,7 +3310,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3069,20 +3324,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3122,11 +3389,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3144,7 +3417,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3202,7 +3478,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3237,7 +3516,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3247,7 +3529,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3302,21 +3587,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3359,7 +3656,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3405,7 +3705,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3416,7 +3719,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3451,7 +3757,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3491,12 +3800,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3542,7 +3857,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3555,7 +3873,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3592,7 +3913,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3637,7 +3961,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3662,7 +3989,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3684,7 +4014,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3703,7 +4036,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3712,7 +4048,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3748,7 +4087,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3777,7 +4119,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3811,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3829,12 +4177,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3883,7 +4237,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3893,7 +4250,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3943,7 +4303,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3952,7 +4315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3999,7 +4365,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4032,11 +4401,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4083,7 +4458,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4120,7 +4498,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4140,7 +4521,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4178,7 +4562,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4194,7 +4581,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4225,7 +4615,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4244,7 +4637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4284,7 +4680,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4313,7 +4712,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4350,7 +4752,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4369,7 +4774,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4388,7 +4796,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4418,7 +4829,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4481,7 +4895,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4949,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4548,7 +4968,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4582,7 +5005,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4604,7 +5030,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4616,7 +5045,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4639,7 +5071,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4857,7 +5292,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4962,7 +5400,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5095,7 +5536,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5200,7 +5644,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/podlist.json b/v1.12.3-standalone/podlist.json index adef9f5fa8..b9add61262 100644 --- a/v1.12.3-standalone/podlist.json +++ b/v1.12.3-standalone/podlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +405,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -649,7 +676,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -742,7 +772,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -840,7 +873,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -933,7 +969,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -969,7 +1008,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1051,7 +1093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1096,7 +1141,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1125,7 +1173,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1157,7 +1208,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1180,7 +1234,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1278,7 +1335,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1313,7 +1373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1395,7 +1458,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1430,7 +1496,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1463,7 +1532,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1519,7 +1591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1534,17 +1609,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1569,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1577,7 +1664,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1612,7 +1702,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1657,7 +1750,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1713,7 +1809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1728,17 +1827,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1763,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1771,7 +1882,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1781,7 +1895,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1791,14 +1908,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1808,7 +1931,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1820,7 +1946,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1855,7 +1984,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1866,20 +1998,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1919,11 +2063,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1941,7 +2091,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1999,7 +2152,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2124,15 +2280,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2245,7 +2410,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2290,7 +2458,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2319,7 +2490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2351,7 +2525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2374,7 +2551,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2472,7 +2652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2507,7 +2690,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2589,7 +2775,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2624,7 +2813,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2657,7 +2849,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2713,7 +2908,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2728,17 +2926,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2763,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2771,7 +2981,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2806,7 +3019,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2851,7 +3067,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2907,7 +3126,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2922,17 +3144,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2957,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2965,7 +3199,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2975,7 +3212,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2985,14 +3225,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3002,7 +3248,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3014,7 +3263,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3049,7 +3301,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3060,20 +3315,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3113,11 +3380,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3135,7 +3408,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3193,7 +3469,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3228,7 +3507,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3238,7 +3520,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3293,21 +3578,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3350,7 +3647,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3396,7 +3696,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3407,7 +3710,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3442,7 +3748,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3482,12 +3791,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3533,7 +3848,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3546,7 +3864,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3583,7 +3904,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3628,7 +3952,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3653,7 +3980,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3675,7 +4005,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3694,7 +4027,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3703,7 +4039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3739,7 +4078,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3768,7 +4110,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3802,7 +4147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3820,12 +4168,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3874,7 +4228,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3884,7 +4241,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3934,7 +4294,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3943,7 +4306,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3990,7 +4356,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4023,11 +4392,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4074,7 +4449,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4111,7 +4489,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4131,7 +4512,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4169,7 +4553,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4185,7 +4572,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4216,7 +4606,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4628,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4275,7 +4671,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4304,7 +4703,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4341,7 +4743,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4360,7 +4765,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4379,7 +4787,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4409,7 +4820,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4472,7 +4886,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4940,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4539,7 +4959,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4573,7 +4996,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4595,7 +5021,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4607,7 +5036,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4630,7 +5062,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4848,7 +5283,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -4953,7 +5391,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5086,7 +5527,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -5191,7 +5635,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/podpreset-settings-v1alpha1.json b/v1.12.3-standalone/podpreset-settings-v1alpha1.json index a90b37c92b..e5502dbff8 100644 --- a/v1.12.3-standalone/podpreset-settings-v1alpha1.json +++ b/v1.12.3-standalone/podpreset-settings-v1alpha1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -408,7 +432,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -453,7 +480,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -482,7 +512,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -512,7 +545,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -535,7 +571,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -586,7 +625,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -626,7 +668,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -665,12 +710,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -716,7 +767,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -729,7 +783,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -766,7 +823,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -811,7 +871,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -836,7 +899,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -858,7 +924,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -877,7 +946,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -886,7 +958,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -922,7 +997,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -951,7 +1029,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -985,7 +1066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1003,12 +1087,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1057,7 +1147,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1067,7 +1160,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1117,7 +1213,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1126,7 +1225,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1173,7 +1275,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1206,11 +1311,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1257,7 +1368,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1294,7 +1408,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1314,7 +1431,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1352,7 +1472,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1368,7 +1491,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1399,7 +1525,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1418,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1458,7 +1590,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1487,7 +1622,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1662,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1543,7 +1684,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1562,7 +1706,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1592,7 +1739,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1655,7 +1805,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1706,7 +1859,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1722,7 +1878,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1756,7 +1915,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1778,7 +1940,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1790,7 +1955,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1813,7 +1981,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podpreset.json b/v1.12.3-standalone/podpreset.json index eb2fe19374..bcafc98c3d 100644 --- a/v1.12.3-standalone/podpreset.json +++ b/v1.12.3-standalone/podpreset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -402,7 +426,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -447,7 +474,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -476,7 +506,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -506,7 +539,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -529,7 +565,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -580,7 +619,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -620,7 +662,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -659,12 +704,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -710,7 +761,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -723,7 +777,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -760,7 +817,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -805,7 +865,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -830,7 +893,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -852,7 +918,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -871,7 +940,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -880,7 +952,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -916,7 +991,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -945,7 +1023,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -979,7 +1060,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -997,12 +1081,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1051,7 +1141,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1061,7 +1154,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1111,7 +1207,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1120,7 +1219,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1167,7 +1269,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,11 +1305,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1251,7 +1362,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1288,7 +1402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1308,7 +1425,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1346,7 +1466,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1362,7 +1485,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1393,7 +1519,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1412,7 +1541,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1452,7 +1584,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1481,7 +1616,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1518,7 +1656,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1537,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1556,7 +1700,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1586,7 +1733,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1649,7 +1799,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1700,7 +1853,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1716,7 +1872,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1750,7 +1909,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1772,7 +1934,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1784,7 +1949,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1807,7 +1975,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podpresetlist-settings-v1alpha1.json b/v1.12.3-standalone/podpresetlist-settings-v1alpha1.json index fbd5943ead..cfa3e3c49e 100644 --- a/v1.12.3-standalone/podpresetlist-settings-v1alpha1.json +++ b/v1.12.3-standalone/podpresetlist-settings-v1alpha1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -430,7 +454,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -475,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -504,7 +534,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -534,7 +567,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -557,7 +593,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -608,7 +647,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -648,7 +690,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -687,12 +732,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -738,7 +789,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -751,7 +805,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -788,7 +845,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -833,7 +893,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -858,7 +921,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -880,7 +946,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -899,7 +968,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -908,7 +980,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -944,7 +1019,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -973,7 +1051,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1007,7 +1088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1025,12 +1109,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1079,7 +1169,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1089,7 +1182,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1139,7 +1235,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1148,7 +1247,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1195,7 +1297,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1228,11 +1333,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1279,7 +1390,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1316,7 +1430,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1336,7 +1453,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1374,7 +1494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1390,7 +1513,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1421,7 +1547,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1440,7 +1569,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1480,7 +1612,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1509,7 +1644,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1684,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1565,7 +1706,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1584,7 +1728,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1614,7 +1761,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1677,7 +1827,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1728,7 +1881,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1744,7 +1900,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1778,7 +1937,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1800,7 +1962,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1812,7 +1977,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1835,7 +2003,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podpresetlist.json b/v1.12.3-standalone/podpresetlist.json index be88cb521f..df3fa41013 100644 --- a/v1.12.3-standalone/podpresetlist.json +++ b/v1.12.3-standalone/podpresetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -421,7 +445,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -466,7 +493,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -495,7 +525,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -525,7 +558,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -548,7 +584,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -599,7 +638,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -639,7 +681,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -678,12 +723,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -729,7 +780,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -742,7 +796,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -779,7 +836,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -824,7 +884,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -849,7 +912,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -871,7 +937,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -890,7 +959,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -899,7 +971,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -935,7 +1010,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -964,7 +1042,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -998,7 +1079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1016,12 +1100,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -1070,7 +1160,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1080,7 +1173,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1130,7 +1226,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -1139,7 +1238,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1186,7 +1288,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1219,11 +1324,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -1270,7 +1381,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1307,7 +1421,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -1327,7 +1444,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1365,7 +1485,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1381,7 +1504,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1412,7 +1538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1431,7 +1560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1471,7 +1603,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1500,7 +1635,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1675,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1556,7 +1697,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1575,7 +1719,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1605,7 +1752,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1668,7 +1818,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1719,7 +1872,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1735,7 +1891,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1769,7 +1928,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1791,7 +1953,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1803,7 +1968,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1826,7 +1994,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podpresetspec-settings-v1alpha1.json b/v1.12.3-standalone/podpresetspec-settings-v1alpha1.json index 28be5ab994..5d514e8c31 100644 --- a/v1.12.3-standalone/podpresetspec-settings-v1alpha1.json +++ b/v1.12.3-standalone/podpresetspec-settings-v1alpha1.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -91,7 +94,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -120,7 +126,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -150,7 +159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -173,7 +185,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -224,7 +239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -264,7 +282,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -303,12 +324,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -354,7 +381,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -367,7 +397,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -404,7 +437,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -449,7 +485,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -474,7 +513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -496,7 +538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -515,7 +560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -524,7 +572,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -560,7 +611,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -589,7 +643,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -623,7 +680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -641,12 +701,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -695,7 +761,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -705,7 +774,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -755,7 +827,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -764,7 +839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -811,7 +889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -844,11 +925,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -895,7 +982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -932,7 +1022,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -952,7 +1045,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -990,7 +1086,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1006,7 +1105,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1037,7 +1139,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1056,7 +1161,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1096,7 +1204,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1125,7 +1236,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1181,7 +1298,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1320,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1230,7 +1353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1293,7 +1419,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1344,7 +1473,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1360,7 +1492,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1394,7 +1529,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1416,7 +1554,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1428,7 +1569,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1451,7 +1595,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podpresetspec.json b/v1.12.3-standalone/podpresetspec.json index 28be5ab994..5d514e8c31 100644 --- a/v1.12.3-standalone/podpresetspec.json +++ b/v1.12.3-standalone/podpresetspec.json @@ -46,7 +46,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -91,7 +94,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -120,7 +126,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -150,7 +159,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -173,7 +185,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -224,7 +239,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -264,7 +282,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -303,12 +324,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -354,7 +381,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -367,7 +397,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -404,7 +437,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -449,7 +485,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -474,7 +513,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -496,7 +538,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -515,7 +560,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -524,7 +572,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -560,7 +611,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -589,7 +643,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -623,7 +680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -641,12 +701,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -695,7 +761,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -705,7 +774,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -755,7 +827,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -764,7 +839,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -811,7 +889,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -844,11 +925,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -895,7 +982,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -932,7 +1022,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -952,7 +1045,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -990,7 +1086,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -1006,7 +1105,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -1037,7 +1139,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1056,7 +1161,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1096,7 +1204,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1125,7 +1236,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1276,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1181,7 +1298,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1200,7 +1320,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -1230,7 +1353,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1293,7 +1419,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1344,7 +1473,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1360,7 +1492,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1394,7 +1529,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1416,7 +1554,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1428,7 +1569,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1451,7 +1595,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podsecuritycontext-v1.json b/v1.12.3-standalone/podsecuritycontext-v1.json index 6700ec64a9..4d7da595ac 100644 --- a/v1.12.3-standalone/podsecuritycontext-v1.json +++ b/v1.12.3-standalone/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -60,7 +72,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/podsecuritycontext.json b/v1.12.3-standalone/podsecuritycontext.json index 6700ec64a9..4d7da595ac 100644 --- a/v1.12.3-standalone/podsecuritycontext.json +++ b/v1.12.3-standalone/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -60,7 +72,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/podsecuritypolicy-extensions-v1beta1.json b/v1.12.3-standalone/podsecuritypolicy-extensions-v1beta1.json index eb6e67f4be..0df82a806b 100644 --- a/v1.12.3-standalone/podsecuritypolicy-extensions-v1beta1.json +++ b/v1.12.3-standalone/podsecuritypolicy-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,7 +395,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -423,7 +450,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -469,7 +499,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -524,15 +557,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -562,11 +604,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicy-policy-v1beta1.json b/v1.12.3-standalone/podsecuritypolicy-policy-v1beta1.json index 7ffbd863b4..d2fc6eaedd 100644 --- a/v1.12.3-standalone/podsecuritypolicy-policy-v1beta1.json +++ b/v1.12.3-standalone/podsecuritypolicy-policy-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,7 +395,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -423,7 +450,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -469,7 +499,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -524,15 +557,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -562,11 +604,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicy.json b/v1.12.3-standalone/podsecuritypolicy.json index 5a9a8a1a7b..7bff16c038 100644 --- a/v1.12.3-standalone/podsecuritypolicy.json +++ b/v1.12.3-standalone/podsecuritypolicy.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -417,7 +444,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -463,7 +493,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -518,15 +551,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -556,11 +598,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicylist-extensions-v1beta1.json b/v1.12.3-standalone/podsecuritypolicylist-extensions-v1beta1.json index c4ad94c690..e776a6689f 100644 --- a/v1.12.3-standalone/podsecuritypolicylist-extensions-v1beta1.json +++ b/v1.12.3-standalone/podsecuritypolicylist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -445,7 +472,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -491,7 +521,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -546,15 +579,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -584,11 +626,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicylist-policy-v1beta1.json b/v1.12.3-standalone/podsecuritypolicylist-policy-v1beta1.json index cf0ca211a2..6300a3dff1 100644 --- a/v1.12.3-standalone/podsecuritypolicylist-policy-v1beta1.json +++ b/v1.12.3-standalone/podsecuritypolicylist-policy-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -445,7 +472,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -491,7 +521,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -546,15 +579,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -584,11 +626,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicylist.json b/v1.12.3-standalone/podsecuritypolicylist.json index 1d8e46df3e..65fc4d866c 100644 --- a/v1.12.3-standalone/podsecuritypolicylist.json +++ b/v1.12.3-standalone/podsecuritypolicylist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -384,7 +408,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -436,7 +463,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -482,7 +512,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -537,15 +570,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -575,11 +617,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.3-standalone/podsecuritypolicyspec-extensions-v1beta1.json index 26e1672bb3..d1c5747129 100644 --- a/v1.12.3-standalone/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.3-standalone/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -61,7 +64,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -107,7 +113,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -162,15 +171,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -200,11 +218,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.3-standalone/podsecuritypolicyspec-policy-v1beta1.json index 5931f8a184..27191f304d 100644 --- a/v1.12.3-standalone/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.3-standalone/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -61,7 +64,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -107,7 +113,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -162,15 +171,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -200,11 +218,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsecuritypolicyspec.json b/v1.12.3-standalone/podsecuritypolicyspec.json index 5931f8a184..27191f304d 100644 --- a/v1.12.3-standalone/podsecuritypolicyspec.json +++ b/v1.12.3-standalone/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -61,7 +64,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -107,7 +113,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -162,15 +171,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -200,11 +218,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta1.json index e668896249..84afd943a5 100644 --- a/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta1.json @@ -56,7 +56,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -75,7 +78,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta2.json index 65c3e50d01..d02be46199 100644 --- a/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/podsmetricsource-autoscaling-v2beta2.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/podsmetricsource.json b/v1.12.3-standalone/podsmetricsource.json index 65c3e50d01..d02be46199 100644 --- a/v1.12.3-standalone/podsmetricsource.json +++ b/v1.12.3-standalone/podsmetricsource.json @@ -59,7 +59,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -79,7 +82,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -91,7 +97,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -108,7 +117,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta1.json index e24bdc17b9..1a1fb93140 100644 --- a/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta1.json @@ -14,7 +14,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -69,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta2.json index 98b6980fd6..2408d41193 100644 --- a/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/podsmetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podsmetricstatus.json b/v1.12.3-standalone/podsmetricstatus.json index 98b6980fd6..2408d41193 100644 --- a/v1.12.3-standalone/podsmetricstatus.json +++ b/v1.12.3-standalone/podsmetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -95,7 +104,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/podspec-v1.json b/v1.12.3-standalone/podspec-v1.json index f2bdc33306..437c0d7d98 100644 --- a/v1.12.3-standalone/podspec-v1.json +++ b/v1.12.3-standalone/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -274,7 +277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -367,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -558,7 +570,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -594,7 +609,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -679,7 +697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -724,7 +745,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -753,7 +777,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -785,7 +812,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -808,7 +838,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -906,7 +939,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -941,7 +977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1023,7 +1062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1058,7 +1100,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1091,7 +1136,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1147,7 +1195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1162,17 +1213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1197,7 +1257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1205,7 +1268,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1240,7 +1306,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1285,7 +1354,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1341,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1356,17 +1431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1391,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1399,7 +1486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1409,7 +1499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1419,14 +1512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1436,7 +1535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1448,7 +1550,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1483,7 +1588,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1494,20 +1602,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1547,11 +1667,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1569,7 +1695,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1627,7 +1756,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1752,15 +1884,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1873,7 +2014,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1918,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1947,7 +2094,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1979,7 +2129,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2002,7 +2155,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2100,7 +2256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2135,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2217,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2252,7 +2417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2285,7 +2453,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2341,7 +2512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2356,17 +2530,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2391,7 +2574,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2399,7 +2585,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2434,7 +2623,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2479,7 +2671,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2535,7 +2730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2550,17 +2748,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2585,7 +2792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2593,7 +2803,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2603,7 +2816,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2613,14 +2829,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2630,7 +2852,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2642,7 +2867,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2677,7 +2905,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2688,20 +2919,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2741,11 +2984,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2763,7 +3012,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2821,7 +3073,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2856,7 +3111,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2866,7 +3124,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -2921,21 +3182,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2978,7 +3251,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3024,7 +3300,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3035,7 +3314,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3070,7 +3352,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3110,12 +3395,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3161,7 +3452,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3174,7 +3468,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3211,7 +3508,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3256,7 +3556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3281,7 +3584,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3303,7 +3609,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3322,7 +3631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3331,7 +3643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3367,7 +3682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3396,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3430,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3448,12 +3772,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3502,7 +3832,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3512,7 +3845,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3562,7 +3898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3571,7 +3910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3618,7 +3960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3651,11 +3996,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3702,7 +4053,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3739,7 +4093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3759,7 +4116,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3797,7 +4157,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3813,7 +4176,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3844,7 +4210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4232,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3903,7 +4275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3932,7 +4307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3969,7 +4347,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3988,7 +4369,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4007,7 +4391,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4037,7 +4424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4100,7 +4490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4151,7 +4544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4167,7 +4563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4201,7 +4600,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4625,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4258,7 +4666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podspec.json b/v1.12.3-standalone/podspec.json index f2bdc33306..437c0d7d98 100644 --- a/v1.12.3-standalone/podspec.json +++ b/v1.12.3-standalone/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -274,7 +277,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -367,7 +373,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -465,7 +474,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -558,7 +570,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -594,7 +609,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -679,7 +697,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -724,7 +745,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -753,7 +777,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -785,7 +812,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -808,7 +838,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -906,7 +939,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -941,7 +977,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1023,7 +1062,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1058,7 +1100,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1091,7 +1136,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1147,7 +1195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1162,17 +1213,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1197,7 +1257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1205,7 +1268,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1240,7 +1306,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1285,7 +1354,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1341,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1356,17 +1431,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1391,7 +1475,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1399,7 +1486,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1409,7 +1499,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1419,14 +1512,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1436,7 +1535,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1448,7 +1550,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1483,7 +1588,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1494,20 +1602,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1547,11 +1667,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1569,7 +1695,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1627,7 +1756,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -1752,15 +1884,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -1873,7 +2014,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1918,7 +2062,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1947,7 +2094,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1979,7 +2129,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2002,7 +2155,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2100,7 +2256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2135,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2217,7 +2379,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2252,7 +2417,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2285,7 +2453,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2341,7 +2512,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2356,17 +2530,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2391,7 +2574,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2399,7 +2585,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2434,7 +2623,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2479,7 +2671,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2535,7 +2730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2550,17 +2748,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2585,7 +2792,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2593,7 +2803,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2603,7 +2816,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2613,14 +2829,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2630,7 +2852,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2642,7 +2867,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2677,7 +2905,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2688,20 +2919,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2741,11 +2984,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2763,7 +3012,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2821,7 +3073,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2856,7 +3111,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -2866,7 +3124,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -2921,21 +3182,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2978,7 +3251,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3024,7 +3300,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3035,7 +3314,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3070,7 +3352,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3110,12 +3395,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3161,7 +3452,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3174,7 +3468,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3211,7 +3508,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3256,7 +3556,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3281,7 +3584,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3303,7 +3609,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3322,7 +3631,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3331,7 +3643,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3367,7 +3682,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3396,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3430,7 +3751,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3448,12 +3772,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3502,7 +3832,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3512,7 +3845,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3562,7 +3898,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3571,7 +3910,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3618,7 +3960,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3651,11 +3996,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -3702,7 +4053,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3739,7 +4093,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -3759,7 +4116,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3797,7 +4157,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -3813,7 +4176,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -3844,7 +4210,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3863,7 +4232,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3903,7 +4275,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3932,7 +4307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3969,7 +4347,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3988,7 +4369,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4007,7 +4391,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4037,7 +4424,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4100,7 +4490,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4151,7 +4544,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4167,7 +4563,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4201,7 +4600,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4223,7 +4625,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4235,7 +4640,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4258,7 +4666,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podstatus-v1.json b/v1.12.3-standalone/podstatus-v1.json index ba6877fca4..d8b52c713a 100644 --- a/v1.12.3-standalone/podstatus-v1.json +++ b/v1.12.3-standalone/podstatus-v1.json @@ -146,7 +146,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -251,7 +254,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -384,7 +390,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -489,7 +498,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/podstatus.json b/v1.12.3-standalone/podstatus.json index ba6877fca4..d8b52c713a 100644 --- a/v1.12.3-standalone/podstatus.json +++ b/v1.12.3-standalone/podstatus.json @@ -146,7 +146,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -251,7 +254,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -384,7 +390,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { @@ -489,7 +498,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3-standalone/podtemplate-v1.json b/v1.12.3-standalone/podtemplate-v1.json index 7c3854fdbf..5674633940 100644 --- a/v1.12.3-standalone/podtemplate-v1.json +++ b/v1.12.3-standalone/podtemplate-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -393,7 +420,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -427,7 +457,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -469,7 +502,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -531,7 +567,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -613,7 +652,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -656,11 +698,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -710,7 +758,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -978,7 +1029,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1071,7 +1125,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1169,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1262,7 +1322,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1298,7 +1361,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1380,7 +1446,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1425,7 +1494,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1454,7 +1526,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1486,7 +1561,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1509,7 +1587,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1607,7 +1688,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1642,7 +1726,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1724,7 +1811,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1759,7 +1849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1792,7 +1885,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1848,7 +1944,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,17 +1962,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1898,7 +2006,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1906,7 +2017,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1941,7 +2055,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1986,7 +2103,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2042,7 +2162,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2057,17 +2180,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2092,7 +2224,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2100,7 +2235,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2110,7 +2248,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2120,14 +2261,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2137,7 +2284,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2149,7 +2299,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2184,7 +2337,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2195,20 +2351,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2248,11 +2416,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2270,7 +2444,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2328,7 +2505,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2453,15 +2633,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2574,7 +2763,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2619,7 +2811,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2648,7 +2843,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2680,7 +2878,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2703,7 +2904,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2801,7 +3005,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2836,7 +3043,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2918,7 +3128,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2953,7 +3166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2986,7 +3202,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3042,7 +3261,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3057,17 +3279,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3092,7 +3323,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3100,7 +3334,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3135,7 +3372,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3180,7 +3420,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3236,7 +3479,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3251,17 +3497,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3286,7 +3541,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3294,7 +3552,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3304,7 +3565,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3314,14 +3578,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3331,7 +3601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3343,7 +3616,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3378,7 +3654,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3389,20 +3668,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3442,11 +3733,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3464,7 +3761,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3522,7 +3822,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3557,7 +3860,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3567,7 +3873,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3622,21 +3931,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3679,7 +4000,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3725,7 +4049,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3736,7 +4063,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3771,7 +4101,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3811,12 +4144,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3862,7 +4201,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3875,7 +4217,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3912,7 +4257,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3957,7 +4305,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3982,7 +4333,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4004,7 +4358,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4023,7 +4380,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4032,7 +4392,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4068,7 +4431,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4097,7 +4463,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4131,7 +4500,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4149,12 +4521,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4203,7 +4581,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4213,7 +4594,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4263,7 +4647,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4272,7 +4659,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4319,7 +4709,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4352,11 +4745,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4403,7 +4802,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4440,7 +4842,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4460,7 +4865,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4498,7 +4906,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4514,7 +4925,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4545,7 +4959,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4564,7 +4981,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4604,7 +5024,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4633,7 +5056,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4670,7 +5096,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4689,7 +5118,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4708,7 +5140,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4738,7 +5173,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4801,7 +5239,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4852,7 +5293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4868,7 +5312,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4902,7 +5349,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4924,7 +5374,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4936,7 +5389,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4959,7 +5415,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podtemplate.json b/v1.12.3-standalone/podtemplate.json index ce778f1a66..828c957779 100644 --- a/v1.12.3-standalone/podtemplate.json +++ b/v1.12.3-standalone/podtemplate.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -387,7 +414,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -421,7 +451,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -460,7 +493,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -522,7 +558,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -604,7 +643,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -647,11 +689,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -701,7 +749,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -969,7 +1020,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1062,7 +1116,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1160,7 +1217,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1253,7 +1313,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1289,7 +1352,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1371,7 +1437,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1416,7 +1485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1445,7 +1517,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1477,7 +1552,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1500,7 +1578,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1598,7 +1679,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1633,7 +1717,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1715,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1750,7 +1840,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1783,7 +1876,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1839,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1854,17 +1953,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1889,7 +1997,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1897,7 +2008,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1932,7 +2046,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1977,7 +2094,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2033,7 +2153,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2048,17 +2171,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2083,7 +2215,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2091,7 +2226,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2101,7 +2239,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2111,14 +2252,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2128,7 +2275,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2140,7 +2290,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2175,7 +2328,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2186,20 +2342,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2239,11 +2407,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2261,7 +2435,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2319,7 +2496,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2444,15 +2624,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2565,7 +2754,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2610,7 +2802,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2639,7 +2834,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2671,7 +2869,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2694,7 +2895,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2792,7 +2996,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2827,7 +3034,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2909,7 +3119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2944,7 +3157,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2977,7 +3193,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3033,7 +3252,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3048,17 +3270,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3083,7 +3314,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3091,7 +3325,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3126,7 +3363,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3171,7 +3411,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3227,7 +3470,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3242,17 +3488,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3277,7 +3532,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3285,7 +3543,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3295,7 +3556,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3305,14 +3569,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3322,7 +3592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3334,7 +3607,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3369,7 +3645,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3380,20 +3659,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3433,11 +3724,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3455,7 +3752,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3513,7 +3813,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3548,7 +3851,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3558,7 +3864,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3613,21 +3922,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3670,7 +3991,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3716,7 +4040,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3727,7 +4054,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3762,7 +4092,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3802,12 +4135,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3853,7 +4192,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3866,7 +4208,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3903,7 +4248,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3948,7 +4296,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3973,7 +4324,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3995,7 +4349,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4014,7 +4371,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4023,7 +4383,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4059,7 +4422,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4088,7 +4454,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4122,7 +4491,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4140,12 +4512,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4194,7 +4572,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4204,7 +4585,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4254,7 +4638,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4263,7 +4650,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4310,7 +4700,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4343,11 +4736,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4394,7 +4793,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4431,7 +4833,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4451,7 +4856,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4489,7 +4897,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4505,7 +4916,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4536,7 +4950,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4555,7 +4972,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4595,7 +5015,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4624,7 +5047,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4661,7 +5087,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4680,7 +5109,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4699,7 +5131,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4729,7 +5164,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4792,7 +5230,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4843,7 +5284,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4859,7 +5303,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4893,7 +5340,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4915,7 +5365,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4927,7 +5380,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4950,7 +5406,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podtemplatelist-v1.json b/v1.12.3-standalone/podtemplatelist-v1.json index 9d5231efa0..9cc978c193 100644 --- a/v1.12.3-standalone/podtemplatelist-v1.json +++ b/v1.12.3-standalone/podtemplatelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,7 +414,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -415,7 +442,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -449,7 +479,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -491,7 +524,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -553,7 +589,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -635,7 +674,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -678,11 +720,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -732,7 +780,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1000,7 +1051,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1093,7 +1147,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1191,7 +1248,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1284,7 +1344,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1320,7 +1383,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1402,7 +1468,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1447,7 +1516,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1476,7 +1548,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1508,7 +1583,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1531,7 +1609,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1629,7 +1710,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1664,7 +1748,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1746,7 +1833,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1814,7 +1907,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1870,7 +1966,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1885,17 +1984,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1920,7 +2028,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1928,7 +2039,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1963,7 +2077,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2008,7 +2125,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2064,7 +2184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2079,17 +2202,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2114,7 +2246,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2122,7 +2257,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2132,7 +2270,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2142,14 +2283,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2159,7 +2306,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2171,7 +2321,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2206,7 +2359,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2217,20 +2373,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2270,11 +2438,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2292,7 +2466,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2350,7 +2527,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2475,15 +2655,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2596,7 +2785,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2641,7 +2833,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2670,7 +2865,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2702,7 +2900,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2725,7 +2926,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2823,7 +3027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2858,7 +3065,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2940,7 +3150,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2975,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3008,7 +3224,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3064,7 +3283,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3079,17 +3301,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3114,7 +3345,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3122,7 +3356,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3157,7 +3394,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3202,7 +3442,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3258,7 +3501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3273,17 +3519,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3308,7 +3563,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3316,7 +3574,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3326,7 +3587,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3336,14 +3600,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3353,7 +3623,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3365,7 +3638,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3400,7 +3676,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3411,20 +3690,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3464,11 +3755,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3486,7 +3783,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3544,7 +3844,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3579,7 +3882,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3589,7 +3895,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3644,21 +3953,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3701,7 +4022,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3747,7 +4071,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3758,7 +4085,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3793,7 +4123,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3833,12 +4166,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3884,7 +4223,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3897,7 +4239,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3934,7 +4279,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3979,7 +4327,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4004,7 +4355,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4026,7 +4380,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4045,7 +4402,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4054,7 +4414,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4090,7 +4453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4119,7 +4485,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4153,7 +4522,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4171,12 +4543,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4225,7 +4603,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4235,7 +4616,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4285,7 +4669,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4294,7 +4681,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4341,7 +4731,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4374,11 +4767,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4425,7 +4824,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4462,7 +4864,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4482,7 +4887,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4520,7 +4928,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4536,7 +4947,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4567,7 +4981,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4586,7 +5003,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4626,7 +5046,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4655,7 +5078,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4692,7 +5118,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4711,7 +5140,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4730,7 +5162,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4760,7 +5195,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4823,7 +5261,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4874,7 +5315,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4890,7 +5334,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4924,7 +5371,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4946,7 +5396,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4958,7 +5411,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4981,7 +5437,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podtemplatelist.json b/v1.12.3-standalone/podtemplatelist.json index ef4af45fc8..74fadfe156 100644 --- a/v1.12.3-standalone/podtemplatelist.json +++ b/v1.12.3-standalone/podtemplatelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -381,7 +405,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -406,7 +433,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -440,7 +470,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -479,7 +512,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -541,7 +577,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -623,7 +662,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -666,11 +708,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -720,7 +768,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -988,7 +1039,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1081,7 +1135,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1179,7 +1236,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1272,7 +1332,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1308,7 +1371,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1390,7 +1456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1435,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1464,7 +1536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1496,7 +1571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1519,7 +1597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1617,7 +1698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1652,7 +1736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1734,7 +1821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1769,7 +1859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1802,7 +1895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1858,7 +1954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1873,17 +1972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1908,7 +2016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1916,7 +2027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1951,7 +2065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1996,7 +2113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2052,7 +2172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2067,17 +2190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2102,7 +2234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2110,7 +2245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2120,7 +2258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2130,14 +2271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2147,7 +2294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2159,7 +2309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2194,7 +2347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2205,20 +2361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2258,11 +2426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2280,7 +2454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2338,7 +2515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2463,15 +2643,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2584,7 +2773,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2629,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2658,7 +2853,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2690,7 +2888,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2713,7 +2914,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2811,7 +3015,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2846,7 +3053,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2928,7 +3138,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2963,7 +3176,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2996,7 +3212,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3052,7 +3271,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3067,17 +3289,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3102,7 +3333,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3110,7 +3344,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3145,7 +3382,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3190,7 +3430,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3246,7 +3489,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3261,17 +3507,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3296,7 +3551,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3304,7 +3562,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3314,7 +3575,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3324,14 +3588,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3341,7 +3611,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3353,7 +3626,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3388,7 +3664,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3399,20 +3678,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3452,11 +3743,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3474,7 +3771,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3532,7 +3832,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3567,7 +3870,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3577,7 +3883,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3632,21 +3941,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3689,7 +4010,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3735,7 +4059,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3746,7 +4073,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3781,7 +4111,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3821,12 +4154,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3872,7 +4211,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3885,7 +4227,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3922,7 +4267,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3967,7 +4315,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3992,7 +4343,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4014,7 +4368,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4033,7 +4390,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4042,7 +4402,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4078,7 +4441,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4107,7 +4473,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4141,7 +4510,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4159,12 +4531,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4213,7 +4591,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4223,7 +4604,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4273,7 +4657,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4282,7 +4669,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4329,7 +4719,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4362,11 +4755,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4413,7 +4812,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4450,7 +4852,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4470,7 +4875,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4508,7 +4916,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4524,7 +4935,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4555,7 +4969,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4574,7 +4991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4614,7 +5034,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4643,7 +5066,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4680,7 +5106,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4699,7 +5128,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4718,7 +5150,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4748,7 +5183,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4811,7 +5249,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4862,7 +5303,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4878,7 +5322,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4912,7 +5359,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4934,7 +5384,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4946,7 +5399,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4969,7 +5425,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podtemplatespec-v1.json b/v1.12.3-standalone/podtemplatespec-v1.json index 492b22f2b6..f91bfc53db 100644 --- a/v1.12.3-standalone/podtemplatespec-v1.json +++ b/v1.12.3-standalone/podtemplatespec-v1.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -107,7 +116,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -169,7 +181,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -251,7 +266,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -294,11 +312,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -348,7 +372,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -616,7 +643,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -709,7 +739,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -807,7 +840,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -900,7 +936,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -936,7 +975,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1018,7 +1060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1063,7 +1108,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1092,7 +1140,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1124,7 +1175,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1147,7 +1201,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1245,7 +1302,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1280,7 +1340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1362,7 +1425,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1397,7 +1463,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1430,7 +1499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1486,7 +1558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1501,17 +1576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1536,7 +1620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1544,7 +1631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1579,7 +1669,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1624,7 +1717,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1680,7 +1776,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1695,17 +1794,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1730,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1738,7 +1849,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1748,7 +1862,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1758,14 +1875,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1775,7 +1898,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1787,7 +1913,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1822,7 +1951,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1833,20 +1965,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1886,11 +2030,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1908,7 +2058,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1966,7 +2119,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2091,15 +2247,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2212,7 +2377,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2257,7 +2425,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2286,7 +2457,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2318,7 +2492,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2341,7 +2518,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2439,7 +2619,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2474,7 +2657,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2556,7 +2742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2591,7 +2780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2624,7 +2816,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2680,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2695,17 +2893,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2730,7 +2937,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2738,7 +2948,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2773,7 +2986,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2818,7 +3034,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2874,7 +3093,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2889,17 +3111,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2924,7 +3155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2932,7 +3166,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2942,7 +3179,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2952,14 +3192,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2969,7 +3215,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2981,7 +3230,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3016,7 +3268,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3027,20 +3282,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3080,11 +3347,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3102,7 +3375,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3160,7 +3436,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3195,7 +3474,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3205,7 +3487,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3260,21 +3545,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3317,7 +3614,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3363,7 +3663,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3374,7 +3677,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3409,7 +3715,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3449,12 +3758,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3500,7 +3815,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3513,7 +3831,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3550,7 +3871,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3595,7 +3919,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3620,7 +3947,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3642,7 +3972,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3661,7 +3994,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3670,7 +4006,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3706,7 +4045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3735,7 +4077,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3769,7 +4114,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3787,12 +4135,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3841,7 +4195,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3851,7 +4208,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3901,7 +4261,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3910,7 +4273,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3957,7 +4323,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3990,11 +4359,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4041,7 +4416,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4078,7 +4456,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4098,7 +4479,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4136,7 +4520,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4152,7 +4539,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4183,7 +4573,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4202,7 +4595,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4242,7 +4638,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4271,7 +4670,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4308,7 +4710,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4327,7 +4732,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4346,7 +4754,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4376,7 +4787,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4439,7 +4853,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4490,7 +4907,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4506,7 +4926,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4540,7 +4963,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4562,7 +4988,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4574,7 +5003,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4597,7 +5029,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/podtemplatespec.json b/v1.12.3-standalone/podtemplatespec.json index 2163c5353e..67ca944cff 100644 --- a/v1.12.3-standalone/podtemplatespec.json +++ b/v1.12.3-standalone/podtemplatespec.json @@ -6,7 +6,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -31,7 +34,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -65,7 +71,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -104,7 +113,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -166,7 +178,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -248,7 +263,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -291,11 +309,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -345,7 +369,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -613,7 +640,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -706,7 +736,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -804,7 +837,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -897,7 +933,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -933,7 +972,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1015,7 +1057,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1060,7 +1105,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1089,7 +1137,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1121,7 +1172,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1144,7 +1198,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1242,7 +1299,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1277,7 +1337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1359,7 +1422,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1394,7 +1460,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1427,7 +1496,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1483,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1498,17 +1573,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1533,7 +1617,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1541,7 +1628,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1576,7 +1666,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1621,7 +1714,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1677,7 +1773,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1692,17 +1791,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1727,7 +1835,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1735,7 +1846,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1745,7 +1859,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1755,14 +1872,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1772,7 +1895,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1784,7 +1910,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1819,7 +1948,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1830,20 +1962,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1883,11 +2027,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1905,7 +2055,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1963,7 +2116,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2088,15 +2244,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2209,7 +2374,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2254,7 +2422,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2283,7 +2454,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2315,7 +2489,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2338,7 +2515,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2436,7 +2616,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2471,7 +2654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2553,7 +2739,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2588,7 +2777,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2621,7 +2813,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2677,7 +2872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2692,17 +2890,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2727,7 +2934,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2735,7 +2945,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2770,7 +2983,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2815,7 +3031,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2871,7 +3090,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2886,17 +3108,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2921,7 +3152,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2929,7 +3163,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2939,7 +3176,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2949,14 +3189,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2966,7 +3212,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2978,7 +3227,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3013,7 +3265,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3024,20 +3279,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3077,11 +3344,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3099,7 +3372,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3157,7 +3433,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3192,7 +3471,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3202,7 +3484,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3257,21 +3542,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3314,7 +3611,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3360,7 +3660,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3371,7 +3674,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3406,7 +3712,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3446,12 +3755,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3497,7 +3812,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3510,7 +3828,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3547,7 +3868,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3592,7 +3916,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3617,7 +3944,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3639,7 +3969,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3658,7 +3991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3667,7 +4003,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3703,7 +4042,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3732,7 +4074,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3766,7 +4111,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3784,12 +4132,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3838,7 +4192,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3848,7 +4205,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3898,7 +4258,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3907,7 +4270,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3954,7 +4320,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3987,11 +4356,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4038,7 +4413,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4075,7 +4453,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4095,7 +4476,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4133,7 +4517,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4149,7 +4536,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4180,7 +4570,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4199,7 +4592,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4239,7 +4635,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4268,7 +4667,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4305,7 +4707,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4324,7 +4729,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4343,7 +4751,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4373,7 +4784,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4436,7 +4850,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4487,7 +4904,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4503,7 +4923,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4537,7 +4960,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4559,7 +4985,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4571,7 +5000,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4594,7 +5026,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/portworxvolumesource-v1.json b/v1.12.3-standalone/portworxvolumesource-v1.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.3-standalone/portworxvolumesource-v1.json +++ b/v1.12.3-standalone/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3-standalone/portworxvolumesource.json b/v1.12.3-standalone/portworxvolumesource.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.3-standalone/portworxvolumesource.json +++ b/v1.12.3-standalone/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3-standalone/preferredschedulingterm-v1.json b/v1.12.3-standalone/preferredschedulingterm-v1.json index 0cf18bab7e..d021b432b4 100644 --- a/v1.12.3-standalone/preferredschedulingterm-v1.json +++ b/v1.12.3-standalone/preferredschedulingterm-v1.json @@ -86,7 +86,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/preferredschedulingterm.json b/v1.12.3-standalone/preferredschedulingterm.json index 0cf18bab7e..d021b432b4 100644 --- a/v1.12.3-standalone/preferredschedulingterm.json +++ b/v1.12.3-standalone/preferredschedulingterm.json @@ -86,7 +86,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/priorityclass-scheduling-v1alpha1.json b/v1.12.3-standalone/priorityclass-scheduling-v1alpha1.json index 14001226d6..4bc81639fb 100644 --- a/v1.12.3-standalone/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.3-standalone/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +218,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -285,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -328,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +403,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/priorityclass-scheduling-v1beta1.json b/v1.12.3-standalone/priorityclass-scheduling-v1beta1.json index 9cfb3a26db..e516ebdf1c 100644 --- a/v1.12.3-standalone/priorityclass-scheduling-v1beta1.json +++ b/v1.12.3-standalone/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -40,7 +43,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -65,7 +71,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -99,7 +108,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -141,7 +153,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -203,7 +218,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -285,7 +303,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -328,11 +349,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,7 +403,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/priorityclass.json b/v1.12.3-standalone/priorityclass.json index 51aa295f7b..719c99c1c4 100644 --- a/v1.12.3-standalone/priorityclass.json +++ b/v1.12.3-standalone/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -135,7 +147,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -197,7 +212,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -279,7 +297,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -322,11 +343,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -370,7 +397,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/priorityclasslist-scheduling-v1alpha1.json b/v1.12.3-standalone/priorityclasslist-scheduling-v1alpha1.json index 82e9d8b84c..b6cd464a32 100644 --- a/v1.12.3-standalone/priorityclasslist-scheduling-v1alpha1.json +++ b/v1.12.3-standalone/priorityclasslist-scheduling-v1alpha1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +175,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +240,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +325,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +371,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/priorityclasslist-scheduling-v1beta1.json b/v1.12.3-standalone/priorityclasslist-scheduling-v1beta1.json index cdc346eaad..e16fac8cb0 100644 --- a/v1.12.3-standalone/priorityclasslist-scheduling-v1beta1.json +++ b/v1.12.3-standalone/priorityclasslist-scheduling-v1beta1.json @@ -45,7 +45,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -62,7 +65,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -87,7 +93,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -121,7 +130,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +175,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +240,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +325,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +371,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/priorityclasslist.json b/v1.12.3-standalone/priorityclasslist.json index a1ddf9a99b..dc26ba76f6 100644 --- a/v1.12.3-standalone/priorityclasslist.json +++ b/v1.12.3-standalone/priorityclasslist.json @@ -39,7 +39,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -56,7 +59,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -81,7 +87,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -115,7 +124,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -154,7 +166,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -216,7 +231,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -298,7 +316,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -341,11 +362,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/probe-v1.json b/v1.12.3-standalone/probe-v1.json index d934e4c81b..508c30ea6f 100644 --- a/v1.12.3-standalone/probe-v1.json +++ b/v1.12.3-standalone/probe-v1.json @@ -21,7 +21,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -92,17 +98,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -135,7 +153,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/probe.json b/v1.12.3-standalone/probe.json index d934e4c81b..508c30ea6f 100644 --- a/v1.12.3-standalone/probe.json +++ b/v1.12.3-standalone/probe.json @@ -21,7 +21,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -77,7 +80,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -92,17 +98,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -127,7 +142,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -135,7 +153,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/projectedvolumesource-v1.json b/v1.12.3-standalone/projectedvolumesource-v1.json index 40498b467a..2ef76130b6 100644 --- a/v1.12.3-standalone/projectedvolumesource-v1.json +++ b/v1.12.3-standalone/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -59,7 +65,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -99,7 +108,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -128,7 +140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -165,7 +180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -184,7 +202,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -203,7 +224,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone/projectedvolumesource.json b/v1.12.3-standalone/projectedvolumesource.json index 40498b467a..2ef76130b6 100644 --- a/v1.12.3-standalone/projectedvolumesource.json +++ b/v1.12.3-standalone/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -40,7 +43,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -59,7 +65,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -99,7 +108,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -128,7 +140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -165,7 +180,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -184,7 +202,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -203,7 +224,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone/quantity-resource.json b/v1.12.3-standalone/quantity-resource.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.3-standalone/quantity-resource.json +++ b/v1.12.3-standalone/quantity-resource.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/quantity.json b/v1.12.3-standalone/quantity.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.3-standalone/quantity.json +++ b/v1.12.3-standalone/quantity.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/quobytevolumesource-v1.json b/v1.12.3-standalone/quobytevolumesource-v1.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.3-standalone/quobytevolumesource-v1.json +++ b/v1.12.3-standalone/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3-standalone/quobytevolumesource.json b/v1.12.3-standalone/quobytevolumesource.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.3-standalone/quobytevolumesource.json +++ b/v1.12.3-standalone/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3-standalone/rbdpersistentvolumesource-v1.json b/v1.12.3-standalone/rbdpersistentvolumesource-v1.json index 8c7da15d7d..18ead06e8d 100644 --- a/v1.12.3-standalone/rbdpersistentvolumesource-v1.json +++ b/v1.12.3-standalone/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/rbdpersistentvolumesource.json b/v1.12.3-standalone/rbdpersistentvolumesource.json index 8c7da15d7d..18ead06e8d 100644 --- a/v1.12.3-standalone/rbdpersistentvolumesource.json +++ b/v1.12.3-standalone/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", diff --git a/v1.12.3-standalone/rbdvolumesource-v1.json b/v1.12.3-standalone/rbdvolumesource-v1.json index 1c94b25b8a..888f0ed49f 100644 --- a/v1.12.3-standalone/rbdvolumesource-v1.json +++ b/v1.12.3-standalone/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/rbdvolumesource.json b/v1.12.3-standalone/rbdvolumesource.json index 1c94b25b8a..888f0ed49f 100644 --- a/v1.12.3-standalone/rbdvolumesource.json +++ b/v1.12.3-standalone/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicaset-apps-v1.json b/v1.12.3-standalone/replicaset-apps-v1.json index 39e02125ae..b8bd7009da 100644 --- a/v1.12.3-standalone/replicaset-apps-v1.json +++ b/v1.12.3-standalone/replicaset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,12 +392,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -497,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -539,7 +581,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -683,7 +731,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,11 +777,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -780,7 +837,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1048,7 +1108,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1141,7 +1204,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1239,7 +1305,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1332,7 +1401,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1440,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1450,7 +1525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1495,7 +1573,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1605,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1556,7 +1640,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1579,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1677,7 +1767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1712,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1794,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1862,7 +1964,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1918,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1933,17 +2041,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1968,7 +2085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1976,7 +2096,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2011,7 +2134,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2056,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2127,17 +2259,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2162,7 +2303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2170,7 +2314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2180,7 +2327,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2190,14 +2340,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,7 +2363,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2219,7 +2378,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2254,7 +2416,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2265,20 +2430,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2318,11 +2495,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2340,7 +2523,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2398,7 +2584,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2523,15 +2712,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2644,7 +2842,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2689,7 +2890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2718,7 +2922,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2750,7 +2957,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2773,7 +2983,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2871,7 +3084,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2906,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2988,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3056,7 +3281,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3112,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,17 +3358,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3162,7 +3402,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3205,7 +3451,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3250,7 +3499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3306,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3321,17 +3576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3356,7 +3620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3364,7 +3631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3374,7 +3644,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3384,14 +3657,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3401,7 +3680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3413,7 +3695,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3448,7 +3733,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3459,20 +3747,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3512,11 +3812,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3534,7 +3840,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3592,7 +3901,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3627,7 +3939,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3637,7 +3952,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3692,21 +4010,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3749,7 +4079,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3795,7 +4128,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3806,7 +4142,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3841,7 +4180,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3881,12 +4223,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3932,7 +4280,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3945,7 +4296,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3982,7 +4336,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4074,7 +4437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4093,7 +4459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4102,7 +4471,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4167,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4201,7 +4579,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4219,12 +4600,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4273,7 +4660,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4283,7 +4673,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4333,7 +4726,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4342,7 +4738,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4389,7 +4788,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,11 +4824,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4473,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4530,7 +4944,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4568,7 +4985,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4584,7 +5004,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4615,7 +5038,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4634,7 +5060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4674,7 +5103,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5135,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4740,7 +5175,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4759,7 +5197,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4778,7 +5219,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4808,7 +5252,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4871,7 +5318,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4922,7 +5372,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4938,7 +5391,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4972,7 +5428,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4994,7 +5453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5006,7 +5468,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5029,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5579,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5164,17 +5635,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicaset-apps-v1beta2.json b/v1.12.3-standalone/replicaset-apps-v1beta2.json index a8e7794446..6160b29ee6 100644 --- a/v1.12.3-standalone/replicaset-apps-v1beta2.json +++ b/v1.12.3-standalone/replicaset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,12 +392,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -420,7 +450,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +471,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +499,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -497,7 +536,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -539,7 +581,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -601,7 +646,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -683,7 +731,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -726,11 +777,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -780,7 +837,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1048,7 +1108,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1141,7 +1204,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1239,7 +1305,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1332,7 +1401,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1368,7 +1440,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1450,7 +1525,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1495,7 +1573,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1524,7 +1605,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1556,7 +1640,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1579,7 +1666,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1677,7 +1767,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1712,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1794,7 +1890,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1829,7 +1928,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1862,7 +1964,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1918,7 +2023,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1933,17 +2041,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1968,7 +2085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1976,7 +2096,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2011,7 +2134,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2056,7 +2182,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2112,7 +2241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2127,17 +2259,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2162,7 +2303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2170,7 +2314,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2180,7 +2327,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2190,14 +2340,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2207,7 +2363,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2219,7 +2378,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2254,7 +2416,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2265,20 +2430,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2318,11 +2495,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2340,7 +2523,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2398,7 +2584,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2523,15 +2712,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2644,7 +2842,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2689,7 +2890,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2718,7 +2922,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2750,7 +2957,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2773,7 +2983,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2871,7 +3084,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2906,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2988,7 +3207,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3023,7 +3245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3056,7 +3281,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3112,7 +3340,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3127,17 +3358,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3162,7 +3402,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3170,7 +3413,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3205,7 +3451,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3250,7 +3499,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3306,7 +3558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3321,17 +3576,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3356,7 +3620,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3364,7 +3631,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3374,7 +3644,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3384,14 +3657,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3401,7 +3680,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3413,7 +3695,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3448,7 +3733,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3459,20 +3747,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3512,11 +3812,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3534,7 +3840,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3592,7 +3901,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3627,7 +3939,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3637,7 +3952,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3692,21 +4010,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3749,7 +4079,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3795,7 +4128,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3806,7 +4142,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3841,7 +4180,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3881,12 +4223,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3932,7 +4280,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3945,7 +4296,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3982,7 +4336,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4027,7 +4384,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4052,7 +4412,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4074,7 +4437,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4093,7 +4459,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4102,7 +4471,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4138,7 +4510,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4167,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4201,7 +4579,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4219,12 +4600,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4273,7 +4660,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4283,7 +4673,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4333,7 +4726,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4342,7 +4738,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4389,7 +4788,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,11 +4824,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4473,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4921,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4530,7 +4944,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4568,7 +4985,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4584,7 +5004,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4615,7 +5038,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4634,7 +5060,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4674,7 +5103,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5135,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4740,7 +5175,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4759,7 +5197,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4778,7 +5219,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4808,7 +5252,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4871,7 +5318,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4922,7 +5372,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4938,7 +5391,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4972,7 +5428,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4994,7 +5453,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5006,7 +5468,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5029,7 +5494,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5111,7 +5579,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5164,17 +5635,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicaset-extensions-v1beta1.json b/v1.12.3-standalone/replicaset-extensions-v1beta1.json index 359d098950..c69d094760 100644 --- a/v1.12.3-standalone/replicaset-extensions-v1beta1.json +++ b/v1.12.3-standalone/replicaset-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,12 +389,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -417,7 +447,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -435,7 +468,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +496,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -494,7 +533,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -536,7 +578,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -598,7 +643,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -680,7 +728,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -723,11 +774,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -777,7 +834,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1045,7 +1105,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1138,7 +1201,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1236,7 +1302,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1329,7 +1398,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1365,7 +1437,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1447,7 +1522,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1492,7 +1570,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1521,7 +1602,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1553,7 +1637,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1576,7 +1663,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1674,7 +1764,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1709,7 +1802,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1791,7 +1887,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1826,7 +1925,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1859,7 +1961,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1915,7 +2020,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1930,17 +2038,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1965,7 +2082,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1973,7 +2093,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2008,7 +2131,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2053,7 +2179,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2109,7 +2238,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2124,17 +2256,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2159,7 +2300,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2167,7 +2311,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2177,7 +2324,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2187,14 +2337,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2204,7 +2360,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2216,7 +2375,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2251,7 +2413,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2262,20 +2427,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2315,11 +2492,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2337,7 +2520,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2395,7 +2581,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2520,15 +2709,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2641,7 +2839,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2686,7 +2887,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2715,7 +2919,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2747,7 +2954,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2770,7 +2980,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2868,7 +3081,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2903,7 +3119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2985,7 +3204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3020,7 +3242,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3053,7 +3278,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3109,7 +3337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3124,17 +3355,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3159,7 +3399,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3167,7 +3410,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3202,7 +3448,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3247,7 +3496,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3303,7 +3555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3318,17 +3573,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3353,7 +3617,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3361,7 +3628,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3371,7 +3641,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3381,14 +3654,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3398,7 +3677,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3410,7 +3692,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3445,7 +3730,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3456,20 +3744,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3509,11 +3809,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3531,7 +3837,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3589,7 +3898,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3624,7 +3936,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3634,7 +3949,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3689,21 +4007,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3746,7 +4076,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3792,7 +4125,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3803,7 +4139,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3838,7 +4177,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3878,12 +4220,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3929,7 +4277,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3942,7 +4293,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3979,7 +4333,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4024,7 +4381,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4049,7 +4409,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4071,7 +4434,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4090,7 +4456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4099,7 +4468,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4135,7 +4507,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4164,7 +4539,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4198,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4216,12 +4597,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4270,7 +4657,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4280,7 +4670,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4330,7 +4723,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4339,7 +4735,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4386,7 +4785,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4419,11 +4821,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4470,7 +4878,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4507,7 +4918,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4527,7 +4941,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4565,7 +4982,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4581,7 +5001,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4612,7 +5035,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4631,7 +5057,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4671,7 +5100,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4700,7 +5132,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4737,7 +5172,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4756,7 +5194,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4775,7 +5216,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4805,7 +5249,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4868,7 +5315,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4919,7 +5369,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5388,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4969,7 +5425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4991,7 +5450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5003,7 +5465,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5026,7 +5491,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5108,7 +5576,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5161,17 +5632,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicaset.json b/v1.12.3-standalone/replicaset.json index e9d362300d..49d9c17ab3 100644 --- a/v1.12.3-standalone/replicaset.json +++ b/v1.12.3-standalone/replicaset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,12 +383,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -411,7 +441,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -429,7 +462,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -454,7 +490,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -488,7 +527,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -527,7 +569,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -589,7 +634,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -671,7 +719,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -714,11 +765,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -768,7 +825,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1036,7 +1096,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1129,7 +1192,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1227,7 +1293,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1320,7 +1389,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1356,7 +1428,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1438,7 +1513,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1483,7 +1561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1512,7 +1593,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1544,7 +1628,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1567,7 +1654,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1665,7 +1755,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1700,7 +1793,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1782,7 +1878,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1817,7 +1916,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1850,7 +1952,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1906,7 +2011,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1921,17 +2029,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1956,7 +2073,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1964,7 +2084,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1999,7 +2122,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2044,7 +2170,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2100,7 +2229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2115,17 +2247,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2150,7 +2291,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2158,7 +2302,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2168,7 +2315,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2178,14 +2328,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2195,7 +2351,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2207,7 +2366,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2242,7 +2404,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2253,20 +2418,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2306,11 +2483,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2328,7 +2511,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2386,7 +2572,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2511,15 +2700,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2632,7 +2830,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2677,7 +2878,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2706,7 +2910,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2738,7 +2945,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2761,7 +2971,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2859,7 +3072,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2894,7 +3110,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2976,7 +3195,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3011,7 +3233,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3044,7 +3269,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3100,7 +3328,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3115,17 +3346,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3150,7 +3390,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3158,7 +3401,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3193,7 +3439,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3238,7 +3487,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3294,7 +3546,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3309,17 +3564,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3344,7 +3608,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3352,7 +3619,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3362,7 +3632,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3372,14 +3645,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3389,7 +3668,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3401,7 +3683,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3436,7 +3721,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3447,20 +3735,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3500,11 +3800,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3522,7 +3828,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3580,7 +3889,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3615,7 +3927,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3625,7 +3940,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3680,21 +3998,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3737,7 +4067,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3783,7 +4116,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3794,7 +4130,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3829,7 +4168,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3869,12 +4211,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3920,7 +4268,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3933,7 +4284,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3970,7 +4324,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4015,7 +4372,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4040,7 +4400,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4062,7 +4425,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4081,7 +4447,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4090,7 +4459,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4126,7 +4498,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4155,7 +4530,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4189,7 +4567,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4207,12 +4588,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4261,7 +4648,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4271,7 +4661,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4321,7 +4714,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4330,7 +4726,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4377,7 +4776,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4410,11 +4812,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4461,7 +4869,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4498,7 +4909,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4518,7 +4932,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4556,7 +4973,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4572,7 +4992,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4603,7 +5026,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4622,7 +5048,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4662,7 +5091,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4691,7 +5123,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4728,7 +5163,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4747,7 +5185,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4766,7 +5207,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4796,7 +5240,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4859,7 +5306,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4910,7 +5360,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4926,7 +5379,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4960,7 +5416,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4982,7 +5441,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4994,7 +5456,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5017,7 +5482,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5099,7 +5567,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5152,17 +5623,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicasetlist-apps-v1.json b/v1.12.3-standalone/replicasetlist-apps-v1.json index 9497ef9917..81fc21c0b4 100644 --- a/v1.12.3-standalone/replicasetlist-apps-v1.json +++ b/v1.12.3-standalone/replicasetlist-apps-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,12 +414,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5601,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5186,17 +5657,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicasetlist-apps-v1beta2.json b/v1.12.3-standalone/replicasetlist-apps-v1beta2.json index 36720af243..89a2b91b0e 100644 --- a/v1.12.3-standalone/replicasetlist-apps-v1beta2.json +++ b/v1.12.3-standalone/replicasetlist-apps-v1beta2.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -390,12 +414,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -442,7 +472,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -460,7 +493,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -485,7 +521,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -519,7 +558,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5133,7 +5601,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5186,17 +5657,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicasetlist-extensions-v1beta1.json b/v1.12.3-standalone/replicasetlist-extensions-v1beta1.json index d96e5e64a2..f00d54a7c7 100644 --- a/v1.12.3-standalone/replicasetlist-extensions-v1beta1.json +++ b/v1.12.3-standalone/replicasetlist-extensions-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,12 +411,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -439,7 +469,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -457,7 +490,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -482,7 +518,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -516,7 +555,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -558,7 +600,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -620,7 +665,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -702,7 +750,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -745,11 +796,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -799,7 +856,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1067,7 +1127,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1160,7 +1223,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1258,7 +1324,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1351,7 +1420,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1387,7 +1459,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1469,7 +1544,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1514,7 +1592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1543,7 +1624,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1575,7 +1659,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1598,7 +1685,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1696,7 +1786,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1731,7 +1824,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1813,7 +1909,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1848,7 +1947,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1881,7 +1983,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1937,7 +2042,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1952,17 +2060,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1987,7 +2104,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1995,7 +2115,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2030,7 +2153,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2075,7 +2201,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2131,7 +2260,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2146,17 +2278,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2181,7 +2322,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2189,7 +2333,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2199,7 +2346,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2209,14 +2359,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2226,7 +2382,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2238,7 +2397,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2273,7 +2435,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2284,20 +2449,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2337,11 +2514,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2359,7 +2542,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2417,7 +2603,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2542,15 +2731,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2663,7 +2861,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2708,7 +2909,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2737,7 +2941,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2769,7 +2976,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2792,7 +3002,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2890,7 +3103,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2925,7 +3141,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3007,7 +3226,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3042,7 +3264,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3075,7 +3300,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3131,7 +3359,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3146,17 +3377,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3181,7 +3421,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3189,7 +3432,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3224,7 +3470,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3269,7 +3518,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3325,7 +3577,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3340,17 +3595,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3375,7 +3639,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3383,7 +3650,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3393,7 +3663,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3403,14 +3676,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3420,7 +3699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3432,7 +3714,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3467,7 +3752,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3478,20 +3766,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3531,11 +3831,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3553,7 +3859,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3611,7 +3920,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3646,7 +3958,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3656,7 +3971,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3711,21 +4029,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3768,7 +4098,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3814,7 +4147,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3825,7 +4161,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3860,7 +4199,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3900,12 +4242,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3951,7 +4299,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3964,7 +4315,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4001,7 +4355,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4046,7 +4403,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4071,7 +4431,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4093,7 +4456,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4112,7 +4478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4121,7 +4490,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4157,7 +4529,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4186,7 +4561,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4220,7 +4598,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4238,12 +4619,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4292,7 +4679,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4302,7 +4692,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4352,7 +4745,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4361,7 +4757,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4408,7 +4807,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4441,11 +4843,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4492,7 +4900,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4529,7 +4940,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4549,7 +4963,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4587,7 +5004,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4603,7 +5023,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4634,7 +5057,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4653,7 +5079,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4693,7 +5122,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4722,7 +5154,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4759,7 +5194,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4778,7 +5216,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4797,7 +5238,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4827,7 +5271,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4890,7 +5337,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4941,7 +5391,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4957,7 +5410,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4991,7 +5447,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5013,7 +5472,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5025,7 +5487,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5048,7 +5513,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5130,7 +5598,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5183,17 +5654,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicasetlist.json b/v1.12.3-standalone/replicasetlist.json index 77f4fdf0c6..5f71866c78 100644 --- a/v1.12.3-standalone/replicasetlist.json +++ b/v1.12.3-standalone/replicasetlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,12 +402,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -430,7 +460,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -448,7 +481,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -473,7 +509,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -507,7 +546,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -546,7 +588,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -608,7 +653,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -690,7 +738,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -733,11 +784,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -787,7 +844,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1055,7 +1115,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1148,7 +1211,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1246,7 +1312,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1339,7 +1408,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1375,7 +1447,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1457,7 +1532,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1502,7 +1580,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1531,7 +1612,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1563,7 +1647,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1586,7 +1673,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1684,7 +1774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1719,7 +1812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1801,7 +1897,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1836,7 +1935,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1869,7 +1971,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1925,7 +2030,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1940,17 +2048,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1975,7 +2092,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1983,7 +2103,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2018,7 +2141,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2063,7 +2189,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2119,7 +2248,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2134,17 +2266,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2169,7 +2310,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2177,7 +2321,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2187,7 +2334,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2197,14 +2347,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2214,7 +2370,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2226,7 +2385,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2261,7 +2423,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2272,20 +2437,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2325,11 +2502,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2347,7 +2530,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2405,7 +2591,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2530,15 +2719,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2651,7 +2849,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2696,7 +2897,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2725,7 +2929,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2757,7 +2964,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2780,7 +2990,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2878,7 +3091,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2913,7 +3129,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2995,7 +3214,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3030,7 +3252,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3063,7 +3288,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3119,7 +3347,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3134,17 +3365,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3169,7 +3409,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3177,7 +3420,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3212,7 +3458,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3257,7 +3506,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3313,7 +3565,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3328,17 +3583,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3363,7 +3627,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3371,7 +3638,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3381,7 +3651,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3391,14 +3664,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3408,7 +3687,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3420,7 +3702,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3455,7 +3740,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3466,20 +3754,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3519,11 +3819,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3541,7 +3847,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3599,7 +3908,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3634,7 +3946,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3644,7 +3959,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3699,21 +4017,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3756,7 +4086,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3802,7 +4135,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3813,7 +4149,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3848,7 +4187,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3888,12 +4230,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3939,7 +4287,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3952,7 +4303,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3989,7 +4343,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4034,7 +4391,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4059,7 +4419,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4081,7 +4444,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4100,7 +4466,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4109,7 +4478,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4145,7 +4517,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4174,7 +4549,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4208,7 +4586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4226,12 +4607,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4280,7 +4667,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4290,7 +4680,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4340,7 +4733,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4349,7 +4745,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4396,7 +4795,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4429,11 +4831,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4480,7 +4888,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4517,7 +4928,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4537,7 +4951,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4575,7 +4992,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4591,7 +5011,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4622,7 +5045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5067,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4681,7 +5110,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4710,7 +5142,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4747,7 +5182,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4766,7 +5204,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4785,7 +5226,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4815,7 +5259,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4878,7 +5325,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4929,7 +5379,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4945,7 +5398,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4979,7 +5435,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5001,7 +5460,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5013,7 +5475,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5036,7 +5501,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5118,7 +5586,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5171,17 +5642,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicasetspec-apps-v1.json b/v1.12.3-standalone/replicasetspec-apps-v1.json index 70bce57ef3..c26757f8b3 100644 --- a/v1.12.3-standalone/replicasetspec-apps-v1.json +++ b/v1.12.3-standalone/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -239,7 +260,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -321,7 +345,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,11 +391,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +451,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -686,7 +722,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -779,7 +818,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -877,7 +919,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1015,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1006,7 +1054,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1088,7 +1139,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1133,7 +1187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1194,7 +1254,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1217,7 +1280,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1315,7 +1381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1350,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1467,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1578,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1637,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1571,17 +1655,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1606,7 +1699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1614,7 +1710,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1649,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1694,7 +1796,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1750,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,17 +1873,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1800,7 +1917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1928,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1818,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1828,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1845,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1857,7 +1992,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1892,7 +2030,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1903,20 +2044,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1956,11 +2109,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1978,7 +2137,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2198,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2161,15 +2326,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2282,7 +2456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2327,7 +2504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2356,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2388,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2411,7 +2597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2509,7 +2698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2544,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2626,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2661,7 +2859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2694,7 +2895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2750,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2765,17 +2972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2800,7 +3016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2843,7 +3065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2888,7 +3113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2944,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2959,17 +3190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2994,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3012,7 +3258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3022,14 +3271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3039,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3051,7 +3309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3086,7 +3347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3097,20 +3361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3150,11 +3426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3172,7 +3454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3230,7 +3515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3265,7 +3553,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3275,7 +3566,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3330,21 +3624,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3387,7 +3693,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3433,7 +3742,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3444,7 +3756,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3479,7 +3794,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3519,12 +3837,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3570,7 +3894,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3583,7 +3910,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3620,7 +3950,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3665,7 +3998,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3712,7 +4051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3731,7 +4073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3740,7 +4085,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3805,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3839,7 +4193,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3857,12 +4214,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3911,7 +4274,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3921,7 +4287,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3971,7 +4340,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3980,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4027,7 +4402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4060,11 +4438,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4111,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4148,7 +4535,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4168,7 +4558,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4206,7 +4599,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4222,7 +4618,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4253,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4272,7 +4674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4312,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4378,7 +4789,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4397,7 +4811,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,7 +4833,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4446,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4509,7 +4932,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5005,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4610,7 +5042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4632,7 +5067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5082,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4667,7 +5108,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicasetspec-apps-v1beta2.json b/v1.12.3-standalone/replicasetspec-apps-v1beta2.json index 70bce57ef3..c26757f8b3 100644 --- a/v1.12.3-standalone/replicasetspec-apps-v1beta2.json +++ b/v1.12.3-standalone/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -58,7 +64,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +85,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -101,7 +113,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -135,7 +150,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -177,7 +195,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -239,7 +260,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -321,7 +345,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -364,11 +391,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +451,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -686,7 +722,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -779,7 +818,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -877,7 +919,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -970,7 +1015,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1006,7 +1054,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1088,7 +1139,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1133,7 +1187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1162,7 +1219,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1194,7 +1254,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1217,7 +1280,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1315,7 +1381,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1350,7 +1419,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1432,7 +1504,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1467,7 +1542,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1500,7 +1578,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1556,7 +1637,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1571,17 +1655,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1606,7 +1699,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1614,7 +1710,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1649,7 +1748,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1694,7 +1796,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1750,7 +1855,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1765,17 +1873,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1800,7 +1917,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1808,7 +1928,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1818,7 +1941,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1828,14 +1954,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1845,7 +1977,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1857,7 +1992,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1892,7 +2030,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1903,20 +2044,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1956,11 +2109,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1978,7 +2137,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2036,7 +2198,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2161,15 +2326,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2282,7 +2456,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2327,7 +2504,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2356,7 +2536,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2388,7 +2571,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2411,7 +2597,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2509,7 +2698,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2544,7 +2736,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2626,7 +2821,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2661,7 +2859,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2694,7 +2895,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2750,7 +2954,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2765,17 +2972,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2800,7 +3016,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2808,7 +3027,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2843,7 +3065,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2888,7 +3113,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2944,7 +3172,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2959,17 +3190,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2994,7 +3234,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3002,7 +3245,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3012,7 +3258,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3022,14 +3271,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3039,7 +3294,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3051,7 +3309,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3086,7 +3347,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3097,20 +3361,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3150,11 +3426,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3172,7 +3454,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3230,7 +3515,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3265,7 +3553,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3275,7 +3566,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3330,21 +3624,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3387,7 +3693,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3433,7 +3742,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3444,7 +3756,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3479,7 +3794,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3519,12 +3837,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3570,7 +3894,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3583,7 +3910,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3620,7 +3950,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3665,7 +3998,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3690,7 +4026,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3712,7 +4051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3731,7 +4073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3740,7 +4085,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3776,7 +4124,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3805,7 +4156,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3839,7 +4193,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3857,12 +4214,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3911,7 +4274,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3921,7 +4287,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3971,7 +4340,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3980,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4027,7 +4402,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4060,11 +4438,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4111,7 +4495,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4148,7 +4535,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4168,7 +4558,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4206,7 +4599,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4222,7 +4618,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4253,7 +4652,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4272,7 +4674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4312,7 +4717,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4341,7 +4749,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4378,7 +4789,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4397,7 +4811,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4416,7 +4833,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4446,7 +4866,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4509,7 +4932,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4560,7 +4986,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5005,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4610,7 +5042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4632,7 +5067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4644,7 +5082,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4667,7 +5108,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicasetspec-extensions-v1beta1.json b/v1.12.3-standalone/replicasetspec-extensions-v1beta1.json index 4fa8989375..4178302a69 100644 --- a/v1.12.3-standalone/replicasetspec-extensions-v1beta1.json +++ b/v1.12.3-standalone/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -55,7 +61,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +82,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +110,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -132,7 +147,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -174,7 +192,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -236,7 +257,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -318,7 +342,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -361,11 +388,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -415,7 +448,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -683,7 +719,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -776,7 +815,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -874,7 +916,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -967,7 +1012,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1003,7 +1051,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1085,7 +1136,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1130,7 +1184,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1159,7 +1216,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1191,7 +1251,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1214,7 +1277,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1312,7 +1378,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1347,7 +1416,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1429,7 +1501,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1464,7 +1539,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1497,7 +1575,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1553,7 +1634,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1568,17 +1652,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1603,7 +1696,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1611,7 +1707,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1646,7 +1745,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1691,7 +1793,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1747,7 +1852,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1762,17 +1870,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1797,7 +1914,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1805,7 +1925,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1815,7 +1938,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1825,14 +1951,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1842,7 +1974,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1854,7 +1989,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1889,7 +2027,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1900,20 +2041,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1953,11 +2106,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1975,7 +2134,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2033,7 +2195,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2158,15 +2323,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2279,7 +2453,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2324,7 +2501,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2353,7 +2533,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2385,7 +2568,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2408,7 +2594,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2506,7 +2695,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2541,7 +2733,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2623,7 +2818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2658,7 +2856,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2691,7 +2892,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2747,7 +2951,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2762,17 +2969,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2797,7 +3013,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2805,7 +3024,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2840,7 +3062,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2885,7 +3110,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2941,7 +3169,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2956,17 +3187,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2991,7 +3231,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2999,7 +3242,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3009,7 +3255,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3019,14 +3268,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3036,7 +3291,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3048,7 +3306,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3083,7 +3344,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3094,20 +3358,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3147,11 +3423,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3169,7 +3451,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3227,7 +3512,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3262,7 +3550,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3272,7 +3563,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3327,21 +3621,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3384,7 +3690,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3430,7 +3739,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3441,7 +3753,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3476,7 +3791,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3516,12 +3834,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3567,7 +3891,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3580,7 +3907,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3617,7 +3947,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3662,7 +3995,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3687,7 +4023,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3709,7 +4048,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3728,7 +4070,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3737,7 +4082,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3773,7 +4121,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3802,7 +4153,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3836,7 +4190,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3854,12 +4211,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3908,7 +4271,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3918,7 +4284,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3968,7 +4337,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3977,7 +4349,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4024,7 +4399,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4057,11 +4435,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4108,7 +4492,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4145,7 +4532,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4165,7 +4555,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4203,7 +4596,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4219,7 +4615,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4250,7 +4649,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4269,7 +4671,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4309,7 +4714,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4338,7 +4746,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4375,7 +4786,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4394,7 +4808,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4413,7 +4830,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4443,7 +4863,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4506,7 +4929,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4557,7 +4983,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4573,7 +5002,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4607,7 +5039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4629,7 +5064,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4641,7 +5079,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4664,7 +5105,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicasetspec.json b/v1.12.3-standalone/replicasetspec.json index d31997d3a5..a240f6b218 100644 --- a/v1.12.3-standalone/replicasetspec.json +++ b/v1.12.3-standalone/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -55,7 +61,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +82,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -98,7 +110,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -132,7 +147,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -171,7 +189,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -233,7 +254,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -315,7 +339,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -358,11 +385,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -412,7 +445,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -680,7 +716,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -773,7 +812,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -871,7 +913,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -964,7 +1009,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1000,7 +1048,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1082,7 +1133,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1127,7 +1181,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1156,7 +1213,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1188,7 +1248,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1211,7 +1274,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1309,7 +1375,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1344,7 +1413,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1426,7 +1498,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1461,7 +1536,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1494,7 +1572,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1550,7 +1631,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1565,17 +1649,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1600,7 +1693,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1608,7 +1704,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1643,7 +1742,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1688,7 +1790,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1744,7 +1849,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1759,17 +1867,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1794,7 +1911,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1802,7 +1922,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1812,7 +1935,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1822,14 +1948,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1839,7 +1971,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1851,7 +1986,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1886,7 +2024,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1897,20 +2038,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1950,11 +2103,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1972,7 +2131,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2030,7 +2192,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2155,15 +2320,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2276,7 +2450,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2321,7 +2498,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2350,7 +2530,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2382,7 +2565,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2405,7 +2591,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2503,7 +2692,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2538,7 +2730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2620,7 +2815,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2655,7 +2853,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2688,7 +2889,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2744,7 +2948,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2759,17 +2966,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2794,7 +3010,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2802,7 +3021,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2837,7 +3059,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2882,7 +3107,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2938,7 +3166,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2953,17 +3184,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2988,7 +3228,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2996,7 +3239,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3006,7 +3252,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3016,14 +3265,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3033,7 +3288,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3045,7 +3303,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3080,7 +3341,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3091,20 +3355,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3144,11 +3420,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3166,7 +3448,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3224,7 +3509,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3259,7 +3547,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3269,7 +3560,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3324,21 +3618,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3381,7 +3687,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3427,7 +3736,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3438,7 +3750,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3473,7 +3788,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3513,12 +3831,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3564,7 +3888,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3577,7 +3904,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3614,7 +3944,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3659,7 +3992,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3684,7 +4020,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3706,7 +4045,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3725,7 +4067,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3734,7 +4079,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3770,7 +4118,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3799,7 +4150,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3833,7 +4187,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3851,12 +4208,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3905,7 +4268,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3915,7 +4281,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3965,7 +4334,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3974,7 +4346,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4021,7 +4396,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4054,11 +4432,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4105,7 +4489,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4142,7 +4529,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4162,7 +4552,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4200,7 +4593,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4216,7 +4612,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4247,7 +4646,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4266,7 +4668,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4306,7 +4711,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4335,7 +4743,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4372,7 +4783,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4391,7 +4805,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4410,7 +4827,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4440,7 +4860,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4503,7 +4926,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4554,7 +4980,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4570,7 +4999,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4604,7 +5036,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4626,7 +5061,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4638,7 +5076,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4661,7 +5102,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicasetstatus-apps-v1.json b/v1.12.3-standalone/replicasetstatus-apps-v1.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.3-standalone/replicasetstatus-apps-v1.json +++ b/v1.12.3-standalone/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/replicasetstatus-apps-v1beta2.json b/v1.12.3-standalone/replicasetstatus-apps-v1beta2.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.3-standalone/replicasetstatus-apps-v1beta2.json +++ b/v1.12.3-standalone/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/replicasetstatus-extensions-v1beta1.json b/v1.12.3-standalone/replicasetstatus-extensions-v1beta1.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.3-standalone/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.3-standalone/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/replicasetstatus.json b/v1.12.3-standalone/replicasetstatus.json index 5bfb7f9f9b..5a4f838c10 100644 --- a/v1.12.3-standalone/replicasetstatus.json +++ b/v1.12.3-standalone/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/replicationcontroller-v1.json b/v1.12.3-standalone/replicationcontroller-v1.json index dbbd84e371..4ff60c8f36 100644 --- a/v1.12.3-standalone/replicationcontroller-v1.json +++ b/v1.12.3-standalone/replicationcontroller-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,17 +389,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -391,7 +424,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -416,7 +452,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -450,7 +489,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -492,7 +534,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -554,7 +599,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -636,7 +684,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -679,11 +730,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -733,7 +790,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1001,7 +1061,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1094,7 +1157,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1192,7 +1258,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1285,7 +1354,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1321,7 +1393,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1403,7 +1478,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1448,7 +1526,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1477,7 +1558,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1509,7 +1593,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1532,7 +1619,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1630,7 +1720,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1665,7 +1758,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1747,7 +1843,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1782,7 +1881,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1815,7 +1917,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1871,7 +1976,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1886,17 +1994,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1921,7 +2038,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1929,7 +2049,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1964,7 +2087,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2009,7 +2135,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2065,7 +2194,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2080,17 +2212,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2115,7 +2256,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2123,7 +2267,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2133,7 +2280,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2143,14 +2293,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2160,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2172,7 +2331,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2207,7 +2369,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2218,20 +2383,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2271,11 +2448,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2293,7 +2476,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2351,7 +2537,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2476,15 +2665,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2597,7 +2795,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2642,7 +2843,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2671,7 +2875,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2703,7 +2910,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2726,7 +2936,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2824,7 +3037,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2859,7 +3075,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2941,7 +3160,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2976,7 +3198,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3009,7 +3234,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3065,7 +3293,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3080,17 +3311,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3115,7 +3355,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3123,7 +3366,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3158,7 +3404,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3203,7 +3452,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3259,7 +3511,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3274,17 +3529,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3309,7 +3573,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3317,7 +3584,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3327,7 +3597,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3337,14 +3610,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3354,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3366,7 +3648,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3401,7 +3686,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3412,20 +3700,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3465,11 +3765,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3487,7 +3793,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3545,7 +3854,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3580,7 +3892,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3590,7 +3905,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3645,21 +3963,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3702,7 +4032,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3748,7 +4081,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3759,7 +4095,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3794,7 +4133,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3834,12 +4176,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3885,7 +4233,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3898,7 +4249,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3935,7 +4289,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3980,7 +4337,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4005,7 +4365,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4027,7 +4390,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4046,7 +4412,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4055,7 +4424,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4091,7 +4463,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4120,7 +4495,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4154,7 +4532,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4172,12 +4553,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4226,7 +4613,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4236,7 +4626,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4286,7 +4679,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4295,7 +4691,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4342,7 +4741,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4375,11 +4777,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4426,7 +4834,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4463,7 +4874,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4483,7 +4897,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4521,7 +4938,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4537,7 +4957,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4568,7 +4991,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4587,7 +5013,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4627,7 +5056,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5088,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4693,7 +5128,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4712,7 +5150,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4731,7 +5172,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4761,7 +5205,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4824,7 +5271,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4875,7 +5325,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4891,7 +5344,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4925,7 +5381,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4947,7 +5406,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4959,7 +5421,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4982,7 +5447,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5064,7 +5532,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5117,17 +5588,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicationcontroller.json b/v1.12.3-standalone/replicationcontroller.json index 34d9968922..f1eb5259d0 100644 --- a/v1.12.3-standalone/replicationcontroller.json +++ b/v1.12.3-standalone/replicationcontroller.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,17 +383,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,7 +418,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -410,7 +446,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -444,7 +483,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -483,7 +525,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -545,7 +590,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -627,7 +675,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -670,11 +721,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -724,7 +781,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -992,7 +1052,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1085,7 +1148,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1183,7 +1249,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1276,7 +1345,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1312,7 +1384,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1394,7 +1469,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1439,7 +1517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1468,7 +1549,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1500,7 +1584,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1523,7 +1610,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1621,7 +1711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1656,7 +1749,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1738,7 +1834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1773,7 +1872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1806,7 +1908,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1862,7 +1967,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1877,17 +1985,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1912,7 +2029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1920,7 +2040,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1955,7 +2078,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2000,7 +2126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2056,7 +2185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2071,17 +2203,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2106,7 +2247,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2114,7 +2258,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2124,7 +2271,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2134,14 +2284,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2151,7 +2307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2163,7 +2322,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2198,7 +2360,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2209,20 +2374,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2262,11 +2439,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2284,7 +2467,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2342,7 +2528,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2467,15 +2656,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2588,7 +2786,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2633,7 +2834,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2662,7 +2866,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2694,7 +2901,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2717,7 +2927,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2815,7 +3028,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2850,7 +3066,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2932,7 +3151,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2967,7 +3189,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3000,7 +3225,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3056,7 +3284,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3071,17 +3302,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3106,7 +3346,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3114,7 +3357,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3149,7 +3395,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3194,7 +3443,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3250,7 +3502,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3265,17 +3520,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3300,7 +3564,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3308,7 +3575,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3318,7 +3588,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3328,14 +3601,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3345,7 +3624,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3357,7 +3639,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3392,7 +3677,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3403,20 +3691,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3456,11 +3756,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3478,7 +3784,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3536,7 +3845,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3571,7 +3883,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3581,7 +3896,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3636,21 +3954,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3693,7 +4023,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3739,7 +4072,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3750,7 +4086,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3785,7 +4124,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3825,12 +4167,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3876,7 +4224,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3889,7 +4240,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3926,7 +4280,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3971,7 +4328,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3996,7 +4356,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4018,7 +4381,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4037,7 +4403,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4046,7 +4415,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4082,7 +4454,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4111,7 +4486,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4145,7 +4523,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4163,12 +4544,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4217,7 +4604,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4227,7 +4617,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4277,7 +4670,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4286,7 +4682,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4333,7 +4732,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4366,11 +4768,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4417,7 +4825,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4454,7 +4865,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4474,7 +4888,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4512,7 +4929,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4528,7 +4948,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4559,7 +4982,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4578,7 +5004,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4618,7 +5047,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4684,7 +5119,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4703,7 +5141,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4722,7 +5163,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4752,7 +5196,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4815,7 +5262,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4866,7 +5316,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4882,7 +5335,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4916,7 +5372,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4938,7 +5397,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4950,7 +5412,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4973,7 +5438,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5055,7 +5523,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5108,17 +5579,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicationcontrollerlist-v1.json b/v1.12.3-standalone/replicationcontrollerlist-v1.json index 2fb69ba534..722f3b26c2 100644 --- a/v1.12.3-standalone/replicationcontrollerlist-v1.json +++ b/v1.12.3-standalone/replicationcontrollerlist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,17 +411,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -413,7 +446,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -438,7 +474,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -472,7 +511,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -514,7 +556,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -576,7 +621,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -658,7 +706,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -701,11 +752,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -755,7 +812,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1023,7 +1083,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1116,7 +1179,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1214,7 +1280,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1307,7 +1376,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1343,7 +1415,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1425,7 +1500,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1470,7 +1548,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1499,7 +1580,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1531,7 +1615,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1554,7 +1641,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1652,7 +1742,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1687,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1769,7 +1865,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1804,7 +1903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1837,7 +1939,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1893,7 +1998,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1908,17 +2016,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1943,7 +2060,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1951,7 +2071,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1986,7 +2109,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2031,7 +2157,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2087,7 +2216,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2102,17 +2234,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2137,7 +2278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2145,7 +2289,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2155,7 +2302,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2165,14 +2315,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2182,7 +2338,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2194,7 +2353,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2229,7 +2391,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2240,20 +2405,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2293,11 +2470,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2315,7 +2498,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2373,7 +2559,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2498,15 +2687,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2619,7 +2817,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2664,7 +2865,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2693,7 +2897,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2725,7 +2932,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2748,7 +2958,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2846,7 +3059,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2881,7 +3097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2963,7 +3182,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2998,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3031,7 +3256,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3087,7 +3315,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3102,17 +3333,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3137,7 +3377,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3145,7 +3388,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3180,7 +3426,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3225,7 +3474,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3281,7 +3533,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3296,17 +3551,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3331,7 +3595,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3339,7 +3606,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3349,7 +3619,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3359,14 +3632,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3376,7 +3655,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3388,7 +3670,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3423,7 +3708,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3434,20 +3722,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3487,11 +3787,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3509,7 +3815,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3567,7 +3876,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3602,7 +3914,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3612,7 +3927,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3667,21 +3985,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3724,7 +4054,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3770,7 +4103,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3781,7 +4117,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3816,7 +4155,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3856,12 +4198,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3907,7 +4255,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3920,7 +4271,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3957,7 +4311,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4002,7 +4359,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4027,7 +4387,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4049,7 +4412,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4068,7 +4434,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4077,7 +4446,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4113,7 +4485,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4142,7 +4517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4176,7 +4554,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4194,12 +4575,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4248,7 +4635,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4258,7 +4648,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4308,7 +4701,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4317,7 +4713,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4364,7 +4763,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4397,11 +4799,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4448,7 +4856,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4485,7 +4896,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4505,7 +4919,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4543,7 +4960,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4559,7 +4979,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4590,7 +5013,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4609,7 +5035,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4649,7 +5078,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4678,7 +5110,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4715,7 +5150,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4734,7 +5172,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4753,7 +5194,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4783,7 +5227,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4846,7 +5293,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4897,7 +5347,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4913,7 +5366,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4947,7 +5403,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4969,7 +5428,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4981,7 +5443,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5004,7 +5469,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5086,7 +5554,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5139,17 +5610,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicationcontrollerlist.json b/v1.12.3-standalone/replicationcontrollerlist.json index 1f646ff399..a01451398a 100644 --- a/v1.12.3-standalone/replicationcontrollerlist.json +++ b/v1.12.3-standalone/replicationcontrollerlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,17 +402,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -404,7 +437,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -429,7 +465,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -463,7 +502,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -502,7 +544,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -564,7 +609,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -646,7 +694,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -689,11 +740,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -743,7 +800,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1011,7 +1071,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1104,7 +1167,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1202,7 +1268,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1295,7 +1364,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1331,7 +1403,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1413,7 +1488,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1458,7 +1536,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1487,7 +1568,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1519,7 +1603,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1542,7 +1629,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1640,7 +1730,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1675,7 +1768,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1757,7 +1853,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1792,7 +1891,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1825,7 +1927,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1881,7 +1986,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1896,17 +2004,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1931,7 +2048,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1939,7 +2059,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1974,7 +2097,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2019,7 +2145,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2075,7 +2204,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2090,17 +2222,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2125,7 +2266,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2133,7 +2277,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2143,7 +2290,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2153,14 +2303,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2170,7 +2326,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2182,7 +2341,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2217,7 +2379,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2228,20 +2393,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2281,11 +2458,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2303,7 +2486,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2361,7 +2547,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2486,15 +2675,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2607,7 +2805,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2652,7 +2853,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2681,7 +2885,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2713,7 +2920,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2736,7 +2946,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2834,7 +3047,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2869,7 +3085,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2951,7 +3170,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2986,7 +3208,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3019,7 +3244,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3075,7 +3303,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3090,17 +3321,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3125,7 +3365,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3133,7 +3376,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3168,7 +3414,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3213,7 +3462,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3269,7 +3521,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3284,17 +3539,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3319,7 +3583,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3327,7 +3594,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3337,7 +3607,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3347,14 +3620,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3364,7 +3643,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3376,7 +3658,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3411,7 +3696,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3422,20 +3710,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3475,11 +3775,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3497,7 +3803,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3555,7 +3864,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3590,7 +3902,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3600,7 +3915,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3655,21 +3973,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3712,7 +4042,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3758,7 +4091,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3769,7 +4105,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3804,7 +4143,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3844,12 +4186,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3895,7 +4243,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3908,7 +4259,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3945,7 +4299,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3990,7 +4347,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4015,7 +4375,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4037,7 +4400,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4056,7 +4422,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4065,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4101,7 +4473,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4130,7 +4505,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4164,7 +4542,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4182,12 +4563,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4236,7 +4623,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4246,7 +4636,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4296,7 +4689,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4305,7 +4701,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4352,7 +4751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4385,11 +4787,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4436,7 +4844,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4473,7 +4884,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4493,7 +4907,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4531,7 +4948,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4547,7 +4967,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4578,7 +5001,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4597,7 +5023,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4637,7 +5066,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4666,7 +5098,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4703,7 +5138,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4722,7 +5160,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4741,7 +5182,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4771,7 +5215,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4834,7 +5281,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4885,7 +5335,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4901,7 +5354,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4935,7 +5391,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4957,7 +5416,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4969,7 +5431,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4992,7 +5457,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5074,7 +5542,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5127,17 +5598,26 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { diff --git a/v1.12.3-standalone/replicationcontrollerspec-v1.json b/v1.12.3-standalone/replicationcontrollerspec-v1.json index 97efdc8d6d..d023406a4f 100644 --- a/v1.12.3-standalone/replicationcontrollerspec-v1.json +++ b/v1.12.3-standalone/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,7 +404,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -639,7 +675,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -732,7 +771,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -830,7 +872,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -923,7 +968,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -959,7 +1007,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1041,7 +1092,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1086,7 +1140,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1115,7 +1172,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1147,7 +1207,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1170,7 +1233,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1268,7 +1334,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1303,7 +1372,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1385,7 +1457,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1420,7 +1495,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1453,7 +1531,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1509,7 +1590,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1524,17 +1608,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1559,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1567,7 +1663,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1602,7 +1701,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1647,7 +1749,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1703,7 +1808,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1718,17 +1826,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1753,7 +1870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1761,7 +1881,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1771,7 +1894,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1781,14 +1907,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1798,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1810,7 +1945,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1845,7 +1983,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1856,20 +1997,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1909,11 +2062,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1931,7 +2090,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1989,7 +2151,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2114,15 +2279,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2235,7 +2409,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2280,7 +2457,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2309,7 +2489,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2341,7 +2524,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2364,7 +2550,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2462,7 +2651,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2497,7 +2689,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2579,7 +2774,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2614,7 +2812,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2647,7 +2848,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2703,7 +2907,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2718,17 +2925,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2753,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2761,7 +2980,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2796,7 +3018,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2841,7 +3066,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2897,7 +3125,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2912,17 +3143,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2947,7 +3187,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2955,7 +3198,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2965,7 +3211,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2975,14 +3224,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2992,7 +3247,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3004,7 +3262,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3039,7 +3300,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3050,20 +3314,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3103,11 +3379,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3125,7 +3407,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3183,7 +3468,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3218,7 +3506,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3228,7 +3519,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3283,21 +3577,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3340,7 +3646,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3386,7 +3695,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3397,7 +3709,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3432,7 +3747,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3472,12 +3790,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3523,7 +3847,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3536,7 +3863,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3573,7 +3903,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3618,7 +3951,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3643,7 +3979,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3665,7 +4004,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3684,7 +4026,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3693,7 +4038,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3729,7 +4077,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3758,7 +4109,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3792,7 +4146,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3810,12 +4167,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3864,7 +4227,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3874,7 +4240,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3924,7 +4293,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3933,7 +4305,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3980,7 +4355,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4013,11 +4391,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4064,7 +4448,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4101,7 +4488,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4121,7 +4511,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4159,7 +4552,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4175,7 +4571,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4206,7 +4605,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4225,7 +4627,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4265,7 +4670,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4294,7 +4702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4331,7 +4742,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4350,7 +4764,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4369,7 +4786,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4399,7 +4819,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4462,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4513,7 +4939,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4529,7 +4958,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4563,7 +4995,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4585,7 +5020,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4597,7 +5035,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4620,7 +5061,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicationcontrollerspec.json b/v1.12.3-standalone/replicationcontrollerspec.json index 056e934ea4..23d8201612 100644 --- a/v1.12.3-standalone/replicationcontrollerspec.json +++ b/v1.12.3-standalone/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -29,7 +38,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +66,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +103,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +145,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +210,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +295,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +341,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +401,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -636,7 +672,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -729,7 +768,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -827,7 +869,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -920,7 +965,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -956,7 +1004,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1038,7 +1089,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1083,7 +1137,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1112,7 +1169,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1144,7 +1204,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1167,7 +1230,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1265,7 +1331,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1300,7 +1369,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1382,7 +1454,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1417,7 +1492,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1450,7 +1528,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1506,7 +1587,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1521,17 +1605,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1556,7 +1649,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1564,7 +1660,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1599,7 +1698,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1644,7 +1746,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1700,7 +1805,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1715,17 +1823,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1750,7 +1867,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1758,7 +1878,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1768,7 +1891,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1778,14 +1904,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1795,7 +1927,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1807,7 +1942,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1842,7 +1980,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1853,20 +1994,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1906,11 +2059,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1928,7 +2087,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -1986,7 +2148,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2111,15 +2276,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2232,7 +2406,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2277,7 +2454,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2306,7 +2486,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2338,7 +2521,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2361,7 +2547,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2459,7 +2648,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2494,7 +2686,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2576,7 +2771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2611,7 +2809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2644,7 +2845,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2700,7 +2904,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2715,17 +2922,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2750,7 +2966,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2758,7 +2977,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2793,7 +3015,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2838,7 +3063,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2894,7 +3122,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2909,17 +3140,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2944,7 +3184,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2952,7 +3195,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2962,7 +3208,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2972,14 +3221,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2989,7 +3244,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3001,7 +3259,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3036,7 +3297,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3047,20 +3311,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3100,11 +3376,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3122,7 +3404,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3180,7 +3465,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3215,7 +3503,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3225,7 +3516,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3280,21 +3574,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3337,7 +3643,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3383,7 +3692,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3394,7 +3706,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3429,7 +3744,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3469,12 +3787,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3520,7 +3844,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3533,7 +3860,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3570,7 +3900,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3615,7 +3948,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3640,7 +3976,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3662,7 +4001,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3681,7 +4023,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3690,7 +4035,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3726,7 +4074,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3755,7 +4106,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3789,7 +4143,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3807,12 +4164,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3861,7 +4224,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3871,7 +4237,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3921,7 +4290,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3930,7 +4302,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3977,7 +4352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4010,11 +4388,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4061,7 +4445,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4098,7 +4485,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4118,7 +4508,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4156,7 +4549,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4172,7 +4568,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4203,7 +4602,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4222,7 +4624,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4262,7 +4667,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4291,7 +4699,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4328,7 +4739,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4347,7 +4761,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4366,7 +4783,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4396,7 +4816,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4459,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4510,7 +4936,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4526,7 +4955,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4560,7 +4992,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4582,7 +5017,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4594,7 +5032,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4617,7 +5058,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/replicationcontrollerstatus-v1.json b/v1.12.3-standalone/replicationcontrollerstatus-v1.json index 12e6ba54e2..d2ad7bcfe0 100644 --- a/v1.12.3-standalone/replicationcontrollerstatus-v1.json +++ b/v1.12.3-standalone/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/replicationcontrollerstatus.json b/v1.12.3-standalone/replicationcontrollerstatus.json index 12e6ba54e2..d2ad7bcfe0 100644 --- a/v1.12.3-standalone/replicationcontrollerstatus.json +++ b/v1.12.3-standalone/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,22 +62,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/resourcefieldselector-v1.json b/v1.12.3-standalone/resourcefieldselector-v1.json index b51c5c56e1..01ef1544ff 100644 --- a/v1.12.3-standalone/resourcefieldselector-v1.json +++ b/v1.12.3-standalone/resourcefieldselector-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/resourcefieldselector.json b/v1.12.3-standalone/resourcefieldselector.json index b51c5c56e1..01ef1544ff 100644 --- a/v1.12.3-standalone/resourcefieldselector.json +++ b/v1.12.3-standalone/resourcefieldselector.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta1.json index 2c35b15234..16d4510a9b 100644 --- a/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { @@ -25,7 +28,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta2.json b/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta2.json index 45bf3c3e9b..69532c03a8 100644 --- a/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/resourcemetricsource-autoscaling-v2beta2.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcemetricsource.json b/v1.12.3-standalone/resourcemetricsource.json index 45bf3c3e9b..69532c03a8 100644 --- a/v1.12.3-standalone/resourcemetricsource.json +++ b/v1.12.3-standalone/resourcemetricsource.json @@ -20,7 +20,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -32,7 +35,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -49,7 +55,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta1.json index 5b07c16aa9..6dfd00858c 100644 --- a/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { @@ -19,7 +22,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, diff --git a/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta2.json b/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta2.json index f85075a725..5a8d4cb72b 100644 --- a/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta2.json +++ b/v1.12.3-standalone/resourcemetricstatus-autoscaling-v2beta2.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcemetricstatus.json b/v1.12.3-standalone/resourcemetricstatus.json index f85075a725..5a8d4cb72b 100644 --- a/v1.12.3-standalone/resourcemetricstatus.json +++ b/v1.12.3-standalone/resourcemetricstatus.json @@ -10,7 +10,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { @@ -22,7 +25,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -35,7 +41,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequota-v1.json b/v1.12.3-standalone/resourcequota-v1.json index 617786f205..5e4248cbe4 100644 --- a/v1.12.3-standalone/resourcequota-v1.json +++ b/v1.12.3-standalone/resourcequota-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -375,7 +402,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -442,7 +472,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -452,14 +485,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -469,7 +508,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequota.json b/v1.12.3-standalone/resourcequota.json index 933ba92d60..f4e762cafd 100644 --- a/v1.12.3-standalone/resourcequota.json +++ b/v1.12.3-standalone/resourcequota.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,7 +383,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -369,7 +396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -436,7 +466,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -446,14 +479,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -463,7 +502,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequotalist-v1.json b/v1.12.3-standalone/resourcequotalist-v1.json index 79067e2120..7ecff12fe2 100644 --- a/v1.12.3-standalone/resourcequotalist-v1.json +++ b/v1.12.3-standalone/resourcequotalist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -387,7 +411,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -397,7 +424,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -464,7 +494,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -474,14 +507,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -491,7 +530,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequotalist.json b/v1.12.3-standalone/resourcequotalist.json index 43b88b9b04..e495299ee6 100644 --- a/v1.12.3-standalone/resourcequotalist.json +++ b/v1.12.3-standalone/resourcequotalist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -378,7 +402,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -388,7 +415,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -455,7 +485,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -465,14 +498,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -482,7 +521,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequotaspec-v1.json b/v1.12.3-standalone/resourcequotaspec-v1.json index b653573320..6c2e9a07e8 100644 --- a/v1.12.3-standalone/resourcequotaspec-v1.json +++ b/v1.12.3-standalone/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequotaspec.json b/v1.12.3-standalone/resourcequotaspec.json index b653573320..6c2e9a07e8 100644 --- a/v1.12.3-standalone/resourcequotaspec.json +++ b/v1.12.3-standalone/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,7 +16,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequotastatus-v1.json b/v1.12.3-standalone/resourcequotastatus-v1.json index 3785625a21..c517c0c4d6 100644 --- a/v1.12.3-standalone/resourcequotastatus-v1.json +++ b/v1.12.3-standalone/resourcequotastatus-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcequotastatus.json b/v1.12.3-standalone/resourcequotastatus.json index 3785625a21..c517c0c4d6 100644 --- a/v1.12.3-standalone/resourcequotastatus.json +++ b/v1.12.3-standalone/resourcequotastatus.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcerequirements-v1.json b/v1.12.3-standalone/resourcerequirements-v1.json index 34ffae47a1..87c256e1a5 100644 --- a/v1.12.3-standalone/resourcerequirements-v1.json +++ b/v1.12.3-standalone/resourcerequirements-v1.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/resourcerequirements.json b/v1.12.3-standalone/resourcerequirements.json index 34ffae47a1..87c256e1a5 100644 --- a/v1.12.3-standalone/resourcerequirements.json +++ b/v1.12.3-standalone/resourcerequirements.json @@ -3,7 +3,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -13,14 +16,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -30,7 +39,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/role-rbac-v1.json b/v1.12.3-standalone/role-rbac-v1.json index 267f49ac9e..d521c21276 100644 --- a/v1.12.3-standalone/role-rbac-v1.json +++ b/v1.12.3-standalone/role-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/role-rbac-v1alpha1.json b/v1.12.3-standalone/role-rbac-v1alpha1.json index b372713a7e..7a9b1023f3 100644 --- a/v1.12.3-standalone/role-rbac-v1alpha1.json +++ b/v1.12.3-standalone/role-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/role-rbac-v1beta1.json b/v1.12.3-standalone/role-rbac-v1beta1.json index 3f3b1071fd..6e890d9fc3 100644 --- a/v1.12.3-standalone/role-rbac-v1beta1.json +++ b/v1.12.3-standalone/role-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/role.json b/v1.12.3-standalone/role.json index 52e50c40ed..ca214435f5 100644 --- a/v1.12.3-standalone/role.json +++ b/v1.12.3-standalone/role.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebinding-rbac-v1.json b/v1.12.3-standalone/rolebinding-rbac-v1.json index 90fdedd0cb..7f5b0a5b84 100644 --- a/v1.12.3-standalone/rolebinding-rbac-v1.json +++ b/v1.12.3-standalone/rolebinding-rbac-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebinding-rbac-v1alpha1.json b/v1.12.3-standalone/rolebinding-rbac-v1alpha1.json index 9f4a0cf9e7..19ff35a7ed 100644 --- a/v1.12.3-standalone/rolebinding-rbac-v1alpha1.json +++ b/v1.12.3-standalone/rolebinding-rbac-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebinding-rbac-v1beta1.json b/v1.12.3-standalone/rolebinding-rbac-v1beta1.json index b8b7e92fb6..b3f66a0018 100644 --- a/v1.12.3-standalone/rolebinding-rbac-v1beta1.json +++ b/v1.12.3-standalone/rolebinding-rbac-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebinding.json b/v1.12.3-standalone/rolebinding.json index a3323b66ff..39f808e5d3 100644 --- a/v1.12.3-standalone/rolebinding.json +++ b/v1.12.3-standalone/rolebinding.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebindinglist-rbac-v1.json b/v1.12.3-standalone/rolebindinglist-rbac-v1.json index 2d33c2cf9d..d54109a526 100644 --- a/v1.12.3-standalone/rolebindinglist-rbac-v1.json +++ b/v1.12.3-standalone/rolebindinglist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebindinglist-rbac-v1alpha1.json b/v1.12.3-standalone/rolebindinglist-rbac-v1alpha1.json index 0b3924f11c..016cf7cb53 100644 --- a/v1.12.3-standalone/rolebindinglist-rbac-v1alpha1.json +++ b/v1.12.3-standalone/rolebindinglist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebindinglist-rbac-v1beta1.json b/v1.12.3-standalone/rolebindinglist-rbac-v1beta1.json index 5175934e04..757683e384 100644 --- a/v1.12.3-standalone/rolebindinglist-rbac-v1beta1.json +++ b/v1.12.3-standalone/rolebindinglist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolebindinglist.json b/v1.12.3-standalone/rolebindinglist.json index d941666c07..5e7fa8b317 100644 --- a/v1.12.3-standalone/rolebindinglist.json +++ b/v1.12.3-standalone/rolebindinglist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolelist-rbac-v1.json b/v1.12.3-standalone/rolelist-rbac-v1.json index d58583b466..0a1dc7c83e 100644 --- a/v1.12.3-standalone/rolelist-rbac-v1.json +++ b/v1.12.3-standalone/rolelist-rbac-v1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolelist-rbac-v1alpha1.json b/v1.12.3-standalone/rolelist-rbac-v1alpha1.json index f755d3499a..5783516a17 100644 --- a/v1.12.3-standalone/rolelist-rbac-v1alpha1.json +++ b/v1.12.3-standalone/rolelist-rbac-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolelist-rbac-v1beta1.json b/v1.12.3-standalone/rolelist-rbac-v1beta1.json index 9a26e97b1c..75ba7c45f7 100644 --- a/v1.12.3-standalone/rolelist-rbac-v1beta1.json +++ b/v1.12.3-standalone/rolelist-rbac-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rolelist.json b/v1.12.3-standalone/rolelist.json index bb86af2fb0..8d1099ccff 100644 --- a/v1.12.3-standalone/rolelist.json +++ b/v1.12.3-standalone/rolelist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/rollbackconfig-apps-v1beta1.json b/v1.12.3-standalone/rollbackconfig-apps-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3-standalone/rollbackconfig-apps-v1beta1.json +++ b/v1.12.3-standalone/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/rollbackconfig-extensions-v1beta1.json b/v1.12.3-standalone/rollbackconfig-extensions-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3-standalone/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.3-standalone/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/rollbackconfig.json b/v1.12.3-standalone/rollbackconfig.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3-standalone/rollbackconfig.json +++ b/v1.12.3-standalone/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3-standalone/rollingupdatedaemonset-apps-v1.json b/v1.12.3-standalone/rollingupdatedaemonset-apps-v1.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.3-standalone/rollingupdatedaemonset-apps-v1.json +++ b/v1.12.3-standalone/rollingupdatedaemonset-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedaemonset-apps-v1beta2.json b/v1.12.3-standalone/rollingupdatedaemonset-apps-v1beta2.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.3-standalone/rollingupdatedaemonset-apps-v1beta2.json +++ b/v1.12.3-standalone/rollingupdatedaemonset-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedaemonset-extensions-v1beta1.json b/v1.12.3-standalone/rollingupdatedaemonset-extensions-v1beta1.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.3-standalone/rollingupdatedaemonset-extensions-v1beta1.json +++ b/v1.12.3-standalone/rollingupdatedaemonset-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedaemonset.json b/v1.12.3-standalone/rollingupdatedaemonset.json index 6848aa1b70..8f622fa312 100644 --- a/v1.12.3-standalone/rollingupdatedaemonset.json +++ b/v1.12.3-standalone/rollingupdatedaemonset.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedeployment-apps-v1.json b/v1.12.3-standalone/rollingupdatedeployment-apps-v1.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.3-standalone/rollingupdatedeployment-apps-v1.json +++ b/v1.12.3-standalone/rollingupdatedeployment-apps-v1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta1.json b/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta1.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta1.json +++ b/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta2.json b/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta2.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta2.json +++ b/v1.12.3-standalone/rollingupdatedeployment-apps-v1beta2.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedeployment-extensions-v1beta1.json b/v1.12.3-standalone/rollingupdatedeployment-extensions-v1beta1.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.3-standalone/rollingupdatedeployment-extensions-v1beta1.json +++ b/v1.12.3-standalone/rollingupdatedeployment-extensions-v1beta1.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatedeployment.json b/v1.12.3-standalone/rollingupdatedeployment.json index 2e0cec9e7f..c359c2b9fa 100644 --- a/v1.12.3-standalone/rollingupdatedeployment.json +++ b/v1.12.3-standalone/rollingupdatedeployment.json @@ -10,7 +10,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -23,7 +26,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json index 77aec86a21..fcfd73afd8 100644 --- a/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.3-standalone/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/rollingupdatestatefulsetstrategy.json b/v1.12.3-standalone/rollingupdatestatefulsetstrategy.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3-standalone/rollingupdatestatefulsetstrategy.json +++ b/v1.12.3-standalone/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/scale-apps-v1beta1.json b/v1.12.3-standalone/scale-apps-v1beta1.json index 01573eb53a..d1bf0dc33e 100644 --- a/v1.12.3-standalone/scale-apps-v1beta1.json +++ b/v1.12.3-standalone/scale-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -383,7 +410,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scale-apps-v1beta2.json b/v1.12.3-standalone/scale-apps-v1beta2.json index d47256d768..3b26ab0405 100644 --- a/v1.12.3-standalone/scale-apps-v1beta2.json +++ b/v1.12.3-standalone/scale-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -383,7 +410,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scale-autoscaling-v1.json b/v1.12.3-standalone/scale-autoscaling-v1.json index a9f74cb3b3..9b513df910 100644 --- a/v1.12.3-standalone/scale-autoscaling-v1.json +++ b/v1.12.3-standalone/scale-autoscaling-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/scale-extensions-v1beta1.json b/v1.12.3-standalone/scale-extensions-v1beta1.json index 407272105d..ecccd08f5d 100644 --- a/v1.12.3-standalone/scale-extensions-v1beta1.json +++ b/v1.12.3-standalone/scale-extensions-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -365,7 +389,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -383,7 +410,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scale.json b/v1.12.3-standalone/scale.json index b63768c370..699b3e65a1 100644 --- a/v1.12.3-standalone/scale.json +++ b/v1.12.3-standalone/scale.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -359,7 +383,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -377,7 +404,10 @@ }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scaleiopersistentvolumesource-v1.json b/v1.12.3-standalone/scaleiopersistentvolumesource-v1.json index 672fbcacb2..a1234836ad 100644 --- a/v1.12.3-standalone/scaleiopersistentvolumesource-v1.json +++ b/v1.12.3-standalone/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -52,7 +55,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone/scaleiopersistentvolumesource.json b/v1.12.3-standalone/scaleiopersistentvolumesource.json index 672fbcacb2..a1234836ad 100644 --- a/v1.12.3-standalone/scaleiopersistentvolumesource.json +++ b/v1.12.3-standalone/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", @@ -52,7 +55,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone/scaleiovolumesource-v1.json b/v1.12.3-standalone/scaleiovolumesource-v1.json index f74fc8babc..e9f0a8ff0f 100644 --- a/v1.12.3-standalone/scaleiovolumesource-v1.json +++ b/v1.12.3-standalone/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -45,7 +48,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone/scaleiovolumesource.json b/v1.12.3-standalone/scaleiovolumesource.json index f74fc8babc..e9f0a8ff0f 100644 --- a/v1.12.3-standalone/scaleiovolumesource.json +++ b/v1.12.3-standalone/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -45,7 +48,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3-standalone/scalespec-apps-v1beta1.json b/v1.12.3-standalone/scalespec-apps-v1beta1.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.3-standalone/scalespec-apps-v1beta1.json +++ b/v1.12.3-standalone/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/scalespec-apps-v1beta2.json b/v1.12.3-standalone/scalespec-apps-v1beta2.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.3-standalone/scalespec-apps-v1beta2.json +++ b/v1.12.3-standalone/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/scalespec-autoscaling-v1.json b/v1.12.3-standalone/scalespec-autoscaling-v1.json index f65424ab17..9b4feb4953 100644 --- a/v1.12.3-standalone/scalespec-autoscaling-v1.json +++ b/v1.12.3-standalone/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/scalespec-extensions-v1beta1.json b/v1.12.3-standalone/scalespec-extensions-v1beta1.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.3-standalone/scalespec-extensions-v1beta1.json +++ b/v1.12.3-standalone/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/scalespec.json b/v1.12.3-standalone/scalespec.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.3-standalone/scalespec.json +++ b/v1.12.3-standalone/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/scalestatus-apps-v1beta1.json b/v1.12.3-standalone/scalestatus-apps-v1beta1.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.3-standalone/scalestatus-apps-v1beta1.json +++ b/v1.12.3-standalone/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scalestatus-apps-v1beta2.json b/v1.12.3-standalone/scalestatus-apps-v1beta2.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.3-standalone/scalestatus-apps-v1beta2.json +++ b/v1.12.3-standalone/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scalestatus-autoscaling-v1.json b/v1.12.3-standalone/scalestatus-autoscaling-v1.json index db9afe18d2..5de93b19a3 100644 --- a/v1.12.3-standalone/scalestatus-autoscaling-v1.json +++ b/v1.12.3-standalone/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3-standalone/scalestatus-extensions-v1beta1.json b/v1.12.3-standalone/scalestatus-extensions-v1beta1.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.3-standalone/scalestatus-extensions-v1beta1.json +++ b/v1.12.3-standalone/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/scalestatus.json b/v1.12.3-standalone/scalestatus.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.3-standalone/scalestatus.json +++ b/v1.12.3-standalone/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/secret-v1.json b/v1.12.3-standalone/secret-v1.json index 1d992a87fc..759a0049d2 100644 --- a/v1.12.3-standalone/secret-v1.json +++ b/v1.12.3-standalone/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -37,7 +40,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -62,7 +68,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -96,7 +105,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -138,7 +150,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -200,7 +215,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -282,7 +300,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -325,11 +346,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -373,7 +400,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/secret.json b/v1.12.3-standalone/secret.json index d0e36fdc37..4d22470ec2 100644 --- a/v1.12.3-standalone/secret.json +++ b/v1.12.3-standalone/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -34,7 +37,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +65,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -93,7 +102,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -132,7 +144,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -194,7 +209,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -276,7 +294,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -319,11 +340,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -367,7 +394,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/secretenvsource-v1.json b/v1.12.3-standalone/secretenvsource-v1.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.3-standalone/secretenvsource-v1.json +++ b/v1.12.3-standalone/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/secretenvsource.json b/v1.12.3-standalone/secretenvsource.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.3-standalone/secretenvsource.json +++ b/v1.12.3-standalone/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/secretkeyselector-v1.json b/v1.12.3-standalone/secretkeyselector-v1.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.3-standalone/secretkeyselector-v1.json +++ b/v1.12.3-standalone/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/secretkeyselector.json b/v1.12.3-standalone/secretkeyselector.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.3-standalone/secretkeyselector.json +++ b/v1.12.3-standalone/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/secretlist-v1.json b/v1.12.3-standalone/secretlist-v1.json index 5314d9b8ea..c294e7e783 100644 --- a/v1.12.3-standalone/secretlist-v1.json +++ b/v1.12.3-standalone/secretlist-v1.json @@ -35,7 +35,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -59,7 +62,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -84,7 +90,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -118,7 +127,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -160,7 +172,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -222,7 +237,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -304,7 +322,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -347,11 +368,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -395,7 +422,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/secretlist.json b/v1.12.3-standalone/secretlist.json index aa55dfb883..cba837dc91 100644 --- a/v1.12.3-standalone/secretlist.json +++ b/v1.12.3-standalone/secretlist.json @@ -29,7 +29,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -53,7 +56,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -78,7 +84,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -112,7 +121,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -151,7 +163,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -213,7 +228,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -295,7 +313,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -338,11 +359,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -386,7 +413,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/secretprojection-v1.json b/v1.12.3-standalone/secretprojection-v1.json index a500d6f60e..8346a6fb23 100644 --- a/v1.12.3-standalone/secretprojection-v1.json +++ b/v1.12.3-standalone/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/secretprojection.json b/v1.12.3-standalone/secretprojection.json index a500d6f60e..8346a6fb23 100644 --- a/v1.12.3-standalone/secretprojection.json +++ b/v1.12.3-standalone/secretprojection.json @@ -20,7 +20,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -39,7 +42,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3-standalone/secretvolumesource-v1.json b/v1.12.3-standalone/secretvolumesource-v1.json index 1aa5263232..9cd8aaa929 100644 --- a/v1.12.3-standalone/secretvolumesource-v1.json +++ b/v1.12.3-standalone/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -37,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3-standalone/secretvolumesource.json b/v1.12.3-standalone/secretvolumesource.json index 1aa5263232..9cd8aaa929 100644 --- a/v1.12.3-standalone/secretvolumesource.json +++ b/v1.12.3-standalone/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -37,7 +43,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3-standalone/securitycontext-v1.json b/v1.12.3-standalone/securitycontext-v1.json index 0336d9d091..3338b64329 100644 --- a/v1.12.3-standalone/securitycontext-v1.json +++ b/v1.12.3-standalone/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -38,7 +41,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -49,20 +55,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3-standalone/securitycontext.json b/v1.12.3-standalone/securitycontext.json index 0336d9d091..3338b64329 100644 --- a/v1.12.3-standalone/securitycontext.json +++ b/v1.12.3-standalone/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -38,7 +41,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -49,20 +55,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1.json b/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1.json index 4289d12065..c908b74b5e 100644 --- a/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1.json +++ b/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -453,7 +477,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1beta1.json b/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1beta1.json index 84e472c337..b86d143dcc 100644 --- a/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1beta1.json +++ b/v1.12.3-standalone/selfsubjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -453,7 +477,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/selfsubjectaccessreview.json b/v1.12.3-standalone/selfsubjectaccessreview.json index 064bbc0d58..4bdbf5f898 100644 --- a/v1.12.3-standalone/selfsubjectaccessreview.json +++ b/v1.12.3-standalone/selfsubjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1.json b/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1.json index 5831ad5a7d..ae636394d9 100644 --- a/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1.json +++ b/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1beta1.json b/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1beta1.json index ee5c795919..ebd57a87a3 100644 --- a/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1beta1.json +++ b/v1.12.3-standalone/selfsubjectrulesreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/selfsubjectrulesreview.json b/v1.12.3-standalone/selfsubjectrulesreview.json index 725d36809c..b23393fec1 100644 --- a/v1.12.3-standalone/selfsubjectrulesreview.json +++ b/v1.12.3-standalone/selfsubjectrulesreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/service-v1.json b/v1.12.3-standalone/service-v1.json index dde576691a..5892b4e86a 100644 --- a/v1.12.3-standalone/service-v1.json +++ b/v1.12.3-standalone/service-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -399,7 +423,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -443,7 +470,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -467,7 +497,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -478,11 +511,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -505,7 +544,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/service.json b/v1.12.3-standalone/service.json index b4ad20981e..0dadacf310 100644 --- a/v1.12.3-standalone/service.json +++ b/v1.12.3-standalone/service.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -393,7 +417,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -437,7 +464,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -461,7 +491,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -472,11 +505,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -499,7 +538,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/serviceaccount-v1.json b/v1.12.3-standalone/serviceaccount-v1.json index bae0c3d803..fba12e97d6 100644 --- a/v1.12.3-standalone/serviceaccount-v1.json +++ b/v1.12.3-standalone/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -49,7 +52,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -74,7 +80,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -108,7 +117,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -150,7 +162,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -212,7 +227,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -294,7 +312,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -337,11 +358,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/serviceaccount.json b/v1.12.3-standalone/serviceaccount.json index 89d45b480b..5226248283 100644 --- a/v1.12.3-standalone/serviceaccount.json +++ b/v1.12.3-standalone/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -46,7 +49,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -71,7 +77,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -105,7 +114,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -144,7 +156,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -206,7 +221,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -288,7 +306,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -331,11 +352,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/serviceaccountlist-v1.json b/v1.12.3-standalone/serviceaccountlist-v1.json index c2db0a3f75..8c887ade36 100644 --- a/v1.12.3-standalone/serviceaccountlist-v1.json +++ b/v1.12.3-standalone/serviceaccountlist-v1.json @@ -35,7 +35,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -71,7 +74,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -96,7 +102,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -130,7 +139,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -172,7 +184,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -234,7 +249,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -316,7 +334,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -359,11 +380,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/serviceaccountlist.json b/v1.12.3-standalone/serviceaccountlist.json index ec7a23d013..db010fae42 100644 --- a/v1.12.3-standalone/serviceaccountlist.json +++ b/v1.12.3-standalone/serviceaccountlist.json @@ -29,7 +29,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", @@ -65,7 +68,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -90,7 +96,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -124,7 +133,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -163,7 +175,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -225,7 +240,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -307,7 +325,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -350,11 +371,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3-standalone/serviceaccounttokenprojection-v1.json b/v1.12.3-standalone/serviceaccounttokenprojection-v1.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.3-standalone/serviceaccounttokenprojection-v1.json +++ b/v1.12.3-standalone/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone/serviceaccounttokenprojection.json b/v1.12.3-standalone/serviceaccounttokenprojection.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.3-standalone/serviceaccounttokenprojection.json +++ b/v1.12.3-standalone/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone/servicelist-v1.json b/v1.12.3-standalone/servicelist-v1.json index e785cf4eed..caedfbf177 100644 --- a/v1.12.3-standalone/servicelist-v1.json +++ b/v1.12.3-standalone/servicelist-v1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -421,7 +445,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -465,7 +492,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -489,7 +519,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -500,11 +533,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -527,7 +566,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/servicelist.json b/v1.12.3-standalone/servicelist.json index bc6f01d9c9..04184e58f4 100644 --- a/v1.12.3-standalone/servicelist.json +++ b/v1.12.3-standalone/servicelist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -412,7 +436,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -456,7 +483,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -480,7 +510,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -491,11 +524,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -518,7 +557,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/serviceport-v1.json b/v1.12.3-standalone/serviceport-v1.json index 27d9fd36fa..e226cb3b15 100644 --- a/v1.12.3-standalone/serviceport-v1.json +++ b/v1.12.3-standalone/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/serviceport.json b/v1.12.3-standalone/serviceport.json index 27d9fd36fa..e226cb3b15 100644 --- a/v1.12.3-standalone/serviceport.json +++ b/v1.12.3-standalone/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { @@ -37,7 +43,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/servicespec-v1.json b/v1.12.3-standalone/servicespec-v1.json index 3c235ed58d..baa606684a 100644 --- a/v1.12.3-standalone/servicespec-v1.json +++ b/v1.12.3-standalone/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -116,11 +125,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -143,7 +158,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/servicespec.json b/v1.12.3-standalone/servicespec.json index 3c235ed58d..baa606684a 100644 --- a/v1.12.3-standalone/servicespec.json +++ b/v1.12.3-standalone/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -81,7 +84,10 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { @@ -105,7 +111,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -116,11 +125,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -143,7 +158,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/sessionaffinityconfig-v1.json b/v1.12.3-standalone/sessionaffinityconfig-v1.json index 3b3b1c3d05..6eb14ee97b 100644 --- a/v1.12.3-standalone/sessionaffinityconfig-v1.json +++ b/v1.12.3-standalone/sessionaffinityconfig-v1.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/sessionaffinityconfig.json b/v1.12.3-standalone/sessionaffinityconfig.json index 3b3b1c3d05..6eb14ee97b 100644 --- a/v1.12.3-standalone/sessionaffinityconfig.json +++ b/v1.12.3-standalone/sessionaffinityconfig.json @@ -6,7 +6,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulset-apps-v1.json b/v1.12.3-standalone/statefulset-apps-v1.json index 4a85bbf348..df4184cbcb 100644 --- a/v1.12.3-standalone/statefulset-apps-v1.json +++ b/v1.12.3-standalone/statefulset-apps-v1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +594,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +850,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1121,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1217,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1414,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1453,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1653,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1977,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2054,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2109,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2147,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2272,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2327,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2340,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2353,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2391,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2429,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2443,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2508,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2536,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2597,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2725,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2855,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2903,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2935,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2970,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +2996,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3135,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3258,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3294,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3140,17 +3371,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3426,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3464,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3512,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3589,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3644,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3657,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3670,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3708,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3746,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3760,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3825,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3853,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3914,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3952,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3965,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4023,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4092,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4141,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4155,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4193,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4236,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4309,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4349,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4397,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4484,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4523,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4555,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4613,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4673,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4686,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4739,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4801,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4837,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4894,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4957,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +4998,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5017,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5116,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5148,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5210,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5265,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5331,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5385,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5404,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5441,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5466,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5481,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5122,7 +5590,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5170,7 +5641,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5195,7 +5669,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5229,7 +5706,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5271,7 +5751,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5333,7 +5816,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5415,7 +5901,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5458,11 +5947,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5549,7 +6044,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5559,14 +6057,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5576,7 +6080,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5627,7 +6134,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5678,7 +6188,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5688,7 +6201,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5776,7 +6292,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5829,7 +6348,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5841,12 +6363,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5863,7 +6391,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulset-apps-v1beta1.json b/v1.12.3-standalone/statefulset-apps-v1beta1.json index f63dc98df0..518531e2b2 100644 --- a/v1.12.3-standalone/statefulset-apps-v1beta1.json +++ b/v1.12.3-standalone/statefulset-apps-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -376,12 +400,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -428,7 +458,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -450,7 +483,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -475,7 +511,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -509,7 +548,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -551,7 +593,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -613,7 +658,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -695,7 +743,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -738,11 +789,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -792,7 +849,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1060,7 +1120,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1153,7 +1216,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1251,7 +1317,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1344,7 +1413,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1380,7 +1452,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1462,7 +1537,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1507,7 +1585,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1536,7 +1617,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1568,7 +1652,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1591,7 +1678,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1689,7 +1779,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1724,7 +1817,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1806,7 +1902,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1841,7 +1940,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1874,7 +1976,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1930,7 +2035,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1945,17 +2053,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1980,7 +2097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1988,7 +2108,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2023,7 +2146,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2068,7 +2194,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2124,7 +2253,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2139,17 +2271,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2174,7 +2315,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2182,7 +2326,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2192,7 +2339,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2202,14 +2352,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2219,7 +2375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2231,7 +2390,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2266,7 +2428,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2277,20 +2442,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2330,11 +2507,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2352,7 +2535,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2410,7 +2596,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2535,15 +2724,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2656,7 +2854,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2701,7 +2902,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2730,7 +2934,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2762,7 +2969,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2785,7 +2995,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2883,7 +3096,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2918,7 +3134,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3000,7 +3219,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3035,7 +3257,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3068,7 +3293,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3124,7 +3352,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3139,17 +3370,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3174,7 +3414,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3182,7 +3425,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3217,7 +3463,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3262,7 +3511,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3318,7 +3570,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3333,17 +3588,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3368,7 +3632,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3376,7 +3643,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3386,7 +3656,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3396,14 +3669,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3413,7 +3692,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3425,7 +3707,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3460,7 +3745,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3471,20 +3759,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3524,11 +3824,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3546,7 +3852,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3604,7 +3913,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3639,7 +3951,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3649,7 +3964,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3704,21 +4022,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3761,7 +4091,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3807,7 +4140,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3818,7 +4154,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3853,7 +4192,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3893,12 +4235,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3944,7 +4292,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3957,7 +4308,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3994,7 +4348,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4039,7 +4396,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4064,7 +4424,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4086,7 +4449,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4105,7 +4471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4114,7 +4483,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4150,7 +4522,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4179,7 +4554,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4213,7 +4591,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4231,12 +4612,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4285,7 +4672,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4295,7 +4685,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4345,7 +4738,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4354,7 +4750,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4401,7 +4800,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4434,11 +4836,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4485,7 +4893,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4522,7 +4933,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4542,7 +4956,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4580,7 +4997,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4596,7 +5016,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4627,7 +5050,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4646,7 +5072,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4686,7 +5115,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4715,7 +5147,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4752,7 +5187,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4771,7 +5209,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4790,7 +5231,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4820,7 +5264,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4883,7 +5330,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4934,7 +5384,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4950,7 +5403,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4984,7 +5440,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5006,7 +5465,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5018,7 +5480,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5041,7 +5506,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5121,7 +5589,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5169,7 +5640,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5194,7 +5668,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5228,7 +5705,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5270,7 +5750,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5332,7 +5815,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5414,7 +5900,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5457,11 +5946,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5548,7 +6043,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5558,14 +6056,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5575,7 +6079,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5626,7 +6133,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5677,7 +6187,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5687,7 +6200,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5775,7 +6291,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5828,7 +6347,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5840,12 +6362,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5862,7 +6390,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulset-apps-v1beta2.json b/v1.12.3-standalone/statefulset-apps-v1beta2.json index c471370ee7..267c8acb59 100644 --- a/v1.12.3-standalone/statefulset-apps-v1beta2.json +++ b/v1.12.3-standalone/statefulset-apps-v1beta2.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -377,12 +401,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -429,7 +459,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -451,7 +484,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -476,7 +512,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -510,7 +549,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -552,7 +594,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -614,7 +659,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -696,7 +744,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -739,11 +790,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -793,7 +850,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1061,7 +1121,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1154,7 +1217,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1252,7 +1318,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1345,7 +1414,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1381,7 +1453,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1463,7 +1538,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1508,7 +1586,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1537,7 +1618,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1569,7 +1653,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1592,7 +1679,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1690,7 +1780,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1725,7 +1818,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1807,7 +1903,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1842,7 +1941,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1875,7 +1977,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1931,7 +2036,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1946,17 +2054,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1981,7 +2098,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1989,7 +2109,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2024,7 +2147,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2069,7 +2195,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2125,7 +2254,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2140,17 +2272,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2175,7 +2316,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2183,7 +2327,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2193,7 +2340,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2203,14 +2353,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2220,7 +2376,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2232,7 +2391,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2267,7 +2429,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2278,20 +2443,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2331,11 +2508,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2353,7 +2536,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2411,7 +2597,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2536,15 +2725,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2657,7 +2855,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2702,7 +2903,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2731,7 +2935,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2763,7 +2970,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2786,7 +2996,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2884,7 +3097,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2919,7 +3135,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3001,7 +3220,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3036,7 +3258,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3069,7 +3294,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3125,7 +3353,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3140,17 +3371,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3175,7 +3415,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3183,7 +3426,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3218,7 +3464,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3263,7 +3512,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3319,7 +3571,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3334,17 +3589,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3369,7 +3633,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3377,7 +3644,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3387,7 +3657,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3397,14 +3670,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3414,7 +3693,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3426,7 +3708,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3461,7 +3746,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3472,20 +3760,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3525,11 +3825,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3547,7 +3853,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3605,7 +3914,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3640,7 +3952,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3650,7 +3965,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3705,21 +4023,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3762,7 +4092,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3808,7 +4141,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3819,7 +4155,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3854,7 +4193,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3894,12 +4236,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3945,7 +4293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3958,7 +4309,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3995,7 +4349,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4040,7 +4397,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4065,7 +4425,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4087,7 +4450,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4106,7 +4472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4115,7 +4484,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4151,7 +4523,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4180,7 +4555,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4214,7 +4592,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4232,12 +4613,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4286,7 +4673,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4296,7 +4686,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4346,7 +4739,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4355,7 +4751,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4402,7 +4801,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4435,11 +4837,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4486,7 +4894,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4523,7 +4934,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4543,7 +4957,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4581,7 +4998,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4597,7 +5017,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4628,7 +5051,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4647,7 +5073,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4687,7 +5116,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4716,7 +5148,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4753,7 +5188,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4772,7 +5210,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4791,7 +5232,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4821,7 +5265,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4884,7 +5331,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4935,7 +5385,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4951,7 +5404,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4985,7 +5441,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5007,7 +5466,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5019,7 +5481,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5042,7 +5507,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5122,7 +5590,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5170,7 +5641,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5195,7 +5669,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5229,7 +5706,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5271,7 +5751,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5333,7 +5816,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5415,7 +5901,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5458,11 +5947,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5549,7 +6044,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5559,14 +6057,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5576,7 +6080,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5627,7 +6134,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5678,7 +6188,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5688,7 +6201,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5776,7 +6292,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5829,7 +6348,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5841,12 +6363,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5863,7 +6391,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulset.json b/v1.12.3-standalone/statefulset.json index ae33e1a87c..1962f2f799 100644 --- a/v1.12.3-standalone/statefulset.json +++ b/v1.12.3-standalone/statefulset.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -371,12 +395,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -423,7 +453,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -445,7 +478,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -470,7 +506,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -504,7 +543,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -543,7 +585,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -605,7 +650,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -687,7 +735,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -730,11 +781,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -784,7 +841,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1052,7 +1112,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1145,7 +1208,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1243,7 +1309,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1336,7 +1405,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1372,7 +1444,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1454,7 +1529,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1499,7 +1577,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1528,7 +1609,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1560,7 +1644,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1583,7 +1670,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1681,7 +1771,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1716,7 +1809,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1798,7 +1894,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1833,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1866,7 +1968,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1922,7 +2027,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1937,17 +2045,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1972,7 +2089,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1980,7 +2100,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2015,7 +2138,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2060,7 +2186,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2116,7 +2245,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2131,17 +2263,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2166,7 +2307,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2174,7 +2318,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2184,7 +2331,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2194,14 +2344,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2211,7 +2367,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2223,7 +2382,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2258,7 +2420,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2269,20 +2434,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2322,11 +2499,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2344,7 +2527,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2402,7 +2588,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2527,15 +2716,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2648,7 +2846,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2693,7 +2894,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2722,7 +2926,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2754,7 +2961,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2777,7 +2987,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2875,7 +3088,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2910,7 +3126,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2992,7 +3211,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3027,7 +3249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3060,7 +3285,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3116,7 +3344,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3131,17 +3362,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3166,7 +3406,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3174,7 +3417,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3209,7 +3455,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3254,7 +3503,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3310,7 +3562,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3325,17 +3580,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3360,7 +3624,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3368,7 +3635,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3378,7 +3648,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3388,14 +3661,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3405,7 +3684,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3417,7 +3699,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3452,7 +3737,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3463,20 +3751,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3516,11 +3816,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3538,7 +3844,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3596,7 +3905,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3631,7 +3943,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3641,7 +3956,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3696,21 +4014,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3753,7 +4083,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3799,7 +4132,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3810,7 +4146,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3845,7 +4184,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3885,12 +4227,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3936,7 +4284,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3949,7 +4300,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3986,7 +4340,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4031,7 +4388,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4056,7 +4416,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4078,7 +4441,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4097,7 +4463,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4106,7 +4475,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4142,7 +4514,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4171,7 +4546,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4205,7 +4583,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4223,12 +4604,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4277,7 +4664,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4287,7 +4677,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4337,7 +4730,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4346,7 +4742,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4393,7 +4792,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4426,11 +4828,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4477,7 +4885,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4514,7 +4925,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4534,7 +4948,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4572,7 +4989,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4588,7 +5008,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4619,7 +5042,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4638,7 +5064,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4678,7 +5107,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4707,7 +5139,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4744,7 +5179,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4763,7 +5201,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4782,7 +5223,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4812,7 +5256,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4875,7 +5322,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4926,7 +5376,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4942,7 +5395,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4976,7 +5432,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4998,7 +5457,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5010,7 +5472,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5033,7 +5498,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5113,7 +5581,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5158,7 +5629,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5183,7 +5657,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5217,7 +5694,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5256,7 +5736,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5318,7 +5801,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5400,7 +5886,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5443,11 +5932,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5534,7 +6029,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5544,14 +6042,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5561,7 +6065,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5612,7 +6119,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5663,7 +6173,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5673,7 +6186,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5761,7 +6277,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5814,7 +6333,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5826,12 +6348,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5848,7 +6376,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetlist-apps-v1.json b/v1.12.3-standalone/statefulsetlist-apps-v1.json index 9cd9947cee..291cf5cb76 100644 --- a/v1.12.3-standalone/statefulsetlist-apps-v1.json +++ b/v1.12.3-standalone/statefulsetlist-apps-v1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -450,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +505,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -497,7 +533,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -531,7 +570,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -717,7 +765,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -760,11 +811,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -814,7 +871,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1082,7 +1142,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1175,7 +1238,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1273,7 +1339,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1435,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1402,7 +1474,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1484,7 +1559,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1529,7 +1607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1558,7 +1639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1590,7 +1674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1613,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1711,7 +1801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1746,7 +1839,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1828,7 +1924,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1896,7 +1998,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1952,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1967,17 +2075,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2002,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2010,7 +2130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2045,7 +2168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2090,7 +2216,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2146,7 +2275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2161,17 +2293,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2196,7 +2337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2204,7 +2348,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2214,7 +2361,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2224,14 +2374,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2241,7 +2397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2253,7 +2412,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2288,7 +2450,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2299,20 +2464,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2352,11 +2529,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2374,7 +2557,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2432,7 +2618,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2557,15 +2746,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2678,7 +2876,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2723,7 +2924,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2752,7 +2956,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2784,7 +2991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2807,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2905,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2940,7 +3156,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3022,7 +3241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3057,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3315,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3146,7 +3374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3161,17 +3392,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3196,7 +3436,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3204,7 +3447,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3239,7 +3485,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3284,7 +3533,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3340,7 +3592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3355,17 +3610,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3390,7 +3654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3398,7 +3665,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3408,7 +3678,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3418,14 +3691,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3435,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3447,7 +3729,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3482,7 +3767,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3493,20 +3781,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3546,11 +3846,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3568,7 +3874,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3626,7 +3935,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3661,7 +3973,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3671,7 +3986,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3726,21 +4044,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3783,7 +4113,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3829,7 +4162,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3840,7 +4176,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3875,7 +4214,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3915,12 +4257,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3966,7 +4314,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3979,7 +4330,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4016,7 +4370,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4061,7 +4418,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4086,7 +4446,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4108,7 +4471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4127,7 +4493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4136,7 +4505,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4172,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4201,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4235,7 +4613,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4253,12 +4634,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4307,7 +4694,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4317,7 +4707,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4367,7 +4760,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4376,7 +4772,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,7 +4822,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,11 +4858,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4507,7 +4915,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4544,7 +4955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4564,7 +4978,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4602,7 +5019,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4618,7 +5038,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4649,7 +5072,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4668,7 +5094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4708,7 +5137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4737,7 +5169,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4774,7 +5209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5231,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4812,7 +5253,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4842,7 +5286,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4905,7 +5352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4956,7 +5406,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4972,7 +5425,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5006,7 +5462,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5028,7 +5487,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5040,7 +5502,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5063,7 +5528,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5143,7 +5611,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5191,7 +5662,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5216,7 +5690,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5250,7 +5727,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5292,7 +5772,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5354,7 +5837,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5436,7 +5922,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5479,11 +5968,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5570,7 +6065,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5580,14 +6078,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5597,7 +6101,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5648,7 +6155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5699,7 +6209,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5709,7 +6222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5797,7 +6313,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5850,7 +6369,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5862,12 +6384,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5884,7 +6412,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetlist-apps-v1beta1.json b/v1.12.3-standalone/statefulsetlist-apps-v1beta1.json index 1158d273e3..2712eb120e 100644 --- a/v1.12.3-standalone/statefulsetlist-apps-v1beta1.json +++ b/v1.12.3-standalone/statefulsetlist-apps-v1beta1.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -397,12 +421,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -449,7 +479,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -471,7 +504,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -496,7 +532,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -530,7 +569,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -572,7 +614,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -634,7 +679,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -716,7 +764,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -759,11 +810,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -813,7 +870,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1081,7 +1141,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1174,7 +1237,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1272,7 +1338,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1365,7 +1434,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1401,7 +1473,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1483,7 +1558,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1528,7 +1606,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1557,7 +1638,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1589,7 +1673,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1612,7 +1699,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1710,7 +1800,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1745,7 +1838,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1827,7 +1923,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1862,7 +1961,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1895,7 +1997,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1951,7 +2056,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1966,17 +2074,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2001,7 +2118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2009,7 +2129,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2044,7 +2167,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2089,7 +2215,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2145,7 +2274,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2160,17 +2292,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2195,7 +2336,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2203,7 +2347,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2213,7 +2360,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2223,14 +2373,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2240,7 +2396,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2252,7 +2411,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2287,7 +2449,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2298,20 +2463,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2351,11 +2528,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2373,7 +2556,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2431,7 +2617,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2556,15 +2745,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2677,7 +2875,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2722,7 +2923,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2751,7 +2955,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2783,7 +2990,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2806,7 +3016,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2904,7 +3117,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2939,7 +3155,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3021,7 +3240,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3056,7 +3278,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3089,7 +3314,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3145,7 +3373,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3160,17 +3391,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3195,7 +3435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3203,7 +3446,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3238,7 +3484,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3283,7 +3532,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3339,7 +3591,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3354,17 +3609,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3389,7 +3653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3397,7 +3664,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3407,7 +3677,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3417,14 +3690,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3434,7 +3713,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3446,7 +3728,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3481,7 +3766,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3492,20 +3780,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3545,11 +3845,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3567,7 +3873,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3625,7 +3934,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3660,7 +3972,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3670,7 +3985,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3725,21 +4043,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3782,7 +4112,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3828,7 +4161,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3839,7 +4175,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3874,7 +4213,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3914,12 +4256,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3965,7 +4313,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3978,7 +4329,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4015,7 +4369,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4060,7 +4417,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4085,7 +4445,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4107,7 +4470,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4126,7 +4492,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4135,7 +4504,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4171,7 +4543,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4200,7 +4575,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4234,7 +4612,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4252,12 +4633,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4306,7 +4693,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4316,7 +4706,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4366,7 +4759,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4375,7 +4771,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4422,7 +4821,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4455,11 +4857,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4506,7 +4914,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4543,7 +4954,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4563,7 +4977,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4601,7 +5018,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4617,7 +5037,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4648,7 +5071,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4667,7 +5093,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4707,7 +5136,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4736,7 +5168,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4773,7 +5208,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4792,7 +5230,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4811,7 +5252,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4841,7 +5285,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4904,7 +5351,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4955,7 +5405,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4971,7 +5424,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5005,7 +5461,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5027,7 +5486,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5039,7 +5501,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5062,7 +5527,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5142,7 +5610,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5190,7 +5661,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5215,7 +5689,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5249,7 +5726,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5291,7 +5771,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5353,7 +5836,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5435,7 +5921,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5478,11 +5967,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5569,7 +6064,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5579,14 +6077,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5596,7 +6100,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5647,7 +6154,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5698,7 +6208,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5708,7 +6221,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5796,7 +6312,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5849,7 +6368,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5861,12 +6383,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5883,7 +6411,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetlist-apps-v1beta2.json b/v1.12.3-standalone/statefulsetlist-apps-v1beta2.json index 3c2bffb285..2ed598fd09 100644 --- a/v1.12.3-standalone/statefulsetlist-apps-v1beta2.json +++ b/v1.12.3-standalone/statefulsetlist-apps-v1beta2.json @@ -47,7 +47,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -72,7 +75,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -106,7 +112,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -148,7 +157,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -210,7 +222,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -292,7 +307,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -335,11 +353,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -398,12 +422,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -450,7 +480,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -472,7 +505,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -497,7 +533,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -531,7 +570,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -573,7 +615,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -635,7 +680,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -717,7 +765,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -760,11 +811,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -814,7 +871,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1082,7 +1142,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1175,7 +1238,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1273,7 +1339,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1366,7 +1435,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1402,7 +1474,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1484,7 +1559,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1529,7 +1607,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1558,7 +1639,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1590,7 +1674,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1613,7 +1700,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1711,7 +1801,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1746,7 +1839,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1828,7 +1924,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1863,7 +1962,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1896,7 +1998,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1952,7 +2057,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1967,17 +2075,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2002,7 +2119,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2010,7 +2130,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2045,7 +2168,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2090,7 +2216,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2146,7 +2275,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2161,17 +2293,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2196,7 +2337,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2204,7 +2348,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2214,7 +2361,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2224,14 +2374,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2241,7 +2397,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2253,7 +2412,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2288,7 +2450,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2299,20 +2464,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2352,11 +2529,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2374,7 +2557,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2432,7 +2618,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2557,15 +2746,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2678,7 +2876,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2723,7 +2924,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2752,7 +2956,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2784,7 +2991,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2807,7 +3017,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2905,7 +3118,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2940,7 +3156,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3022,7 +3241,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3057,7 +3279,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3090,7 +3315,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3146,7 +3374,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3161,17 +3392,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3196,7 +3436,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3204,7 +3447,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3239,7 +3485,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3284,7 +3533,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3340,7 +3592,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3355,17 +3610,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3390,7 +3654,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3398,7 +3665,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3408,7 +3678,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3418,14 +3691,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3435,7 +3714,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3447,7 +3729,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3482,7 +3767,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3493,20 +3781,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3546,11 +3846,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3568,7 +3874,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3626,7 +3935,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3661,7 +3973,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3671,7 +3986,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3726,21 +4044,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3783,7 +4113,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3829,7 +4162,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3840,7 +4176,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3875,7 +4214,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3915,12 +4257,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3966,7 +4314,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3979,7 +4330,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4016,7 +4370,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4061,7 +4418,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4086,7 +4446,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4108,7 +4471,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4127,7 +4493,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4136,7 +4505,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4172,7 +4544,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4201,7 +4576,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4235,7 +4613,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4253,12 +4634,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4307,7 +4694,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4317,7 +4707,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4367,7 +4760,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4376,7 +4772,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4423,7 +4822,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4456,11 +4858,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4507,7 +4915,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4544,7 +4955,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4564,7 +4978,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4602,7 +5019,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4618,7 +5038,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4649,7 +5072,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4668,7 +5094,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4708,7 +5137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4737,7 +5169,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4774,7 +5209,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4793,7 +5231,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4812,7 +5253,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4842,7 +5286,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4905,7 +5352,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4956,7 +5406,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4972,7 +5425,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -5006,7 +5462,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5028,7 +5487,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5040,7 +5502,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5063,7 +5528,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5143,7 +5611,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5191,7 +5662,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5216,7 +5690,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5250,7 +5727,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5292,7 +5772,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5354,7 +5837,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5436,7 +5922,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5479,11 +5968,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5570,7 +6065,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5580,14 +6078,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5597,7 +6101,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5648,7 +6155,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5699,7 +6209,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5709,7 +6222,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5797,7 +6313,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5850,7 +6369,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5862,12 +6384,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5884,7 +6412,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetlist.json b/v1.12.3-standalone/statefulsetlist.json index a1c73477ef..8223c4e608 100644 --- a/v1.12.3-standalone/statefulsetlist.json +++ b/v1.12.3-standalone/statefulsetlist.json @@ -41,7 +41,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -66,7 +69,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -100,7 +106,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -139,7 +148,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -201,7 +213,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -283,7 +298,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -326,11 +344,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -389,12 +413,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -441,7 +471,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -463,7 +496,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -488,7 +524,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -522,7 +561,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -561,7 +603,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -623,7 +668,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -705,7 +753,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -748,11 +799,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -802,7 +859,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -1070,7 +1130,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1163,7 +1226,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1261,7 +1327,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1354,7 +1423,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1390,7 +1462,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1472,7 +1547,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1517,7 +1595,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1546,7 +1627,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1578,7 +1662,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1601,7 +1688,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1699,7 +1789,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1734,7 +1827,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1816,7 +1912,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1851,7 +1950,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1884,7 +1986,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1940,7 +2045,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1955,17 +2063,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1990,7 +2107,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1998,7 +2118,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2033,7 +2156,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2078,7 +2204,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2134,7 +2263,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2149,17 +2281,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2184,7 +2325,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2192,7 +2336,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2202,7 +2349,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2212,14 +2362,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -2229,7 +2385,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -2241,7 +2400,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -2276,7 +2438,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -2287,20 +2452,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -2340,11 +2517,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -2362,7 +2545,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2420,7 +2606,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2545,15 +2734,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2666,7 +2864,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2711,7 +2912,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2740,7 +2944,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2772,7 +2979,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2795,7 +3005,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2893,7 +3106,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2928,7 +3144,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3010,7 +3229,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3045,7 +3267,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3078,7 +3303,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3134,7 +3362,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3149,17 +3380,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", - "format": "int32" + "type": [ + "integer", + "null" + ], + "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3184,7 +3424,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3192,7 +3435,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3227,7 +3473,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -3272,7 +3521,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -3328,7 +3580,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -3343,17 +3598,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3378,7 +3642,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3386,7 +3653,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3396,7 +3666,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3406,14 +3679,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3423,7 +3702,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3435,7 +3717,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3470,7 +3755,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3481,20 +3769,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3534,11 +3834,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3556,7 +3862,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3614,7 +3923,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3649,7 +3961,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3659,7 +3974,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3714,21 +4032,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3771,7 +4101,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3817,7 +4150,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3828,7 +4164,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3863,7 +4202,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3903,12 +4245,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3954,7 +4302,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3967,7 +4318,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -4004,7 +4358,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -4049,7 +4406,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4074,7 +4434,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4096,7 +4459,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4115,7 +4481,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4124,7 +4493,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4160,7 +4532,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4189,7 +4564,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4223,7 +4601,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -4241,12 +4622,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -4295,7 +4682,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4305,7 +4695,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4355,7 +4748,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -4364,7 +4760,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4411,7 +4810,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4444,11 +4846,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4495,7 +4903,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4532,7 +4943,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4552,7 +4966,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4590,7 +5007,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4606,7 +5026,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4637,7 +5060,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4656,7 +5082,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4696,7 +5125,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4725,7 +5157,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4762,7 +5197,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4781,7 +5219,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4800,7 +5241,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4830,7 +5274,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4893,7 +5340,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4944,7 +5394,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4960,7 +5413,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4994,7 +5450,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -5016,7 +5475,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -5028,7 +5490,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -5051,7 +5516,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -5131,7 +5599,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -5176,7 +5647,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5201,7 +5675,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -5235,7 +5712,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -5274,7 +5754,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -5336,7 +5819,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5418,7 +5904,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5461,11 +5950,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5552,7 +6047,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5562,14 +6060,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5579,7 +6083,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5630,7 +6137,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5681,7 +6191,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5691,7 +6204,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5779,7 +6295,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -5832,7 +6351,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -5844,12 +6366,18 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { @@ -5866,7 +6394,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetspec-apps-v1.json b/v1.12.3-standalone/statefulsetspec-apps-v1.json index f2edfd42c8..bbb3e4e2fc 100644 --- a/v1.12.3-standalone/statefulsetspec-apps-v1.json +++ b/v1.12.3-standalone/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +276,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -337,7 +361,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -380,11 +407,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +467,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -702,7 +738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -795,7 +834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -893,7 +935,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -986,7 +1031,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1022,7 +1070,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1104,7 +1155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1149,7 +1203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1178,7 +1235,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1210,7 +1270,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1233,7 +1296,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1331,7 +1397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1366,7 +1435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1448,7 +1520,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1483,7 +1558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1516,7 +1594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1572,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1587,17 +1671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1622,7 +1715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1630,7 +1726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1665,7 +1764,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1710,7 +1812,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1766,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,17 +1889,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1816,7 +1933,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1824,7 +1944,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1834,7 +1957,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1844,14 +1970,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1861,7 +1993,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +2008,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1908,7 +2046,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1919,20 +2060,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1972,11 +2125,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1994,7 +2153,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2052,7 +2214,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2177,15 +2342,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2298,7 +2472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2343,7 +2520,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2372,7 +2552,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2404,7 +2587,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2427,7 +2613,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2525,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2560,7 +2752,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2642,7 +2837,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2677,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2710,7 +2911,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2766,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2781,17 +2988,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2816,7 +3032,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2824,7 +3043,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2859,7 +3081,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2904,7 +3129,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2960,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2975,17 +3206,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3010,7 +3250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3018,7 +3261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3028,7 +3274,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3038,14 +3287,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3055,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3067,7 +3325,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3102,7 +3363,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3113,20 +3377,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3166,11 +3442,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3188,7 +3470,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3246,7 +3531,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3281,7 +3569,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3291,7 +3582,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3346,21 +3640,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3403,7 +3709,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3449,7 +3758,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3460,7 +3772,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3495,7 +3810,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3535,12 +3853,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3586,7 +3910,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3599,7 +3926,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3636,7 +3966,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3681,7 +4014,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3706,7 +4042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3728,7 +4067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3747,7 +4089,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3756,7 +4101,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3792,7 +4140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3821,7 +4172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3855,7 +4209,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3873,12 +4230,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3927,7 +4290,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3937,7 +4303,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3987,7 +4356,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3996,7 +4368,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4043,7 +4418,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4076,11 +4454,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4164,7 +4551,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4184,7 +4574,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4222,7 +4615,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4238,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4269,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4288,7 +4690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4328,7 +4733,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4357,7 +4765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4394,7 +4805,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4413,7 +4827,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4432,7 +4849,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4462,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4525,7 +4948,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5002,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4592,7 +5021,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4626,7 +5058,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4648,7 +5083,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4660,7 +5098,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4683,7 +5124,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4763,7 +5207,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4811,7 +5258,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4836,7 +5286,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4870,7 +5323,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4912,7 +5368,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4974,7 +5433,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5056,7 +5518,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5099,11 +5564,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5190,7 +5661,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5200,14 +5674,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5217,7 +5697,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5268,7 +5751,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5319,7 +5805,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5329,7 +5818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/statefulsetspec-apps-v1beta1.json b/v1.12.3-standalone/statefulsetspec-apps-v1beta1.json index 6e766ed60d..d3c15405b4 100644 --- a/v1.12.3-standalone/statefulsetspec-apps-v1beta1.json +++ b/v1.12.3-standalone/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -66,7 +72,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -91,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -116,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -150,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -192,7 +210,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -254,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -336,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -379,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -433,7 +466,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -701,7 +737,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -794,7 +833,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -892,7 +934,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -985,7 +1030,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1021,7 +1069,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1103,7 +1154,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1148,7 +1202,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1177,7 +1234,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1209,7 +1269,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1232,7 +1295,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1330,7 +1396,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1365,7 +1434,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1447,7 +1519,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1482,7 +1557,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1515,7 +1593,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1571,7 +1652,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1586,17 +1670,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1621,7 +1714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1629,7 +1725,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1664,7 +1763,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1709,7 +1811,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1765,7 +1870,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1780,17 +1888,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1815,7 +1932,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1823,7 +1943,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1833,7 +1956,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1843,14 +1969,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1860,7 +1992,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1872,7 +2007,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1907,7 +2045,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1918,20 +2059,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1971,11 +2124,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1993,7 +2152,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2051,7 +2213,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2176,15 +2341,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2297,7 +2471,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2342,7 +2519,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2371,7 +2551,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2403,7 +2586,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2426,7 +2612,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2524,7 +2713,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2559,7 +2751,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2641,7 +2836,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2676,7 +2874,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2709,7 +2910,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2765,7 +2969,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2780,17 +2987,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2815,7 +3031,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2823,7 +3042,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2858,7 +3080,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2903,7 +3128,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2959,7 +3187,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2974,17 +3205,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3009,7 +3249,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3017,7 +3260,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3027,7 +3273,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3037,14 +3286,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3054,7 +3309,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3066,7 +3324,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3101,7 +3362,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3112,20 +3376,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3165,11 +3441,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3187,7 +3469,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3245,7 +3530,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3280,7 +3568,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3290,7 +3581,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3345,21 +3639,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3402,7 +3708,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3448,7 +3757,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3459,7 +3771,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3494,7 +3809,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3534,12 +3852,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3585,7 +3909,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3598,7 +3925,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3635,7 +3965,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3680,7 +4013,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3705,7 +4041,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3727,7 +4066,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3746,7 +4088,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3755,7 +4100,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3791,7 +4139,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3820,7 +4171,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3854,7 +4208,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3872,12 +4229,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3926,7 +4289,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3936,7 +4302,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3986,7 +4355,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3995,7 +4367,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4042,7 +4417,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4075,11 +4453,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4126,7 +4510,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4163,7 +4550,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4183,7 +4573,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4221,7 +4614,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4237,7 +4633,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4268,7 +4667,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4287,7 +4689,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4327,7 +4732,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4356,7 +4764,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4393,7 +4804,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4412,7 +4826,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4431,7 +4848,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4461,7 +4881,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4524,7 +4947,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4575,7 +5001,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4591,7 +5020,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4625,7 +5057,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4647,7 +5082,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4659,7 +5097,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4682,7 +5123,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4762,7 +5206,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4810,7 +5257,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4835,7 +5285,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4869,7 +5322,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4911,7 +5367,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4973,7 +5432,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5055,7 +5517,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5098,11 +5563,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5189,7 +5660,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5199,14 +5673,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5216,7 +5696,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5267,7 +5750,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5318,7 +5804,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5328,7 +5817,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/statefulsetspec-apps-v1beta2.json b/v1.12.3-standalone/statefulsetspec-apps-v1beta2.json index f2edfd42c8..bbb3e4e2fc 100644 --- a/v1.12.3-standalone/statefulsetspec-apps-v1beta2.json +++ b/v1.12.3-standalone/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -193,7 +211,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -255,7 +276,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -337,7 +361,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -380,11 +407,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -434,7 +467,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -702,7 +738,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -795,7 +834,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -893,7 +935,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -986,7 +1031,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1022,7 +1070,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1104,7 +1155,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1149,7 +1203,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1178,7 +1235,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1210,7 +1270,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1233,7 +1296,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1331,7 +1397,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1366,7 +1435,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1448,7 +1520,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1483,7 +1558,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1516,7 +1594,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1572,7 +1653,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1587,17 +1671,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1622,7 +1715,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1630,7 +1726,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1665,7 +1764,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1710,7 +1812,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1766,7 +1871,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1781,17 +1889,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1816,7 +1933,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1824,7 +1944,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1834,7 +1957,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1844,14 +1970,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1861,7 +1993,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1873,7 +2008,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1908,7 +2046,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1919,20 +2060,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1972,11 +2125,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1994,7 +2153,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2052,7 +2214,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2177,15 +2342,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2298,7 +2472,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2343,7 +2520,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2372,7 +2552,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2404,7 +2587,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2427,7 +2613,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2525,7 +2714,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2560,7 +2752,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2642,7 +2837,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2677,7 +2875,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2710,7 +2911,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2766,7 +2970,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2781,17 +2988,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2816,7 +3032,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2824,7 +3043,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2859,7 +3081,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2904,7 +3129,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2960,7 +3188,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2975,17 +3206,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3010,7 +3250,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3018,7 +3261,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3028,7 +3274,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3038,14 +3287,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3055,7 +3310,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3067,7 +3325,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3102,7 +3363,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3113,20 +3377,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3166,11 +3442,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3188,7 +3470,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3246,7 +3531,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3281,7 +3569,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3291,7 +3582,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3346,21 +3640,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3403,7 +3709,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3449,7 +3758,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3460,7 +3772,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3495,7 +3810,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3535,12 +3853,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3586,7 +3910,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3599,7 +3926,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3636,7 +3966,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3681,7 +4014,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3706,7 +4042,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3728,7 +4067,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3747,7 +4089,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3756,7 +4101,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3792,7 +4140,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3821,7 +4172,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3855,7 +4209,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3873,12 +4230,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3927,7 +4290,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3937,7 +4303,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3987,7 +4356,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3996,7 +4368,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4043,7 +4418,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4076,11 +4454,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4127,7 +4511,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4164,7 +4551,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4184,7 +4574,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4222,7 +4615,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4238,7 +4634,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4269,7 +4668,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4288,7 +4690,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4328,7 +4733,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4357,7 +4765,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4394,7 +4805,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4413,7 +4827,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4432,7 +4849,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4462,7 +4882,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4525,7 +4948,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4576,7 +5002,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4592,7 +5021,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4626,7 +5058,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4648,7 +5083,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4660,7 +5098,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4683,7 +5124,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4763,7 +5207,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4811,7 +5258,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4836,7 +5286,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4870,7 +5323,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4912,7 +5368,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4974,7 +5433,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5056,7 +5518,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5099,11 +5564,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5190,7 +5661,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5200,14 +5674,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5217,7 +5697,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5268,7 +5751,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5319,7 +5805,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5329,7 +5818,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/statefulsetspec.json b/v1.12.3-standalone/statefulsetspec.json index 0f91e27bfb..e99ff28fa6 100644 --- a/v1.12.3-standalone/statefulsetspec.json +++ b/v1.12.3-standalone/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -67,7 +73,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -92,7 +101,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -117,7 +129,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -151,7 +166,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -190,7 +208,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -252,7 +273,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -334,7 +358,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -377,11 +404,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -431,7 +464,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -699,7 +735,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -792,7 +831,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -890,7 +932,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -983,7 +1028,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -1019,7 +1067,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -1101,7 +1152,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1146,7 +1200,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -1175,7 +1232,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1207,7 +1267,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -1230,7 +1293,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -1328,7 +1394,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1363,7 +1432,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1445,7 +1517,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1480,7 +1555,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1513,7 +1591,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1569,7 +1650,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1584,17 +1668,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1619,7 +1712,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1627,7 +1723,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1662,7 +1761,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -1707,7 +1809,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -1763,7 +1868,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -1778,17 +1886,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -1813,7 +1930,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -1821,7 +1941,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -1831,7 +1954,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1841,14 +1967,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -1858,7 +1990,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -1870,7 +2005,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -1905,7 +2043,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -1916,20 +2057,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -1969,11 +2122,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -1991,7 +2150,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -2049,7 +2211,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -2174,15 +2339,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -2295,7 +2469,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2340,7 +2517,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -2369,7 +2549,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2401,7 +2584,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -2424,7 +2610,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } } @@ -2522,7 +2711,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2557,7 +2749,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2639,7 +2834,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2674,7 +2872,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2707,7 +2908,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2763,7 +2967,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2778,17 +2985,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -2813,7 +3029,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -2821,7 +3040,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -2856,7 +3078,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { @@ -2901,7 +3126,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -2957,7 +3185,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] }, @@ -2972,17 +3203,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -3007,7 +3247,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } @@ -3015,7 +3258,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -3025,7 +3271,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3035,14 +3284,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -3052,7 +3307,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3064,7 +3322,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "Adds and removes POSIX capabilities from running containers.", @@ -3099,7 +3360,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -3110,20 +3374,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3163,11 +3439,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -3185,7 +3467,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", @@ -3243,7 +3528,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", @@ -3278,7 +3566,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3288,7 +3579,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -3343,21 +3637,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -3400,7 +3706,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, @@ -3446,7 +3755,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -3457,7 +3769,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { @@ -3492,7 +3807,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { @@ -3532,12 +3850,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -3583,7 +3907,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3596,7 +3923,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -3633,7 +3963,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -3678,7 +4011,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3703,7 +4039,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3725,7 +4064,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3744,7 +4086,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -3753,7 +4098,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -3789,7 +4137,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -3818,7 +4169,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -3852,7 +4206,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -3870,12 +4227,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -3924,7 +4287,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -3934,7 +4300,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -3984,7 +4353,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -3993,7 +4365,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4040,7 +4415,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4073,11 +4451,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -4124,7 +4508,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4161,7 +4548,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -4181,7 +4571,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4219,7 +4612,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -4235,7 +4631,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -4266,7 +4665,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4285,7 +4687,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4325,7 +4730,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4354,7 +4762,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -4391,7 +4802,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4410,7 +4824,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -4429,7 +4846,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -4459,7 +4879,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -4522,7 +4945,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4573,7 +4999,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4589,7 +5018,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -4623,7 +5055,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -4645,7 +5080,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -4657,7 +5095,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -4680,7 +5121,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -4760,7 +5204,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } @@ -4805,7 +5252,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -4830,7 +5280,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -4864,7 +5317,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -4903,7 +5359,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -4965,7 +5424,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -5047,7 +5509,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5090,11 +5555,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -5181,7 +5652,10 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5191,14 +5665,20 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5208,7 +5688,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -5259,7 +5742,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -5310,7 +5796,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "oneOf": [ { @@ -5320,7 +5809,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } diff --git a/v1.12.3-standalone/statefulsetstatus-apps-v1.json b/v1.12.3-standalone/statefulsetstatus-apps-v1.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.3-standalone/statefulsetstatus-apps-v1.json +++ b/v1.12.3-standalone/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/statefulsetstatus-apps-v1beta1.json b/v1.12.3-standalone/statefulsetstatus-apps-v1beta1.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.3-standalone/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.3-standalone/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/statefulsetstatus-apps-v1beta2.json b/v1.12.3-standalone/statefulsetstatus-apps-v1beta2.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.3-standalone/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.3-standalone/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/statefulsetstatus.json b/v1.12.3-standalone/statefulsetstatus.json index 17e9f00e51..520f185df6 100644 --- a/v1.12.3-standalone/statefulsetstatus.json +++ b/v1.12.3-standalone/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -59,7 +62,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -71,17 +77,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -93,7 +108,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1.json b/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1.json index d0eda64cca..88f48d7eee 100644 --- a/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1.json +++ b/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta1.json b/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta1.json index 4ec16aa272..a42e00f79b 100644 --- a/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta1.json +++ b/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta2.json b/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta2.json index d0eda64cca..88f48d7eee 100644 --- a/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta2.json +++ b/v1.12.3-standalone/statefulsetupdatestrategy-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/statefulsetupdatestrategy.json b/v1.12.3-standalone/statefulsetupdatestrategy.json index d0eda64cca..88f48d7eee 100644 --- a/v1.12.3-standalone/statefulsetupdatestrategy.json +++ b/v1.12.3-standalone/statefulsetupdatestrategy.json @@ -6,7 +6,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } } diff --git a/v1.12.3-standalone/status-meta-v1.json b/v1.12.3-standalone/status-meta-v1.json index b5a74c6a33..e35dc8fef2 100644 --- a/v1.12.3-standalone/status-meta-v1.json +++ b/v1.12.3-standalone/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -75,7 +78,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone/status.json b/v1.12.3-standalone/status.json index b74dcf998b..17b27465d9 100644 --- a/v1.12.3-standalone/status.json +++ b/v1.12.3-standalone/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -72,7 +75,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone/statusdetails-meta-v1.json b/v1.12.3-standalone/statusdetails-meta-v1.json index 4f0f90e682..fb75c656f2 100644 --- a/v1.12.3-standalone/statusdetails-meta-v1.json +++ b/v1.12.3-standalone/statusdetails-meta-v1.json @@ -57,7 +57,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone/statusdetails.json b/v1.12.3-standalone/statusdetails.json index 4f0f90e682..fb75c656f2 100644 --- a/v1.12.3-standalone/statusdetails.json +++ b/v1.12.3-standalone/statusdetails.json @@ -57,7 +57,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3-standalone/storageclass-storage-v1.json b/v1.12.3-standalone/storageclass-storage-v1.json index 77f2463cf9..0bea9d31a3 100644 --- a/v1.12.3-standalone/storageclass-storage-v1.json +++ b/v1.12.3-standalone/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -75,7 +78,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +106,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +143,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -176,7 +188,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -238,7 +253,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -320,7 +338,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -363,11 +384,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -424,7 +451,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/storageclass-storage-v1beta1.json b/v1.12.3-standalone/storageclass-storage-v1beta1.json index e9fedce48b..af40bbf96e 100644 --- a/v1.12.3-standalone/storageclass-storage-v1beta1.json +++ b/v1.12.3-standalone/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -75,7 +78,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -100,7 +106,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -134,7 +143,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -176,7 +188,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -238,7 +253,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -320,7 +338,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -363,11 +384,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -424,7 +451,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/storageclass.json b/v1.12.3-standalone/storageclass.json index 207634648a..2e034b12a2 100644 --- a/v1.12.3-standalone/storageclass.json +++ b/v1.12.3-standalone/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -72,7 +75,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -97,7 +103,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -131,7 +140,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -170,7 +182,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -232,7 +247,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -314,7 +332,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -357,11 +378,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -418,7 +445,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/storageclasslist-storage-v1.json b/v1.12.3-standalone/storageclasslist-storage-v1.json index 7e454e7c73..777bf9b9c6 100644 --- a/v1.12.3-standalone/storageclasslist-storage-v1.json +++ b/v1.12.3-standalone/storageclasslist-storage-v1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -97,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -198,7 +210,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -260,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -342,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -446,7 +473,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/storageclasslist-storage-v1beta1.json b/v1.12.3-standalone/storageclasslist-storage-v1beta1.json index 1f6b2c941d..c9d4a23e6a 100644 --- a/v1.12.3-standalone/storageclasslist-storage-v1beta1.json +++ b/v1.12.3-standalone/storageclasslist-storage-v1beta1.json @@ -28,7 +28,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -97,7 +100,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -122,7 +128,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -156,7 +165,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -198,7 +210,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -260,7 +275,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -342,7 +360,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -385,11 +406,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -446,7 +473,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/storageclasslist.json b/v1.12.3-standalone/storageclasslist.json index 358150ac24..413793d82b 100644 --- a/v1.12.3-standalone/storageclasslist.json +++ b/v1.12.3-standalone/storageclasslist.json @@ -25,7 +25,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -91,7 +94,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -116,7 +122,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -150,7 +159,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -189,7 +201,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -251,7 +266,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -333,7 +351,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -376,11 +397,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -437,7 +464,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/storageospersistentvolumesource-v1.json b/v1.12.3-standalone/storageospersistentvolumesource-v1.json index 52377fc6ee..c94e572fcb 100644 --- a/v1.12.3-standalone/storageospersistentvolumesource-v1.json +++ b/v1.12.3-standalone/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/storageospersistentvolumesource.json b/v1.12.3-standalone/storageospersistentvolumesource.json index 52377fc6ee..c94e572fcb 100644 --- a/v1.12.3-standalone/storageospersistentvolumesource.json +++ b/v1.12.3-standalone/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", diff --git a/v1.12.3-standalone/storageosvolumesource-v1.json b/v1.12.3-standalone/storageosvolumesource-v1.json index 7cafcd72fd..ec921e89e3 100644 --- a/v1.12.3-standalone/storageosvolumesource-v1.json +++ b/v1.12.3-standalone/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/storageosvolumesource.json b/v1.12.3-standalone/storageosvolumesource.json index 7cafcd72fd..ec921e89e3 100644 --- a/v1.12.3-standalone/storageosvolumesource.json +++ b/v1.12.3-standalone/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/subjectaccessreview-authorization-v1.json b/v1.12.3-standalone/subjectaccessreview-authorization-v1.json index 9ea61f8324..62b99ba048 100644 --- a/v1.12.3-standalone/subjectaccessreview-authorization-v1.json +++ b/v1.12.3-standalone/subjectaccessreview-authorization-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/subjectaccessreview-authorization-v1beta1.json b/v1.12.3-standalone/subjectaccessreview-authorization-v1beta1.json index b6c448e026..5900077f5b 100644 --- a/v1.12.3-standalone/subjectaccessreview-authorization-v1beta1.json +++ b/v1.12.3-standalone/subjectaccessreview-authorization-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -368,7 +392,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -496,7 +523,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/subjectaccessreview.json b/v1.12.3-standalone/subjectaccessreview.json index 7c227634bf..6cb03ceb4a 100644 --- a/v1.12.3-standalone/subjectaccessreview.json +++ b/v1.12.3-standalone/subjectaccessreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -362,7 +386,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", @@ -490,7 +517,10 @@ }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1.json b/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1.json index 8470ed7896..d4e5e23564 100644 --- a/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1beta1.json index db9f6cd0fd..b98acb9319 100644 --- a/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.3-standalone/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/subjectaccessreviewspec.json b/v1.12.3-standalone/subjectaccessreviewspec.json index db9f6cd0fd..b98acb9319 100644 --- a/v1.12.3-standalone/subjectaccessreviewspec.json +++ b/v1.12.3-standalone/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1.json b/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1beta1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.3-standalone/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/subjectaccessreviewstatus.json b/v1.12.3-standalone/subjectaccessreviewstatus.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3-standalone/subjectaccessreviewstatus.json +++ b/v1.12.3-standalone/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1.json b/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1.json index b76a9aed1c..a44a79fb7a 100644 --- a/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1beta1.json index b76a9aed1c..a44a79fb7a 100644 --- a/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.3-standalone/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-standalone/subjectrulesreviewstatus.json b/v1.12.3-standalone/subjectrulesreviewstatus.json index b76a9aed1c..a44a79fb7a 100644 --- a/v1.12.3-standalone/subjectrulesreviewstatus.json +++ b/v1.12.3-standalone/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3-standalone/tcpsocketaction-v1.json b/v1.12.3-standalone/tcpsocketaction-v1.json index 7dcf649ff9..4f7a53d195 100644 --- a/v1.12.3-standalone/tcpsocketaction-v1.json +++ b/v1.12.3-standalone/tcpsocketaction-v1.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/tcpsocketaction.json b/v1.12.3-standalone/tcpsocketaction.json index 7dcf649ff9..4f7a53d195 100644 --- a/v1.12.3-standalone/tcpsocketaction.json +++ b/v1.12.3-standalone/tcpsocketaction.json @@ -20,7 +20,10 @@ ] }, { - "type": "integer" + "type": [ + "integer", + "null" + ] } ] } diff --git a/v1.12.3-standalone/tokenreview-authentication-v1.json b/v1.12.3-standalone/tokenreview-authentication-v1.json index 361a465bf9..578c7f6cba 100644 --- a/v1.12.3-standalone/tokenreview-authentication-v1.json +++ b/v1.12.3-standalone/tokenreview-authentication-v1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,7 +404,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -394,7 +421,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/tokenreview-authentication-v1beta1.json b/v1.12.3-standalone/tokenreview-authentication-v1beta1.json index cec207e125..810afed5d9 100644 --- a/v1.12.3-standalone/tokenreview-authentication-v1beta1.json +++ b/v1.12.3-standalone/tokenreview-authentication-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -380,7 +404,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -394,7 +421,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/tokenreview.json b/v1.12.3-standalone/tokenreview.json index a3f48abfcd..508e89e446 100644 --- a/v1.12.3-standalone/tokenreview.json +++ b/v1.12.3-standalone/tokenreview.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -374,7 +398,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -388,7 +415,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/tokenreviewstatus-authentication-v1.json b/v1.12.3-standalone/tokenreviewstatus-authentication-v1.json index c289ed4496..0313129491 100644 --- a/v1.12.3-standalone/tokenreviewstatus-authentication-v1.json +++ b/v1.12.3-standalone/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/tokenreviewstatus-authentication-v1beta1.json b/v1.12.3-standalone/tokenreviewstatus-authentication-v1beta1.json index c289ed4496..0313129491 100644 --- a/v1.12.3-standalone/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.3-standalone/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/tokenreviewstatus.json b/v1.12.3-standalone/tokenreviewstatus.json index c289ed4496..0313129491 100644 --- a/v1.12.3-standalone/tokenreviewstatus.json +++ b/v1.12.3-standalone/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", @@ -17,7 +20,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/toleration-v1.json b/v1.12.3-standalone/toleration-v1.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.3-standalone/toleration-v1.json +++ b/v1.12.3-standalone/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3-standalone/toleration.json b/v1.12.3-standalone/toleration.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.3-standalone/toleration.json +++ b/v1.12.3-standalone/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3-standalone/userinfo-authentication-v1.json b/v1.12.3-standalone/userinfo-authentication-v1.json index c2593de199..10c335b39d 100644 --- a/v1.12.3-standalone/userinfo-authentication-v1.json +++ b/v1.12.3-standalone/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/userinfo-authentication-v1beta1.json b/v1.12.3-standalone/userinfo-authentication-v1beta1.json index c2593de199..10c335b39d 100644 --- a/v1.12.3-standalone/userinfo-authentication-v1beta1.json +++ b/v1.12.3-standalone/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/userinfo.json b/v1.12.3-standalone/userinfo.json index c2593de199..10c335b39d 100644 --- a/v1.12.3-standalone/userinfo.json +++ b/v1.12.3-standalone/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json b/v1.12.3-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json index 65eccbc886..86f83cb5aa 100644 --- a/v1.12.3-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone/validatingwebhookconfiguration-admissionregistration-v1beta1.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -127,7 +136,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -189,7 +201,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -271,7 +286,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -314,11 +332,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -472,7 +496,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/validatingwebhookconfiguration.json b/v1.12.3-standalone/validatingwebhookconfiguration.json index c7f4e144db..a5a24583e4 100644 --- a/v1.12.3-standalone/validatingwebhookconfiguration.json +++ b/v1.12.3-standalone/validatingwebhookconfiguration.json @@ -23,7 +23,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -48,7 +51,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -82,7 +88,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -121,7 +130,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -183,7 +195,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -265,7 +280,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -308,11 +326,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -466,7 +490,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json b/v1.12.3-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json index 6758987175..9d737213be 100644 --- a/v1.12.3-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone/validatingwebhookconfigurationlist-admissionregistration-v1beta1.json @@ -48,7 +48,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -73,7 +76,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -107,7 +113,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -149,7 +158,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -211,7 +223,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -293,7 +308,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -336,11 +354,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -494,7 +518,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/validatingwebhookconfigurationlist.json b/v1.12.3-standalone/validatingwebhookconfigurationlist.json index cd46ceb678..b83e38f613 100644 --- a/v1.12.3-standalone/validatingwebhookconfigurationlist.json +++ b/v1.12.3-standalone/validatingwebhookconfigurationlist.json @@ -42,7 +42,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -67,7 +70,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -101,7 +107,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -140,7 +149,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -202,7 +214,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -284,7 +299,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -327,11 +345,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -485,7 +509,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volume-v1.json b/v1.12.3-standalone/volume-v1.json index 9133104354..8d23b74764 100644 --- a/v1.12.3-standalone/volume-v1.json +++ b/v1.12.3-standalone/volume-v1.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -70,7 +76,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -83,7 +92,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -120,7 +132,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -165,7 +180,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -190,7 +208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -212,7 +233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -231,7 +255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -240,7 +267,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -276,7 +306,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -305,7 +338,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -339,7 +375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -357,12 +396,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -411,7 +456,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -421,7 +469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -471,7 +522,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -480,7 +534,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -527,7 +584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -560,11 +620,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -611,7 +677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -651,7 +720,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -671,7 +743,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -709,7 +784,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -725,7 +803,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -756,7 +837,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -775,7 +859,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -815,7 +902,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -844,7 +934,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -881,7 +974,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -900,7 +996,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -919,7 +1018,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -949,7 +1051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1012,7 +1117,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1063,7 +1171,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1079,7 +1190,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1113,7 +1227,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1135,7 +1252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1147,7 +1267,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1170,7 +1293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/volume.json b/v1.12.3-standalone/volume.json index 9133104354..8d23b74764 100644 --- a/v1.12.3-standalone/volume.json +++ b/v1.12.3-standalone/volume.json @@ -19,12 +19,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", @@ -70,7 +76,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -83,7 +92,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", @@ -120,7 +132,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", @@ -165,7 +180,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -190,7 +208,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -212,7 +233,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -231,7 +255,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -240,7 +267,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -276,7 +306,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -305,7 +338,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -339,7 +375,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] } @@ -357,12 +396,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", @@ -411,7 +456,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -421,7 +469,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -471,7 +522,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -480,7 +534,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -527,7 +584,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -560,11 +620,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -611,7 +677,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -651,7 +720,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", @@ -671,7 +743,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -709,7 +784,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", @@ -725,7 +803,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { @@ -756,7 +837,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -775,7 +859,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -815,7 +902,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -844,7 +934,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -881,7 +974,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -900,7 +996,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -919,7 +1018,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { @@ -949,7 +1051,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", @@ -1012,7 +1117,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1063,7 +1171,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", @@ -1079,7 +1190,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", @@ -1113,7 +1227,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -1135,7 +1252,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -1147,7 +1267,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", @@ -1170,7 +1293,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", diff --git a/v1.12.3-standalone/volumeattachment-storage-v1alpha1.json b/v1.12.3-standalone/volumeattachment-storage-v1alpha1.json index e677c1d85b..af4ae1ac57 100644 --- a/v1.12.3-standalone/volumeattachment-storage-v1alpha1.json +++ b/v1.12.3-standalone/volumeattachment-storage-v1alpha1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +449,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachment-storage-v1beta1.json b/v1.12.3-standalone/volumeattachment-storage-v1beta1.json index b0d8e8dc1d..525eac30c8 100644 --- a/v1.12.3-standalone/volumeattachment-storage-v1beta1.json +++ b/v1.12.3-standalone/volumeattachment-storage-v1beta1.json @@ -29,7 +29,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -54,7 +57,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -88,7 +94,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -130,7 +139,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -192,7 +204,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -274,7 +289,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -317,11 +335,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -425,7 +449,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachment.json b/v1.12.3-standalone/volumeattachment.json index 58cdc88c54..f062ee65ea 100644 --- a/v1.12.3-standalone/volumeattachment.json +++ b/v1.12.3-standalone/volumeattachment.json @@ -26,7 +26,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -51,7 +54,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -85,7 +91,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -124,7 +133,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -186,7 +198,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -268,7 +283,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -311,11 +329,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -419,7 +443,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachmentlist-storage-v1alpha1.json b/v1.12.3-standalone/volumeattachmentlist-storage-v1alpha1.json index 8e8b3e956c..0c3b4bfe72 100644 --- a/v1.12.3-standalone/volumeattachmentlist-storage-v1alpha1.json +++ b/v1.12.3-standalone/volumeattachmentlist-storage-v1alpha1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachmentlist-storage-v1beta1.json b/v1.12.3-standalone/volumeattachmentlist-storage-v1beta1.json index a5c8381464..e8fe680c63 100644 --- a/v1.12.3-standalone/volumeattachmentlist-storage-v1beta1.json +++ b/v1.12.3-standalone/volumeattachmentlist-storage-v1beta1.json @@ -51,7 +51,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -76,7 +79,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -110,7 +116,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -152,7 +161,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -214,7 +226,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -296,7 +311,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -339,11 +357,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -447,7 +471,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachmentlist.json b/v1.12.3-standalone/volumeattachmentlist.json index 8ab8e253b1..7bdec0b8c9 100644 --- a/v1.12.3-standalone/volumeattachmentlist.json +++ b/v1.12.3-standalone/volumeattachmentlist.json @@ -45,7 +45,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -70,7 +73,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -104,7 +110,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -143,7 +152,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { @@ -205,7 +217,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { @@ -287,7 +302,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -330,11 +348,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -438,7 +462,10 @@ }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.3-standalone/volumeattachmentstatus-storage-v1alpha1.json index 2056bd83d2..db8a128a17 100644 --- a/v1.12.3-standalone/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.3-standalone/volumeattachmentstatus-storage-v1alpha1.json @@ -26,11 +26,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachmentstatus-storage-v1beta1.json b/v1.12.3-standalone/volumeattachmentstatus-storage-v1beta1.json index 2056bd83d2..db8a128a17 100644 --- a/v1.12.3-standalone/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.3-standalone/volumeattachmentstatus-storage-v1beta1.json @@ -26,11 +26,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumeattachmentstatus.json b/v1.12.3-standalone/volumeattachmentstatus.json index 2056bd83d2..db8a128a17 100644 --- a/v1.12.3-standalone/volumeattachmentstatus.json +++ b/v1.12.3-standalone/volumeattachmentstatus.json @@ -26,11 +26,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/volumemount-v1.json b/v1.12.3-standalone/volumemount-v1.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.3-standalone/volumemount-v1.json +++ b/v1.12.3-standalone/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone/volumemount.json b/v1.12.3-standalone/volumemount.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.3-standalone/volumemount.json +++ b/v1.12.3-standalone/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3-standalone/volumeprojection-v1.json b/v1.12.3-standalone/volumeprojection-v1.json index 909c835f1d..fcfd350beb 100644 --- a/v1.12.3-standalone/volumeprojection-v1.json +++ b/v1.12.3-standalone/volumeprojection-v1.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -42,7 +45,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -82,7 +88,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -148,7 +160,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -167,7 +182,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -186,7 +204,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone/volumeprojection.json b/v1.12.3-standalone/volumeprojection.json index 909c835f1d..fcfd350beb 100644 --- a/v1.12.3-standalone/volumeprojection.json +++ b/v1.12.3-standalone/volumeprojection.json @@ -23,7 +23,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -42,7 +45,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -82,7 +88,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -111,7 +120,10 @@ ] }, { - "type": "integer" + "type": [ + "number", + "null" + ] } ] }, @@ -148,7 +160,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { @@ -167,7 +182,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } } }, @@ -186,7 +204,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3-standalone/webhook-admissionregistration-v1beta1.json b/v1.12.3-standalone/webhook-admissionregistration-v1beta1.json index f9997a4b49..a530573b84 100644 --- a/v1.12.3-standalone/webhook-admissionregistration-v1beta1.json +++ b/v1.12.3-standalone/webhook-admissionregistration-v1beta1.json @@ -107,7 +107,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/webhook.json b/v1.12.3-standalone/webhook.json index f9997a4b49..a530573b84 100644 --- a/v1.12.3-standalone/webhook.json +++ b/v1.12.3-standalone/webhook.json @@ -107,7 +107,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3-standalone/weightedpodaffinityterm-v1.json b/v1.12.3-standalone/weightedpodaffinityterm-v1.json index 66bfe6947f..283e471d22 100644 --- a/v1.12.3-standalone/weightedpodaffinityterm-v1.json +++ b/v1.12.3-standalone/weightedpodaffinityterm-v1.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -86,7 +89,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3-standalone/weightedpodaffinityterm.json b/v1.12.3-standalone/weightedpodaffinityterm.json index 66bfe6947f..283e471d22 100644 --- a/v1.12.3-standalone/weightedpodaffinityterm.json +++ b/v1.12.3-standalone/weightedpodaffinityterm.json @@ -55,7 +55,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -86,7 +89,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/_definitions.json b/v1.12.3/_definitions.json index a2ff3fbbf0..3109497043 100644 --- a/v1.12.3/_definitions.json +++ b/v1.12.3/_definitions.json @@ -15572,7 +15572,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ] }, diff --git a/v1.12.3/allowedhostpath-extensions-v1beta1.json b/v1.12.3/allowedhostpath-extensions-v1beta1.json index e3a663f0bb..492a7eb2fe 100644 --- a/v1.12.3/allowedhostpath-extensions-v1beta1.json +++ b/v1.12.3/allowedhostpath-extensions-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/allowedhostpath-policy-v1beta1.json b/v1.12.3/allowedhostpath-policy-v1beta1.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.3/allowedhostpath-policy-v1beta1.json +++ b/v1.12.3/allowedhostpath-policy-v1beta1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/allowedhostpath.json b/v1.12.3/allowedhostpath.json index ac67166626..37a67cfd6d 100644 --- a/v1.12.3/allowedhostpath.json +++ b/v1.12.3/allowedhostpath.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/apiresource-meta-v1.json b/v1.12.3/apiresource-meta-v1.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.3/apiresource-meta-v1.json +++ b/v1.12.3/apiresource-meta-v1.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3/apiresource.json b/v1.12.3/apiresource.json index 0ccb3584df..d8a3838e93 100644 --- a/v1.12.3/apiresource.json +++ b/v1.12.3/apiresource.json @@ -44,7 +44,10 @@ }, "namespaced": { "description": "namespaced indicates if a resource is namespaced or not.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "shortNames": { "description": "shortNames is a list of suggested short names of the resource.", diff --git a/v1.12.3/apiservicespec-apiregistration-v1.json b/v1.12.3/apiservicespec-apiregistration-v1.json index dee6225758..e79b87b943 100644 --- a/v1.12.3/apiservicespec-apiregistration-v1.json +++ b/v1.12.3/apiservicespec-apiregistration-v1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/apiservicespec-apiregistration-v1beta1.json b/v1.12.3/apiservicespec-apiregistration-v1beta1.json index 0eef824c4a..695bc6eb7e 100644 --- a/v1.12.3/apiservicespec-apiregistration-v1beta1.json +++ b/v1.12.3/apiservicespec-apiregistration-v1beta1.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/apiservicespec.json b/v1.12.3/apiservicespec.json index 0eef824c4a..695bc6eb7e 100644 --- a/v1.12.3/apiservicespec.json +++ b/v1.12.3/apiservicespec.json @@ -23,12 +23,18 @@ }, "groupPriorityMinimum": { "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "insecureSkipTLSVerify": { "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", @@ -43,7 +49,10 @@ }, "versionPriority": { "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/awselasticblockstorevolumesource-v1.json b/v1.12.3/awselasticblockstorevolumesource-v1.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.3/awselasticblockstorevolumesource-v1.json +++ b/v1.12.3/awselasticblockstorevolumesource-v1.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3/awselasticblockstorevolumesource.json b/v1.12.3/awselasticblockstorevolumesource.json index 33381517ec..179f98fc0b 100644 --- a/v1.12.3/awselasticblockstorevolumesource.json +++ b/v1.12.3/awselasticblockstorevolumesource.json @@ -13,12 +13,18 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", diff --git a/v1.12.3/azurediskvolumesource-v1.json b/v1.12.3/azurediskvolumesource-v1.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.3/azurediskvolumesource-v1.json +++ b/v1.12.3/azurediskvolumesource-v1.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/azurediskvolumesource.json b/v1.12.3/azurediskvolumesource.json index fe49e40c2f..71dc17f6da 100644 --- a/v1.12.3/azurediskvolumesource.json +++ b/v1.12.3/azurediskvolumesource.json @@ -42,7 +42,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/azurefilepersistentvolumesource-v1.json b/v1.12.3/azurefilepersistentvolumesource-v1.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.3/azurefilepersistentvolumesource-v1.json +++ b/v1.12.3/azurefilepersistentvolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3/azurefilepersistentvolumesource.json b/v1.12.3/azurefilepersistentvolumesource.json index 35fdf6a757..dbc1a8bb81 100644 --- a/v1.12.3/azurefilepersistentvolumesource.json +++ b/v1.12.3/azurefilepersistentvolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3/azurefilevolumesource-v1.json b/v1.12.3/azurefilevolumesource-v1.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.3/azurefilevolumesource-v1.json +++ b/v1.12.3/azurefilevolumesource-v1.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3/azurefilevolumesource.json b/v1.12.3/azurefilevolumesource.json index e6d4032db9..396c7ab50f 100644 --- a/v1.12.3/azurefilevolumesource.json +++ b/v1.12.3/azurefilevolumesource.json @@ -7,7 +7,10 @@ "properties": { "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "the name of secret that contains Azure Storage Account Name and Key", diff --git a/v1.12.3/cephfspersistentvolumesource-v1.json b/v1.12.3/cephfspersistentvolumesource-v1.json index a02bc4e601..a0ec499f9b 100644 --- a/v1.12.3/cephfspersistentvolumesource-v1.json +++ b/v1.12.3/cephfspersistentvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3/cephfspersistentvolumesource.json b/v1.12.3/cephfspersistentvolumesource.json index a02bc4e601..a0ec499f9b 100644 --- a/v1.12.3/cephfspersistentvolumesource.json +++ b/v1.12.3/cephfspersistentvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3/cephfsvolumesource-v1.json b/v1.12.3/cephfsvolumesource-v1.json index d901adfc5d..6701dd1782 100644 --- a/v1.12.3/cephfsvolumesource-v1.json +++ b/v1.12.3/cephfsvolumesource-v1.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3/cephfsvolumesource.json b/v1.12.3/cephfsvolumesource.json index d901adfc5d..6701dd1782 100644 --- a/v1.12.3/cephfsvolumesource.json +++ b/v1.12.3/cephfsvolumesource.json @@ -26,7 +26,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretFile": { "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", diff --git a/v1.12.3/certificatesigningrequestspec-certificates-v1beta1.json b/v1.12.3/certificatesigningrequestspec-certificates-v1beta1.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.3/certificatesigningrequestspec-certificates-v1beta1.json +++ b/v1.12.3/certificatesigningrequestspec-certificates-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/certificatesigningrequestspec.json b/v1.12.3/certificatesigningrequestspec.json index bd6ee96a95..ffb8f3a28c 100644 --- a/v1.12.3/certificatesigningrequestspec.json +++ b/v1.12.3/certificatesigningrequestspec.json @@ -6,7 +6,10 @@ "properties": { "extra": { "description": "Extra information about the requesting user. See user.Info interface for details.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/cinderpersistentvolumesource-v1.json b/v1.12.3/cinderpersistentvolumesource-v1.json index a6b86193ea..2ea506d8c3 100644 --- a/v1.12.3/cinderpersistentvolumesource-v1.json +++ b/v1.12.3/cinderpersistentvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3/cinderpersistentvolumesource.json b/v1.12.3/cinderpersistentvolumesource.json index a6b86193ea..2ea506d8c3 100644 --- a/v1.12.3/cinderpersistentvolumesource.json +++ b/v1.12.3/cinderpersistentvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3/cindervolumesource-v1.json b/v1.12.3/cindervolumesource-v1.json index db9c9fc804..f27e63d9cb 100644 --- a/v1.12.3/cindervolumesource-v1.json +++ b/v1.12.3/cindervolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3/cindervolumesource.json b/v1.12.3/cindervolumesource.json index db9c9fc804..f27e63d9cb 100644 --- a/v1.12.3/cindervolumesource.json +++ b/v1.12.3/cindervolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", diff --git a/v1.12.3/clientipconfig-v1.json b/v1.12.3/clientipconfig-v1.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.3/clientipconfig-v1.json +++ b/v1.12.3/clientipconfig-v1.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/clientipconfig.json b/v1.12.3/clientipconfig.json index a9af6b2526..6dc04da6d0 100644 --- a/v1.12.3/clientipconfig.json +++ b/v1.12.3/clientipconfig.json @@ -3,7 +3,10 @@ "properties": { "timeoutSeconds": { "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/configmap-v1.json b/v1.12.3/configmap-v1.json index 752e8c9667..113e91f93b 100644 --- a/v1.12.3/configmap-v1.json +++ b/v1.12.3/configmap-v1.json @@ -13,7 +13,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/configmap.json b/v1.12.3/configmap.json index 8b15990ecb..287a2ad7bb 100644 --- a/v1.12.3/configmap.json +++ b/v1.12.3/configmap.json @@ -10,7 +10,10 @@ }, "binaryData": { "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -21,7 +24,10 @@ }, "data": { "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/configmapenvsource-v1.json b/v1.12.3/configmapenvsource-v1.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.3/configmapenvsource-v1.json +++ b/v1.12.3/configmapenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapenvsource.json b/v1.12.3/configmapenvsource.json index 6eb96b9205..d82da6e000 100644 --- a/v1.12.3/configmapenvsource.json +++ b/v1.12.3/configmapenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the ConfigMap must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapkeyselector-v1.json b/v1.12.3/configmapkeyselector-v1.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.3/configmapkeyselector-v1.json +++ b/v1.12.3/configmapkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapkeyselector.json b/v1.12.3/configmapkeyselector.json index de59bb6096..8e0c0f9db0 100644 --- a/v1.12.3/configmapkeyselector.json +++ b/v1.12.3/configmapkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapprojection-v1.json b/v1.12.3/configmapprojection-v1.json index b25b423d1b..bf176b618b 100644 --- a/v1.12.3/configmapprojection-v1.json +++ b/v1.12.3/configmapprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapprojection.json b/v1.12.3/configmapprojection.json index b25b423d1b..bf176b618b 100644 --- a/v1.12.3/configmapprojection.json +++ b/v1.12.3/configmapprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapvolumesource-v1.json b/v1.12.3/configmapvolumesource-v1.json index 7769e23e0a..4214b64d20 100644 --- a/v1.12.3/configmapvolumesource-v1.json +++ b/v1.12.3/configmapvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/configmapvolumesource.json b/v1.12.3/configmapvolumesource.json index 7769e23e0a..4214b64d20 100644 --- a/v1.12.3/configmapvolumesource.json +++ b/v1.12.3/configmapvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -25,7 +28,10 @@ }, "optional": { "description": "Specify whether the ConfigMap or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/container-v1.json b/v1.12.3/container-v1.json index ecc0b5d02f..88bd04dc73 100644 --- a/v1.12.3/container-v1.json +++ b/v1.12.3/container-v1.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.3/container.json b/v1.12.3/container.json index ecc0b5d02f..88bd04dc73 100644 --- a/v1.12.3/container.json +++ b/v1.12.3/container.json @@ -107,11 +107,17 @@ }, "stdin": { "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "stdinOnce": { "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "terminationMessagePath": { "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", @@ -129,7 +135,10 @@ }, "tty": { "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeDevices": { "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", diff --git a/v1.12.3/containerimage-v1.json b/v1.12.3/containerimage-v1.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.3/containerimage-v1.json +++ b/v1.12.3/containerimage-v1.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/containerimage.json b/v1.12.3/containerimage.json index f1d5119c09..8a939e1f43 100644 --- a/v1.12.3/containerimage.json +++ b/v1.12.3/containerimage.json @@ -19,7 +19,10 @@ }, "sizeBytes": { "description": "The size of the image in bytes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/containerport-v1.json b/v1.12.3/containerport-v1.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.3/containerport-v1.json +++ b/v1.12.3/containerport-v1.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3/containerport.json b/v1.12.3/containerport.json index ad40d907c1..72cbf21b19 100644 --- a/v1.12.3/containerport.json +++ b/v1.12.3/containerport.json @@ -6,7 +6,10 @@ "properties": { "containerPort": { "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "hostIP": { @@ -18,7 +21,10 @@ }, "hostPort": { "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "name": { diff --git a/v1.12.3/containerstateterminated-v1.json b/v1.12.3/containerstateterminated-v1.json index 333dee67dd..d40e435568 100644 --- a/v1.12.3/containerstateterminated-v1.json +++ b/v1.12.3/containerstateterminated-v1.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3/containerstateterminated.json b/v1.12.3/containerstateterminated.json index 333dee67dd..d40e435568 100644 --- a/v1.12.3/containerstateterminated.json +++ b/v1.12.3/containerstateterminated.json @@ -13,7 +13,10 @@ }, "exitCode": { "description": "Exit status from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "finishedAt": { @@ -36,7 +39,10 @@ }, "signal": { "description": "Signal from the last termination of the container", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startedAt": { diff --git a/v1.12.3/containerstatus-v1.json b/v1.12.3/containerstatus-v1.json index b3a6e83890..8b29fcbf07 100644 --- a/v1.12.3/containerstatus-v1.json +++ b/v1.12.3/containerstatus-v1.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.3/containerstatus.json b/v1.12.3/containerstatus.json index b3a6e83890..8b29fcbf07 100644 --- a/v1.12.3/containerstatus.json +++ b/v1.12.3/containerstatus.json @@ -42,11 +42,17 @@ }, "ready": { "description": "Specifies whether the container has passed its readiness probe.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "restartCount": { "description": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "state": { diff --git a/v1.12.3/controllerrevision-apps-v1.json b/v1.12.3/controllerrevision-apps-v1.json index cca713f13d..a160acfc89 100644 --- a/v1.12.3/controllerrevision-apps-v1.json +++ b/v1.12.3/controllerrevision-apps-v1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/controllerrevision-apps-v1beta1.json b/v1.12.3/controllerrevision-apps-v1beta1.json index 3fd9a1e36b..beb50703d1 100644 --- a/v1.12.3/controllerrevision-apps-v1beta1.json +++ b/v1.12.3/controllerrevision-apps-v1beta1.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/controllerrevision-apps-v1beta2.json b/v1.12.3/controllerrevision-apps-v1beta2.json index b15a9e54b1..7397fac603 100644 --- a/v1.12.3/controllerrevision-apps-v1beta2.json +++ b/v1.12.3/controllerrevision-apps-v1beta2.json @@ -34,7 +34,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/controllerrevision.json b/v1.12.3/controllerrevision.json index 237ad2a1e2..20f7b320c0 100644 --- a/v1.12.3/controllerrevision.json +++ b/v1.12.3/controllerrevision.json @@ -31,7 +31,10 @@ }, "revision": { "description": "Revision indicates the revision of the state represented by Data.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/cronjobspec-batch-v1beta1.json b/v1.12.3/cronjobspec-batch-v1beta1.json index f02670e23c..10ca4bee3a 100644 --- a/v1.12.3/cronjobspec-batch-v1beta1.json +++ b/v1.12.3/cronjobspec-batch-v1beta1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/cronjobspec-batch-v2alpha1.json b/v1.12.3/cronjobspec-batch-v2alpha1.json index 03efa1ef69..d094bbe48f 100644 --- a/v1.12.3/cronjobspec-batch-v2alpha1.json +++ b/v1.12.3/cronjobspec-batch-v2alpha1.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/cronjobspec.json b/v1.12.3/cronjobspec.json index 03efa1ef69..d094bbe48f 100644 --- a/v1.12.3/cronjobspec.json +++ b/v1.12.3/cronjobspec.json @@ -14,7 +14,10 @@ }, "failedJobsHistoryLimit": { "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "jobTemplate": { @@ -30,17 +33,26 @@ }, "startingDeadlineSeconds": { "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "successfulJobsHistoryLimit": { "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "suspend": { "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/csipersistentvolumesource-v1.json b/v1.12.3/csipersistentvolumesource-v1.json index 80825c6a44..460a38c48a 100644 --- a/v1.12.3/csipersistentvolumesource-v1.json +++ b/v1.12.3/csipersistentvolumesource-v1.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/csipersistentvolumesource.json b/v1.12.3/csipersistentvolumesource.json index 80825c6a44..460a38c48a 100644 --- a/v1.12.3/csipersistentvolumesource.json +++ b/v1.12.3/csipersistentvolumesource.json @@ -33,11 +33,17 @@ }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeAttributes": { "description": "Attributes of the volume to publish.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/customresourcecolumndefinition-apiextensions-v1beta1.json b/v1.12.3/customresourcecolumndefinition-apiextensions-v1beta1.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.3/customresourcecolumndefinition-apiextensions-v1beta1.json +++ b/v1.12.3/customresourcecolumndefinition-apiextensions-v1beta1.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3/customresourcecolumndefinition.json b/v1.12.3/customresourcecolumndefinition.json index 7c58ec0cb8..e4990646cc 100644 --- a/v1.12.3/customresourcecolumndefinition.json +++ b/v1.12.3/customresourcecolumndefinition.json @@ -36,7 +36,10 @@ }, "priority": { "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "type": { diff --git a/v1.12.3/customresourcedefinitionversion-apiextensions-v1beta1.json b/v1.12.3/customresourcedefinitionversion-apiextensions-v1beta1.json index 374ed744c6..a89101639e 100644 --- a/v1.12.3/customresourcedefinitionversion-apiextensions-v1beta1.json +++ b/v1.12.3/customresourcedefinitionversion-apiextensions-v1beta1.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/customresourcedefinitionversion.json b/v1.12.3/customresourcedefinitionversion.json index 374ed744c6..a89101639e 100644 --- a/v1.12.3/customresourcedefinitionversion.json +++ b/v1.12.3/customresourcedefinitionversion.json @@ -14,11 +14,17 @@ }, "served": { "description": "Served is a flag enabling/disabling this version from being served via REST APIs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storage": { "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/daemonendpoint-v1.json b/v1.12.3/daemonendpoint-v1.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.3/daemonendpoint-v1.json +++ b/v1.12.3/daemonendpoint-v1.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/daemonendpoint.json b/v1.12.3/daemonendpoint.json index fe313da4f8..811b634ab0 100644 --- a/v1.12.3/daemonendpoint.json +++ b/v1.12.3/daemonendpoint.json @@ -6,7 +6,10 @@ "properties": { "Port": { "description": "Port number of the given endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/daemonsetspec-apps-v1.json b/v1.12.3/daemonsetspec-apps-v1.json index 20be10b8eb..d28415bbb4 100644 --- a/v1.12.3/daemonsetspec-apps-v1.json +++ b/v1.12.3/daemonsetspec-apps-v1.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/daemonsetspec-apps-v1beta2.json b/v1.12.3/daemonsetspec-apps-v1beta2.json index aae1b1032d..707ec3c303 100644 --- a/v1.12.3/daemonsetspec-apps-v1beta2.json +++ b/v1.12.3/daemonsetspec-apps-v1beta2.json @@ -7,12 +7,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/daemonsetspec-extensions-v1beta1.json b/v1.12.3/daemonsetspec-extensions-v1beta1.json index 11c8c7b21f..89f85065f9 100644 --- a/v1.12.3/daemonsetspec-extensions-v1beta1.json +++ b/v1.12.3/daemonsetspec-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.3/daemonsetspec.json b/v1.12.3/daemonsetspec.json index 11c8c7b21f..89f85065f9 100644 --- a/v1.12.3/daemonsetspec.json +++ b/v1.12.3/daemonsetspec.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -24,7 +30,10 @@ }, "templateGeneration": { "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updateStrategy": { diff --git a/v1.12.3/daemonsetstatus-apps-v1.json b/v1.12.3/daemonsetstatus-apps-v1.json index 8dbfbcbfa1..2e806c6b36 100644 --- a/v1.12.3/daemonsetstatus-apps-v1.json +++ b/v1.12.3/daemonsetstatus-apps-v1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/daemonsetstatus-apps-v1beta2.json b/v1.12.3/daemonsetstatus-apps-v1beta2.json index 3edcbc5650..ab70a83adc 100644 --- a/v1.12.3/daemonsetstatus-apps-v1beta2.json +++ b/v1.12.3/daemonsetstatus-apps-v1beta2.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/daemonsetstatus-extensions-v1beta1.json b/v1.12.3/daemonsetstatus-extensions-v1beta1.json index 17480f3c91..5f48d395ea 100644 --- a/v1.12.3/daemonsetstatus-extensions-v1beta1.json +++ b/v1.12.3/daemonsetstatus-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/daemonsetstatus.json b/v1.12.3/daemonsetstatus.json index 17480f3c91..5f48d395ea 100644 --- a/v1.12.3/daemonsetstatus.json +++ b/v1.12.3/daemonsetstatus.json @@ -9,7 +9,10 @@ "properties": { "collisionCount": { "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -26,42 +29,66 @@ }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredNumberScheduled": { "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberAvailable": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberMisscheduled": { "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberReady": { "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "numberUnavailable": { "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "The most recent generation observed by the daemon set controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "updatedNumberScheduled": { "description": "The total number of nodes that are running updated daemon pod", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/deleteoptions-meta-v1.json b/v1.12.3/deleteoptions-meta-v1.json index 435e224894..ded134f377 100644 --- a/v1.12.3/deleteoptions-meta-v1.json +++ b/v1.12.3/deleteoptions-meta-v1.json @@ -61,7 +61,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -76,7 +79,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.3/deleteoptions.json b/v1.12.3/deleteoptions.json index a1dd20a232..03954830ed 100644 --- a/v1.12.3/deleteoptions.json +++ b/v1.12.3/deleteoptions.json @@ -23,7 +23,10 @@ }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "kind": { @@ -38,7 +41,10 @@ }, "orphanDependents": { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "preconditions": { "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", diff --git a/v1.12.3/deploymentrollback-apps-v1beta1.json b/v1.12.3/deploymentrollback-apps-v1beta1.json index 92d55aec7f..7b654ced18 100644 --- a/v1.12.3/deploymentrollback-apps-v1beta1.json +++ b/v1.12.3/deploymentrollback-apps-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/deploymentrollback-extensions-v1beta1.json b/v1.12.3/deploymentrollback-extensions-v1beta1.json index 216471b4bb..68879874ba 100644 --- a/v1.12.3/deploymentrollback-extensions-v1beta1.json +++ b/v1.12.3/deploymentrollback-extensions-v1beta1.json @@ -38,7 +38,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/deploymentrollback.json b/v1.12.3/deploymentrollback.json index d97e113a68..33e7caf8bf 100644 --- a/v1.12.3/deploymentrollback.json +++ b/v1.12.3/deploymentrollback.json @@ -35,7 +35,10 @@ }, "updatedAnnotations": { "description": "The annotations to be updated to a deployment", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/deploymentspec-apps-v1.json b/v1.12.3/deploymentspec-apps-v1.json index bad1e6188b..099f2ea552 100644 --- a/v1.12.3/deploymentspec-apps-v1.json +++ b/v1.12.3/deploymentspec-apps-v1.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/deploymentspec-apps-v1beta1.json b/v1.12.3/deploymentspec-apps-v1beta1.json index f48e21d639..c85c3fff28 100644 --- a/v1.12.3/deploymentspec-apps-v1beta1.json +++ b/v1.12.3/deploymentspec-apps-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.3/deploymentspec-apps-v1beta2.json b/v1.12.3/deploymentspec-apps-v1beta2.json index 85182d5904..4f3fb7907c 100644 --- a/v1.12.3/deploymentspec-apps-v1beta2.json +++ b/v1.12.3/deploymentspec-apps-v1beta2.json @@ -7,26 +7,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/deploymentspec-extensions-v1beta1.json b/v1.12.3/deploymentspec-extensions-v1beta1.json index a8c41da1a0..9dcf658143 100644 --- a/v1.12.3/deploymentspec-extensions-v1beta1.json +++ b/v1.12.3/deploymentspec-extensions-v1beta1.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.3/deploymentspec.json b/v1.12.3/deploymentspec.json index a8c41da1a0..9dcf658143 100644 --- a/v1.12.3/deploymentspec.json +++ b/v1.12.3/deploymentspec.json @@ -6,26 +6,41 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "paused": { "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "progressDeadlineSeconds": { "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "rollbackTo": { diff --git a/v1.12.3/deploymentstatus-apps-v1.json b/v1.12.3/deploymentstatus-apps-v1.json index 8b0cb5b141..941d9c48ad 100644 --- a/v1.12.3/deploymentstatus-apps-v1.json +++ b/v1.12.3/deploymentstatus-apps-v1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/deploymentstatus-apps-v1beta1.json b/v1.12.3/deploymentstatus-apps-v1beta1.json index e26f68d3e9..bd1fa48f80 100644 --- a/v1.12.3/deploymentstatus-apps-v1beta1.json +++ b/v1.12.3/deploymentstatus-apps-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/deploymentstatus-apps-v1beta2.json b/v1.12.3/deploymentstatus-apps-v1beta2.json index 5703a78b1e..cc4d583f90 100644 --- a/v1.12.3/deploymentstatus-apps-v1beta2.json +++ b/v1.12.3/deploymentstatus-apps-v1beta2.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/deploymentstatus-extensions-v1beta1.json b/v1.12.3/deploymentstatus-extensions-v1beta1.json index f4805946f5..c6c5a72690 100644 --- a/v1.12.3/deploymentstatus-extensions-v1beta1.json +++ b/v1.12.3/deploymentstatus-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/deploymentstatus.json b/v1.12.3/deploymentstatus.json index f4805946f5..c6c5a72690 100644 --- a/v1.12.3/deploymentstatus.json +++ b/v1.12.3/deploymentstatus.json @@ -3,12 +3,18 @@ "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "collisionCount": { "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -25,27 +31,42 @@ }, "observedGeneration": { "description": "The generation observed by the deployment controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "Total number of ready pods targeted by this deployment.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "unavailableReplicas": { "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updatedReplicas": { "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/downwardapivolumefile-v1.json b/v1.12.3/downwardapivolumefile-v1.json index 09a983a83f..a043f0067d 100644 --- a/v1.12.3/downwardapivolumefile-v1.json +++ b/v1.12.3/downwardapivolumefile-v1.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3/downwardapivolumefile.json b/v1.12.3/downwardapivolumefile.json index 09a983a83f..a043f0067d 100644 --- a/v1.12.3/downwardapivolumefile.json +++ b/v1.12.3/downwardapivolumefile.json @@ -10,7 +10,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3/downwardapivolumesource-v1.json b/v1.12.3/downwardapivolumesource-v1.json index 0135ced10c..57edc22749 100644 --- a/v1.12.3/downwardapivolumesource-v1.json +++ b/v1.12.3/downwardapivolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.3/downwardapivolumesource.json b/v1.12.3/downwardapivolumesource.json index 0135ced10c..57edc22749 100644 --- a/v1.12.3/downwardapivolumesource.json +++ b/v1.12.3/downwardapivolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { diff --git a/v1.12.3/endpointport-v1.json b/v1.12.3/endpointport-v1.json index f972b838b7..07ab862b85 100644 --- a/v1.12.3/endpointport-v1.json +++ b/v1.12.3/endpointport-v1.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3/endpointport.json b/v1.12.3/endpointport.json index f972b838b7..07ab862b85 100644 --- a/v1.12.3/endpointport.json +++ b/v1.12.3/endpointport.json @@ -13,7 +13,10 @@ }, "port": { "description": "The port number of the endpoint.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3/event-events-v1beta1.json b/v1.12.3/event-events-v1beta1.json index 63b4f143a6..972a581229 100644 --- a/v1.12.3/event-events-v1beta1.json +++ b/v1.12.3/event-events-v1beta1.json @@ -23,7 +23,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.3/event-v1.json b/v1.12.3/event-v1.json index 3847a43b59..ef66cb1d46 100644 --- a/v1.12.3/event-v1.json +++ b/v1.12.3/event-v1.json @@ -24,7 +24,10 @@ }, "count": { "description": "The number of times this event has occurred.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "eventTime": { diff --git a/v1.12.3/event.json b/v1.12.3/event.json index 3568841222..bc223dca39 100644 --- a/v1.12.3/event.json +++ b/v1.12.3/event.json @@ -20,7 +20,10 @@ }, "deprecatedCount": { "description": "Deprecated field assuring backward compatibility with core.v1 Event type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "deprecatedFirstTimestamp": { diff --git a/v1.12.3/eventseries-events-v1beta1.json b/v1.12.3/eventseries-events-v1beta1.json index 3598ccc724..f5f3d7ff99 100644 --- a/v1.12.3/eventseries-events-v1beta1.json +++ b/v1.12.3/eventseries-events-v1beta1.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3/eventseries-v1.json b/v1.12.3/eventseries-v1.json index 135d0e6830..45c92d3104 100644 --- a/v1.12.3/eventseries-v1.json +++ b/v1.12.3/eventseries-v1.json @@ -3,7 +3,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3/eventseries.json b/v1.12.3/eventseries.json index 3598ccc724..f5f3d7ff99 100644 --- a/v1.12.3/eventseries.json +++ b/v1.12.3/eventseries.json @@ -8,7 +8,10 @@ "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastObservedTime": { diff --git a/v1.12.3/fcvolumesource-v1.json b/v1.12.3/fcvolumesource-v1.json index f956dfb4a6..018067f431 100644 --- a/v1.12.3/fcvolumesource-v1.json +++ b/v1.12.3/fcvolumesource-v1.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3/fcvolumesource.json b/v1.12.3/fcvolumesource.json index f956dfb4a6..018067f431 100644 --- a/v1.12.3/fcvolumesource.json +++ b/v1.12.3/fcvolumesource.json @@ -10,12 +10,18 @@ }, "lun": { "description": "Optional: FC target lun number", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "targetWWNs": { "description": "Optional: FC target worldwide names (WWNs)", diff --git a/v1.12.3/flexpersistentvolumesource-v1.json b/v1.12.3/flexpersistentvolumesource-v1.json index 5c091cc74d..fc575f1ab5 100644 --- a/v1.12.3/flexpersistentvolumesource-v1.json +++ b/v1.12.3/flexpersistentvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3/flexpersistentvolumesource.json b/v1.12.3/flexpersistentvolumesource.json index 5c091cc74d..fc575f1ab5 100644 --- a/v1.12.3/flexpersistentvolumesource.json +++ b/v1.12.3/flexpersistentvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3/flexvolumesource-v1.json b/v1.12.3/flexvolumesource-v1.json index 110585c38f..4c45f71d4c 100644 --- a/v1.12.3/flexvolumesource-v1.json +++ b/v1.12.3/flexvolumesource-v1.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3/flexvolumesource.json b/v1.12.3/flexvolumesource.json index 110585c38f..4c45f71d4c 100644 --- a/v1.12.3/flexvolumesource.json +++ b/v1.12.3/flexvolumesource.json @@ -20,7 +20,10 @@ }, "options": { "description": "Optional: Extra command options if any.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -30,7 +33,10 @@ }, "readOnly": { "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", diff --git a/v1.12.3/gcepersistentdiskvolumesource-v1.json b/v1.12.3/gcepersistentdiskvolumesource-v1.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.3/gcepersistentdiskvolumesource-v1.json +++ b/v1.12.3/gcepersistentdiskvolumesource-v1.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/gcepersistentdiskvolumesource.json b/v1.12.3/gcepersistentdiskvolumesource.json index a51bd32eff..2b9ba0f623 100644 --- a/v1.12.3/gcepersistentdiskvolumesource.json +++ b/v1.12.3/gcepersistentdiskvolumesource.json @@ -13,7 +13,10 @@ }, "partition": { "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "pdName": { @@ -25,7 +28,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/glusterfsvolumesource-v1.json b/v1.12.3/glusterfsvolumesource-v1.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.3/glusterfsvolumesource-v1.json +++ b/v1.12.3/glusterfsvolumesource-v1.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/glusterfsvolumesource.json b/v1.12.3/glusterfsvolumesource.json index ad72516ffb..66f2451aa0 100644 --- a/v1.12.3/glusterfsvolumesource.json +++ b/v1.12.3/glusterfsvolumesource.json @@ -21,7 +21,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/horizontalpodautoscalerspec-autoscaling-v1.json b/v1.12.3/horizontalpodautoscalerspec-autoscaling-v1.json index 6cd0390d83..5f978da2f9 100644 --- a/v1.12.3/horizontalpodautoscalerspec-autoscaling-v1.json +++ b/v1.12.3/horizontalpodautoscalerspec-autoscaling-v1.json @@ -7,12 +7,18 @@ "properties": { "maxReplicas": { "description": "upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "minReplicas": { "description": "lower limit for the number of pods that can be set by the autoscaler, default 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { @@ -21,7 +27,10 @@ }, "targetCPUUtilizationPercentage": { "description": "target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta1.json b/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta1.json index 0d40edcfac..64874e92f2 100644 --- a/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta1.json +++ b/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta2.json b/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta2.json index bc0f566033..199e34e928 100644 --- a/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta2.json +++ b/v1.12.3/horizontalpodautoscalerspec-autoscaling-v2beta2.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3/horizontalpodautoscalerspec.json b/v1.12.3/horizontalpodautoscalerspec.json index bc0f566033..199e34e928 100644 --- a/v1.12.3/horizontalpodautoscalerspec.json +++ b/v1.12.3/horizontalpodautoscalerspec.json @@ -7,7 +7,10 @@ "properties": { "maxReplicas": { "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "metrics": { @@ -22,7 +25,10 @@ }, "minReplicas": { "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "scaleTargetRef": { diff --git a/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v1.json b/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v1.json index f9c9c90dae..a29aac0cb7 100644 --- a/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v1.json +++ b/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v1.json @@ -7,17 +7,26 @@ "properties": { "currentCPUUtilizationPercentage": { "description": "current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentReplicas": { "description": "current number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desired number of replicas of pods managed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -26,7 +35,10 @@ }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta1.json b/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta1.json index b8ba8b24e2..d1d7b951a6 100644 --- a/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta1.json +++ b/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta1.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta2.json b/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta2.json index 385c908506..10bd897f35 100644 --- a/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta2.json +++ b/v1.12.3/horizontalpodautoscalerstatus-autoscaling-v2beta2.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/horizontalpodautoscalerstatus.json b/v1.12.3/horizontalpodautoscalerstatus.json index 385c908506..10bd897f35 100644 --- a/v1.12.3/horizontalpodautoscalerstatus.json +++ b/v1.12.3/horizontalpodautoscalerstatus.json @@ -28,12 +28,18 @@ }, "currentReplicas": { "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredReplicas": { "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "lastScaleTime": { @@ -42,7 +48,10 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed by this autoscaler.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/hostportrange-extensions-v1beta1.json b/v1.12.3/hostportrange-extensions-v1beta1.json index 626d06d2ad..25785003e9 100644 --- a/v1.12.3/hostportrange-extensions-v1beta1.json +++ b/v1.12.3/hostportrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/hostportrange-policy-v1beta1.json b/v1.12.3/hostportrange-policy-v1beta1.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.3/hostportrange-policy-v1beta1.json +++ b/v1.12.3/hostportrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/hostportrange.json b/v1.12.3/hostportrange.json index 6adcc19cdb..a4e712c703 100644 --- a/v1.12.3/hostportrange.json +++ b/v1.12.3/hostportrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/idrange-extensions-v1beta1.json b/v1.12.3/idrange-extensions-v1beta1.json index a3a41068ce..e0a7a3debf 100644 --- a/v1.12.3/idrange-extensions-v1beta1.json +++ b/v1.12.3/idrange-extensions-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/idrange-policy-v1beta1.json b/v1.12.3/idrange-policy-v1beta1.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.3/idrange-policy-v1beta1.json +++ b/v1.12.3/idrange-policy-v1beta1.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/idrange.json b/v1.12.3/idrange.json index d9d3560bc6..3bb665f5fb 100644 --- a/v1.12.3/idrange.json +++ b/v1.12.3/idrange.json @@ -7,12 +7,18 @@ "properties": { "max": { "description": "max is the end of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "min": { "description": "min is the start of the range, inclusive.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/iscsipersistentvolumesource-v1.json b/v1.12.3/iscsipersistentvolumesource-v1.json index 36d225c3c8..0b2a3ba6d1 100644 --- a/v1.12.3/iscsipersistentvolumesource-v1.json +++ b/v1.12.3/iscsipersistentvolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3/iscsipersistentvolumesource.json b/v1.12.3/iscsipersistentvolumesource.json index 36d225c3c8..0b2a3ba6d1 100644 --- a/v1.12.3/iscsipersistentvolumesource.json +++ b/v1.12.3/iscsipersistentvolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3/iscsivolumesource-v1.json b/v1.12.3/iscsivolumesource-v1.json index 21edde594a..5e2848c3ab 100644 --- a/v1.12.3/iscsivolumesource-v1.json +++ b/v1.12.3/iscsivolumesource-v1.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3/iscsivolumesource.json b/v1.12.3/iscsivolumesource.json index 21edde594a..5e2848c3ab 100644 --- a/v1.12.3/iscsivolumesource.json +++ b/v1.12.3/iscsivolumesource.json @@ -8,11 +8,17 @@ "properties": { "chapAuthDiscovery": { "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "chapAuthSession": { "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "fsType": { "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", @@ -44,7 +50,10 @@ }, "lun": { "description": "iSCSI Target Lun number.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "portals": { @@ -62,7 +71,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "CHAP Secret for iSCSI target and initiator authentication", diff --git a/v1.12.3/jobspec-batch-v1.json b/v1.12.3/jobspec-batch-v1.json index 5b03de0a63..8cbd96e3f8 100644 --- a/v1.12.3/jobspec-batch-v1.json +++ b/v1.12.3/jobspec-batch-v1.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/jobspec.json b/v1.12.3/jobspec.json index 5b03de0a63..8cbd96e3f8 100644 --- a/v1.12.3/jobspec.json +++ b/v1.12.3/jobspec.json @@ -6,26 +6,41 @@ "properties": { "activeDeadlineSeconds": { "description": "Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "backoffLimit": { "description": "Specifies the number of retries before marking this job failed. Defaults to 6", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completions": { "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "manualSelector": { "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "parallelism": { "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { @@ -38,7 +53,10 @@ }, "ttlSecondsAfterFinished": { "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/jobstatus-batch-v1.json b/v1.12.3/jobstatus-batch-v1.json index 8783f15ebc..943f844175 100644 --- a/v1.12.3/jobstatus-batch-v1.json +++ b/v1.12.3/jobstatus-batch-v1.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/jobstatus.json b/v1.12.3/jobstatus.json index 8783f15ebc..943f844175 100644 --- a/v1.12.3/jobstatus.json +++ b/v1.12.3/jobstatus.json @@ -3,7 +3,10 @@ "properties": { "active": { "description": "The number of actively running pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "completionTime": { @@ -24,7 +27,10 @@ }, "failed": { "description": "The number of pods which reached phase Failed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "startTime": { @@ -33,7 +39,10 @@ }, "succeeded": { "description": "The number of pods which reached phase Succeeded.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/jsonschemaprops-apiextensions-v1beta1.json b/v1.12.3/jsonschemaprops-apiextensions-v1beta1.json index da543b3980..619619b1b6 100644 --- a/v1.12.3/jsonschemaprops-apiextensions-v1beta1.json +++ b/v1.12.3/jsonschemaprops-apiextensions-v1beta1.json @@ -41,13 +41,19 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/jsonschemaprops.json b/v1.12.3/jsonschemaprops.json index da543b3980..619619b1b6 100644 --- a/v1.12.3/jsonschemaprops.json +++ b/v1.12.3/jsonschemaprops.json @@ -41,13 +41,19 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "definitions": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "dependencies": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrStringArray" } @@ -71,10 +77,16 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSON" }, "exclusiveMaximum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "exclusiveMinimum": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "externalDocs": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" @@ -95,39 +107,66 @@ "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaPropsOrArray" }, "maxItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maxProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "maximum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "minItems": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minLength": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minProperties": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "minimum": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "multipleOf": { - "type": "number", + "type": [ + "number", + "null" + ], "format": "double" }, "not": { @@ -149,13 +188,19 @@ ] }, "patternProperties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } }, "properties": { - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps" } @@ -182,7 +227,10 @@ ] }, "uniqueItems": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/keytopath-v1.json b/v1.12.3/keytopath-v1.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.3/keytopath-v1.json +++ b/v1.12.3/keytopath-v1.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3/keytopath.json b/v1.12.3/keytopath.json index 7c6cdd288a..882004ab6f 100644 --- a/v1.12.3/keytopath.json +++ b/v1.12.3/keytopath.json @@ -14,7 +14,10 @@ }, "mode": { "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "path": { diff --git a/v1.12.3/labelselector-meta-v1.json b/v1.12.3/labelselector-meta-v1.json index 4d2d4746ce..ad17789ae0 100644 --- a/v1.12.3/labelselector-meta-v1.json +++ b/v1.12.3/labelselector-meta-v1.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/labelselector.json b/v1.12.3/labelselector.json index 4d2d4746ce..ad17789ae0 100644 --- a/v1.12.3/labelselector.json +++ b/v1.12.3/labelselector.json @@ -13,7 +13,10 @@ }, "matchLabels": { "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/leasespec-coordination-v1beta1.json b/v1.12.3/leasespec-coordination-v1beta1.json index 9a1c1dcd6d..74d202cd3b 100644 --- a/v1.12.3/leasespec-coordination-v1beta1.json +++ b/v1.12.3/leasespec-coordination-v1beta1.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3/leasespec.json b/v1.12.3/leasespec.json index 9a1c1dcd6d..74d202cd3b 100644 --- a/v1.12.3/leasespec.json +++ b/v1.12.3/leasespec.json @@ -14,12 +14,18 @@ }, "leaseDurationSeconds": { "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "leaseTransitions": { "description": "leaseTransitions is the number of transitions of a lease between holders.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "renewTime": { diff --git a/v1.12.3/limitrangeitem-v1.json b/v1.12.3/limitrangeitem-v1.json index bb8a28a593..08d74f2e2e 100644 --- a/v1.12.3/limitrangeitem-v1.json +++ b/v1.12.3/limitrangeitem-v1.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/limitrangeitem.json b/v1.12.3/limitrangeitem.json index bb8a28a593..08d74f2e2e 100644 --- a/v1.12.3/limitrangeitem.json +++ b/v1.12.3/limitrangeitem.json @@ -3,35 +3,50 @@ "properties": { "default": { "description": "Default resource requirement limit value by resource name if resource limit is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "defaultRequest": { "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "max": { "description": "Max usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "maxLimitRequestRatio": { "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "min": { "description": "Min usage constraints on this kind by resource name.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/metrictarget-autoscaling-v2beta2.json b/v1.12.3/metrictarget-autoscaling-v2beta2.json index 1c74701aea..d99852b424 100644 --- a/v1.12.3/metrictarget-autoscaling-v2beta2.json +++ b/v1.12.3/metrictarget-autoscaling-v2beta2.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3/metrictarget.json b/v1.12.3/metrictarget.json index 1c74701aea..d99852b424 100644 --- a/v1.12.3/metrictarget.json +++ b/v1.12.3/metrictarget.json @@ -6,7 +6,10 @@ "properties": { "averageUtilization": { "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3/metricvaluestatus-autoscaling-v2beta2.json b/v1.12.3/metricvaluestatus-autoscaling-v2beta2.json index 365fc4343e..30243de2ef 100644 --- a/v1.12.3/metricvaluestatus-autoscaling-v2beta2.json +++ b/v1.12.3/metricvaluestatus-autoscaling-v2beta2.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3/metricvaluestatus.json b/v1.12.3/metricvaluestatus.json index 365fc4343e..30243de2ef 100644 --- a/v1.12.3/metricvaluestatus.json +++ b/v1.12.3/metricvaluestatus.json @@ -3,7 +3,10 @@ "properties": { "averageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "averageValue": { diff --git a/v1.12.3/nfsvolumesource-v1.json b/v1.12.3/nfsvolumesource-v1.json index b3e166d6ee..122d722664 100644 --- a/v1.12.3/nfsvolumesource-v1.json +++ b/v1.12.3/nfsvolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3/nfsvolumesource.json b/v1.12.3/nfsvolumesource.json index b3e166d6ee..122d722664 100644 --- a/v1.12.3/nfsvolumesource.json +++ b/v1.12.3/nfsvolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "server": { "description": "Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", diff --git a/v1.12.3/nodespec-v1.json b/v1.12.3/nodespec-v1.json index fcdc4667ff..dd3c218741 100644 --- a/v1.12.3/nodespec-v1.json +++ b/v1.12.3/nodespec-v1.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/nodespec.json b/v1.12.3/nodespec.json index fcdc4667ff..dd3c218741 100644 --- a/v1.12.3/nodespec.json +++ b/v1.12.3/nodespec.json @@ -38,7 +38,10 @@ }, "unschedulable": { "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/nodestatus-v1.json b/v1.12.3/nodestatus-v1.json index 77120872fb..bb76a33c3b 100644 --- a/v1.12.3/nodestatus-v1.json +++ b/v1.12.3/nodestatus-v1.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/nodestatus.json b/v1.12.3/nodestatus.json index 77120872fb..bb76a33c3b 100644 --- a/v1.12.3/nodestatus.json +++ b/v1.12.3/nodestatus.json @@ -15,14 +15,20 @@ }, "allocatable": { "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "capacity": { "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/objectmeta-meta-v1.json b/v1.12.3/objectmeta-meta-v1.json index 293bd4d06a..3e4d715c23 100644 --- a/v1.12.3/objectmeta-meta-v1.json +++ b/v1.12.3/objectmeta-meta-v1.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/objectmeta.json b/v1.12.3/objectmeta.json index 293bd4d06a..3e4d715c23 100644 --- a/v1.12.3/objectmeta.json +++ b/v1.12.3/objectmeta.json @@ -3,7 +3,10 @@ "properties": { "annotations": { "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -24,7 +27,10 @@ }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "deletionTimestamp": { @@ -54,7 +60,10 @@ }, "generation": { "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "initializers": { @@ -63,7 +72,10 @@ }, "labels": { "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/ownerreference-meta-v1.json b/v1.12.3/ownerreference-meta-v1.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.3/ownerreference-meta-v1.json +++ b/v1.12.3/ownerreference-meta-v1.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3/ownerreference.json b/v1.12.3/ownerreference.json index 0cd3dcec75..a56164822d 100644 --- a/v1.12.3/ownerreference.json +++ b/v1.12.3/ownerreference.json @@ -16,11 +16,17 @@ }, "blockOwnerDeletion": { "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "controller": { "description": "If true, this reference points to the managing controller.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", diff --git a/v1.12.3/persistentvolumeclaimstatus-v1.json b/v1.12.3/persistentvolumeclaimstatus-v1.json index 7931bbd6cb..a78e7e6878 100644 --- a/v1.12.3/persistentvolumeclaimstatus-v1.json +++ b/v1.12.3/persistentvolumeclaimstatus-v1.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/persistentvolumeclaimstatus.json b/v1.12.3/persistentvolumeclaimstatus.json index 7931bbd6cb..a78e7e6878 100644 --- a/v1.12.3/persistentvolumeclaimstatus.json +++ b/v1.12.3/persistentvolumeclaimstatus.json @@ -16,7 +16,10 @@ }, "capacity": { "description": "Represents the actual resources of the underlying volume.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/persistentvolumeclaimvolumesource-v1.json b/v1.12.3/persistentvolumeclaimvolumesource-v1.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.3/persistentvolumeclaimvolumesource-v1.json +++ b/v1.12.3/persistentvolumeclaimvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/persistentvolumeclaimvolumesource.json b/v1.12.3/persistentvolumeclaimvolumesource.json index 61cf2db01a..f20545219f 100644 --- a/v1.12.3/persistentvolumeclaimvolumesource.json +++ b/v1.12.3/persistentvolumeclaimvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/persistentvolumespec-v1.json b/v1.12.3/persistentvolumespec-v1.json index 9dacb1bd6c..ef5b2fe484 100644 --- a/v1.12.3/persistentvolumespec-v1.json +++ b/v1.12.3/persistentvolumespec-v1.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/persistentvolumespec.json b/v1.12.3/persistentvolumespec.json index 9dacb1bd6c..ef5b2fe484 100644 --- a/v1.12.3/persistentvolumespec.json +++ b/v1.12.3/persistentvolumespec.json @@ -28,7 +28,10 @@ }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/poddisruptionbudgetstatus-policy-v1beta1.json b/v1.12.3/poddisruptionbudgetstatus-policy-v1beta1.json index 31c56f4188..352332fddc 100644 --- a/v1.12.3/poddisruptionbudgetstatus-policy-v1beta1.json +++ b/v1.12.3/poddisruptionbudgetstatus-policy-v1beta1.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/poddisruptionbudgetstatus.json b/v1.12.3/poddisruptionbudgetstatus.json index 31c56f4188..352332fddc 100644 --- a/v1.12.3/poddisruptionbudgetstatus.json +++ b/v1.12.3/poddisruptionbudgetstatus.json @@ -9,34 +9,52 @@ "properties": { "currentHealthy": { "description": "current number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "desiredHealthy": { "description": "minimum desired number of healthy pods", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "disruptedPods": { "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" } }, "disruptionsAllowed": { "description": "Number of pod disruptions that are currently allowed.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "expectedPods": { "description": "total number of pods counted by this disruption budget", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/podsecuritycontext-v1.json b/v1.12.3/podsecuritycontext-v1.json index 27d7d12c63..e36bc928d8 100644 --- a/v1.12.3/podsecuritycontext-v1.json +++ b/v1.12.3/podsecuritycontext-v1.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/podsecuritycontext.json b/v1.12.3/podsecuritycontext.json index 27d7d12c63..e36bc928d8 100644 --- a/v1.12.3/podsecuritycontext.json +++ b/v1.12.3/podsecuritycontext.json @@ -3,21 +3,33 @@ "properties": { "fsGroup": { "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { @@ -31,7 +43,10 @@ "null" ], "items": { - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/podsecuritypolicyspec-extensions-v1beta1.json b/v1.12.3/podsecuritypolicyspec-extensions-v1beta1.json index 4b949ec134..376ec9836f 100644 --- a/v1.12.3/podsecuritypolicyspec-extensions-v1beta1.json +++ b/v1.12.3/podsecuritypolicyspec-extensions-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3/podsecuritypolicyspec-policy-v1beta1.json b/v1.12.3/podsecuritypolicyspec-policy-v1beta1.json index d2ca6eb9da..f2e50b164a 100644 --- a/v1.12.3/podsecuritypolicyspec-policy-v1beta1.json +++ b/v1.12.3/podsecuritypolicyspec-policy-v1beta1.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3/podsecuritypolicyspec.json b/v1.12.3/podsecuritypolicyspec.json index d2ca6eb9da..f2e50b164a 100644 --- a/v1.12.3/podsecuritypolicyspec.json +++ b/v1.12.3/podsecuritypolicyspec.json @@ -9,7 +9,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedCapabilities": { "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", @@ -85,7 +88,10 @@ }, "defaultAllowPrivilegeEscalation": { "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "forbiddenSysctls": { "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", @@ -106,15 +112,24 @@ }, "hostIPC": { "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPorts": { "description": "hostPorts determines which host port ranges are allowed to be exposed.", @@ -128,11 +143,17 @@ }, "privileged": { "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "readOnlyRootFilesystem": { "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "requiredDropCapabilities": { "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", diff --git a/v1.12.3/podspec-v1.json b/v1.12.3/podspec-v1.json index b494972989..900c17e34a 100644 --- a/v1.12.3/podspec-v1.json +++ b/v1.12.3/podspec-v1.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.3/podspec.json b/v1.12.3/podspec.json index b494972989..900c17e34a 100644 --- a/v1.12.3/podspec.json +++ b/v1.12.3/podspec.json @@ -6,7 +6,10 @@ "properties": { "activeDeadlineSeconds": { "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "affinity": { @@ -15,7 +18,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "containers": { "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", @@ -54,15 +60,24 @@ }, "hostIPC": { "description": "Use the host's ipc namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostNetwork": { "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostPID": { "description": "Use the host's pid namespace. Optional: Default to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "hostname": { "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", @@ -104,7 +119,10 @@ }, "nodeSelector": { "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -114,7 +132,10 @@ }, "priority": { "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "priorityClassName": { @@ -175,7 +196,10 @@ }, "shareProcessNamespace": { "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", @@ -186,7 +210,10 @@ }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "tolerations": { diff --git a/v1.12.3/portworxvolumesource-v1.json b/v1.12.3/portworxvolumesource-v1.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.3/portworxvolumesource-v1.json +++ b/v1.12.3/portworxvolumesource-v1.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3/portworxvolumesource.json b/v1.12.3/portworxvolumesource.json index 3bf22fc061..b945ec19d1 100644 --- a/v1.12.3/portworxvolumesource.json +++ b/v1.12.3/portworxvolumesource.json @@ -13,7 +13,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "volumeID": { "description": "VolumeID uniquely identifies a Portworx volume", diff --git a/v1.12.3/preferredschedulingterm-v1.json b/v1.12.3/preferredschedulingterm-v1.json index 0163601237..bec89939a2 100644 --- a/v1.12.3/preferredschedulingterm-v1.json +++ b/v1.12.3/preferredschedulingterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/preferredschedulingterm.json b/v1.12.3/preferredschedulingterm.json index 0163601237..bec89939a2 100644 --- a/v1.12.3/preferredschedulingterm.json +++ b/v1.12.3/preferredschedulingterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/priorityclass-scheduling-v1alpha1.json b/v1.12.3/priorityclass-scheduling-v1alpha1.json index bd01f429e3..5b1f9b39d4 100644 --- a/v1.12.3/priorityclass-scheduling-v1alpha1.json +++ b/v1.12.3/priorityclass-scheduling-v1alpha1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/priorityclass-scheduling-v1beta1.json b/v1.12.3/priorityclass-scheduling-v1beta1.json index 29bcd4a0d3..d3dbf36693 100644 --- a/v1.12.3/priorityclass-scheduling-v1beta1.json +++ b/v1.12.3/priorityclass-scheduling-v1beta1.json @@ -23,7 +23,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -41,7 +44,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/priorityclass.json b/v1.12.3/priorityclass.json index 0919f30f5a..0d95ee7388 100644 --- a/v1.12.3/priorityclass.json +++ b/v1.12.3/priorityclass.json @@ -20,7 +20,10 @@ }, "globalDefault": { "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", @@ -38,7 +41,10 @@ }, "value": { "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/probe-v1.json b/v1.12.3/probe-v1.json index f1b2b0204a..6855fe5208 100644 --- a/v1.12.3/probe-v1.json +++ b/v1.12.3/probe-v1.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/probe.json b/v1.12.3/probe.json index f1b2b0204a..6855fe5208 100644 --- a/v1.12.3/probe.json +++ b/v1.12.3/probe.json @@ -7,7 +7,10 @@ }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "httpGet": { @@ -16,17 +19,26 @@ }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "successThreshold": { "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "tcpSocket": { @@ -35,7 +47,10 @@ }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/projectedvolumesource-v1.json b/v1.12.3/projectedvolumesource-v1.json index b9ef42a005..44ce7a08e3 100644 --- a/v1.12.3/projectedvolumesource-v1.json +++ b/v1.12.3/projectedvolumesource-v1.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.3/projectedvolumesource.json b/v1.12.3/projectedvolumesource.json index b9ef42a005..44ce7a08e3 100644 --- a/v1.12.3/projectedvolumesource.json +++ b/v1.12.3/projectedvolumesource.json @@ -6,7 +6,10 @@ "properties": { "defaultMode": { "description": "Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "sources": { diff --git a/v1.12.3/quantity-resource.json b/v1.12.3/quantity-resource.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.3/quantity-resource.json +++ b/v1.12.3/quantity-resource.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/quantity.json b/v1.12.3/quantity.json index 15fb8c684e..3520f568d3 100644 --- a/v1.12.3/quantity.json +++ b/v1.12.3/quantity.json @@ -4,7 +4,7 @@ "type": "string" }, { - "type": "integer" + "type": "number" } ], "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/quobytevolumesource-v1.json b/v1.12.3/quobytevolumesource-v1.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.3/quobytevolumesource-v1.json +++ b/v1.12.3/quobytevolumesource-v1.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3/quobytevolumesource.json b/v1.12.3/quobytevolumesource.json index e46f20313d..8f9fbcb953 100644 --- a/v1.12.3/quobytevolumesource.json +++ b/v1.12.3/quobytevolumesource.json @@ -14,7 +14,10 @@ }, "readOnly": { "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "registry": { "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", diff --git a/v1.12.3/rbdpersistentvolumesource-v1.json b/v1.12.3/rbdpersistentvolumesource-v1.json index 84f92e6461..167da0ab1a 100644 --- a/v1.12.3/rbdpersistentvolumesource-v1.json +++ b/v1.12.3/rbdpersistentvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3/rbdpersistentvolumesource.json b/v1.12.3/rbdpersistentvolumesource.json index 84f92e6461..167da0ab1a 100644 --- a/v1.12.3/rbdpersistentvolumesource.json +++ b/v1.12.3/rbdpersistentvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3/rbdvolumesource-v1.json b/v1.12.3/rbdvolumesource-v1.json index 372445b8df..dc47bb6150 100644 --- a/v1.12.3/rbdvolumesource-v1.json +++ b/v1.12.3/rbdvolumesource-v1.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3/rbdvolumesource.json b/v1.12.3/rbdvolumesource.json index 372445b8df..dc47bb6150 100644 --- a/v1.12.3/rbdvolumesource.json +++ b/v1.12.3/rbdvolumesource.json @@ -48,7 +48,10 @@ }, "readOnly": { "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", diff --git a/v1.12.3/replicasetspec-apps-v1.json b/v1.12.3/replicasetspec-apps-v1.json index 608742ec05..2c7bc57740 100644 --- a/v1.12.3/replicasetspec-apps-v1.json +++ b/v1.12.3/replicasetspec-apps-v1.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/replicasetspec-apps-v1beta2.json b/v1.12.3/replicasetspec-apps-v1beta2.json index 608742ec05..2c7bc57740 100644 --- a/v1.12.3/replicasetspec-apps-v1beta2.json +++ b/v1.12.3/replicasetspec-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/replicasetspec-extensions-v1beta1.json b/v1.12.3/replicasetspec-extensions-v1beta1.json index 689573f141..fd929533c7 100644 --- a/v1.12.3/replicasetspec-extensions-v1beta1.json +++ b/v1.12.3/replicasetspec-extensions-v1beta1.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/replicasetspec.json b/v1.12.3/replicasetspec.json index 689573f141..fd929533c7 100644 --- a/v1.12.3/replicasetspec.json +++ b/v1.12.3/replicasetspec.json @@ -3,12 +3,18 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/replicasetstatus-apps-v1.json b/v1.12.3/replicasetstatus-apps-v1.json index 4950a54371..6cff9a22e2 100644 --- a/v1.12.3/replicasetstatus-apps-v1.json +++ b/v1.12.3/replicasetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/replicasetstatus-apps-v1beta2.json b/v1.12.3/replicasetstatus-apps-v1beta2.json index 0cf4061efe..d2a1983e72 100644 --- a/v1.12.3/replicasetstatus-apps-v1beta2.json +++ b/v1.12.3/replicasetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/replicasetstatus-extensions-v1beta1.json b/v1.12.3/replicasetstatus-extensions-v1beta1.json index a4ee5261fa..8ab4e4aa16 100644 --- a/v1.12.3/replicasetstatus-extensions-v1beta1.json +++ b/v1.12.3/replicasetstatus-extensions-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/replicasetstatus.json b/v1.12.3/replicasetstatus.json index a4ee5261fa..8ab4e4aa16 100644 --- a/v1.12.3/replicasetstatus.json +++ b/v1.12.3/replicasetstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replica set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/replicationcontrollerspec-v1.json b/v1.12.3/replicationcontrollerspec-v1.json index 0126740257..fe189da83b 100644 --- a/v1.12.3/replicationcontrollerspec-v1.json +++ b/v1.12.3/replicationcontrollerspec-v1.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/replicationcontrollerspec.json b/v1.12.3/replicationcontrollerspec.json index 0126740257..fe189da83b 100644 --- a/v1.12.3/replicationcontrollerspec.json +++ b/v1.12.3/replicationcontrollerspec.json @@ -3,17 +3,26 @@ "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/replicationcontrollerstatus-v1.json b/v1.12.3/replicationcontrollerstatus-v1.json index 5cd0008115..62795a418d 100644 --- a/v1.12.3/replicationcontrollerstatus-v1.json +++ b/v1.12.3/replicationcontrollerstatus-v1.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/replicationcontrollerstatus.json b/v1.12.3/replicationcontrollerstatus.json index 5cd0008115..62795a418d 100644 --- a/v1.12.3/replicationcontrollerstatus.json +++ b/v1.12.3/replicationcontrollerstatus.json @@ -6,7 +6,10 @@ "properties": { "availableReplicas": { "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,22 +26,34 @@ }, "fullyLabeledReplicas": { "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "observedGeneration": { "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "The number of ready replicas for this replication controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/resourcemetricsource-autoscaling-v2beta1.json b/v1.12.3/resourcemetricsource-autoscaling-v2beta1.json index 0423450753..3c3bae32e2 100644 --- a/v1.12.3/resourcemetricsource-autoscaling-v2beta1.json +++ b/v1.12.3/resourcemetricsource-autoscaling-v2beta1.json @@ -13,7 +13,10 @@ }, "targetAverageUtilization": { "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "targetAverageValue": { diff --git a/v1.12.3/resourcemetricstatus-autoscaling-v2beta1.json b/v1.12.3/resourcemetricstatus-autoscaling-v2beta1.json index 7e59349e77..dead177279 100644 --- a/v1.12.3/resourcemetricstatus-autoscaling-v2beta1.json +++ b/v1.12.3/resourcemetricstatus-autoscaling-v2beta1.json @@ -7,7 +7,10 @@ "properties": { "currentAverageUtilization": { "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentAverageValue": { diff --git a/v1.12.3/resourcequotaspec-v1.json b/v1.12.3/resourcequotaspec-v1.json index 374efb23cd..78e16d863a 100644 --- a/v1.12.3/resourcequotaspec-v1.json +++ b/v1.12.3/resourcequotaspec-v1.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/resourcequotaspec.json b/v1.12.3/resourcequotaspec.json index 374efb23cd..78e16d863a 100644 --- a/v1.12.3/resourcequotaspec.json +++ b/v1.12.3/resourcequotaspec.json @@ -3,7 +3,10 @@ "properties": { "hard": { "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/resourcequotastatus-v1.json b/v1.12.3/resourcequotastatus-v1.json index d8b1b5eca9..ff2b364be8 100644 --- a/v1.12.3/resourcequotastatus-v1.json +++ b/v1.12.3/resourcequotastatus-v1.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/resourcequotastatus.json b/v1.12.3/resourcequotastatus.json index d8b1b5eca9..ff2b364be8 100644 --- a/v1.12.3/resourcequotastatus.json +++ b/v1.12.3/resourcequotastatus.json @@ -3,14 +3,20 @@ "properties": { "hard": { "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "used": { "description": "Used is the current observed total usage of the resource in the namespace.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/resourcerequirements-v1.json b/v1.12.3/resourcerequirements-v1.json index 3753d75d24..abafafc3ad 100644 --- a/v1.12.3/resourcerequirements-v1.json +++ b/v1.12.3/resourcerequirements-v1.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/resourcerequirements.json b/v1.12.3/resourcerequirements.json index 3753d75d24..abafafc3ad 100644 --- a/v1.12.3/resourcerequirements.json +++ b/v1.12.3/resourcerequirements.json @@ -3,14 +3,20 @@ "properties": { "limits": { "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } }, "requests": { "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "$ref": "https://kubernetesjsonschema.dev/v1.12.3/_definitions.json#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" } diff --git a/v1.12.3/rollbackconfig-apps-v1beta1.json b/v1.12.3/rollbackconfig-apps-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3/rollbackconfig-apps-v1beta1.json +++ b/v1.12.3/rollbackconfig-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/rollbackconfig-extensions-v1beta1.json b/v1.12.3/rollbackconfig-extensions-v1beta1.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3/rollbackconfig-extensions-v1beta1.json +++ b/v1.12.3/rollbackconfig-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/rollbackconfig.json b/v1.12.3/rollbackconfig.json index e2bc9ed92d..7d16e4bce5 100644 --- a/v1.12.3/rollbackconfig.json +++ b/v1.12.3/rollbackconfig.json @@ -3,7 +3,10 @@ "properties": { "revision": { "description": "The revision to rollback to. If set to 0, rollback to the last revision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" } }, diff --git a/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1.json b/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1.json +++ b/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta1.json b/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta1.json index 77aec86a21..fcfd73afd8 100644 --- a/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta1.json +++ b/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta2.json b/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta2.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta2.json +++ b/v1.12.3/rollingupdatestatefulsetstrategy-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/rollingupdatestatefulsetstrategy.json b/v1.12.3/rollingupdatestatefulsetstrategy.json index 22697bec43..f930e7a446 100644 --- a/v1.12.3/rollingupdatestatefulsetstrategy.json +++ b/v1.12.3/rollingupdatestatefulsetstrategy.json @@ -3,7 +3,10 @@ "properties": { "partition": { "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/scaleiopersistentvolumesource-v1.json b/v1.12.3/scaleiopersistentvolumesource-v1.json index 4da602a3e9..ec24a39a37 100644 --- a/v1.12.3/scaleiopersistentvolumesource-v1.json +++ b/v1.12.3/scaleiopersistentvolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3/scaleiopersistentvolumesource.json b/v1.12.3/scaleiopersistentvolumesource.json index 4da602a3e9..ec24a39a37 100644 --- a/v1.12.3/scaleiopersistentvolumesource.json +++ b/v1.12.3/scaleiopersistentvolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3/scaleiovolumesource-v1.json b/v1.12.3/scaleiovolumesource-v1.json index 990ff10f4f..67874a2ffe 100644 --- a/v1.12.3/scaleiovolumesource-v1.json +++ b/v1.12.3/scaleiovolumesource-v1.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3/scaleiovolumesource.json b/v1.12.3/scaleiovolumesource.json index 990ff10f4f..67874a2ffe 100644 --- a/v1.12.3/scaleiovolumesource.json +++ b/v1.12.3/scaleiovolumesource.json @@ -29,7 +29,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", @@ -37,7 +40,10 @@ }, "sslEnabled": { "description": "Flag to enable/disable SSL communication with Gateway, default false", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "storageMode": { "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", diff --git a/v1.12.3/scalespec-apps-v1beta1.json b/v1.12.3/scalespec-apps-v1beta1.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.3/scalespec-apps-v1beta1.json +++ b/v1.12.3/scalespec-apps-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/scalespec-apps-v1beta2.json b/v1.12.3/scalespec-apps-v1beta2.json index 50ec7b8eac..07538f04e1 100644 --- a/v1.12.3/scalespec-apps-v1beta2.json +++ b/v1.12.3/scalespec-apps-v1beta2.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/scalespec-autoscaling-v1.json b/v1.12.3/scalespec-autoscaling-v1.json index f65424ab17..9b4feb4953 100644 --- a/v1.12.3/scalespec-autoscaling-v1.json +++ b/v1.12.3/scalespec-autoscaling-v1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/scalespec-extensions-v1beta1.json b/v1.12.3/scalespec-extensions-v1beta1.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.3/scalespec-extensions-v1beta1.json +++ b/v1.12.3/scalespec-extensions-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/scalespec.json b/v1.12.3/scalespec.json index eeace36f94..d5ac2724a2 100644 --- a/v1.12.3/scalespec.json +++ b/v1.12.3/scalespec.json @@ -3,7 +3,10 @@ "properties": { "replicas": { "description": "desired number of instances for the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/scalestatus-apps-v1beta1.json b/v1.12.3/scalestatus-apps-v1beta1.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.3/scalestatus-apps-v1beta1.json +++ b/v1.12.3/scalestatus-apps-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/scalestatus-apps-v1beta2.json b/v1.12.3/scalestatus-apps-v1beta2.json index 4b7134c866..17256ef73d 100644 --- a/v1.12.3/scalestatus-apps-v1beta2.json +++ b/v1.12.3/scalestatus-apps-v1beta2.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/scalestatus-autoscaling-v1.json b/v1.12.3/scalestatus-autoscaling-v1.json index db9afe18d2..5de93b19a3 100644 --- a/v1.12.3/scalestatus-autoscaling-v1.json +++ b/v1.12.3/scalestatus-autoscaling-v1.json @@ -6,7 +6,10 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/scalestatus-extensions-v1beta1.json b/v1.12.3/scalestatus-extensions-v1beta1.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.3/scalestatus-extensions-v1beta1.json +++ b/v1.12.3/scalestatus-extensions-v1beta1.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/scalestatus.json b/v1.12.3/scalestatus.json index 4163e38051..52a8ca7f63 100644 --- a/v1.12.3/scalestatus.json +++ b/v1.12.3/scalestatus.json @@ -6,12 +6,18 @@ "properties": { "replicas": { "description": "actual number of observed instances of the scaled object.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { "description": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/secret-v1.json b/v1.12.3/secret-v1.json index b7dcfc7c5a..a9d231ada8 100644 --- a/v1.12.3/secret-v1.json +++ b/v1.12.3/secret-v1.json @@ -13,7 +13,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -38,7 +41,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/secret.json b/v1.12.3/secret.json index 6851b27c48..8bb36edd5f 100644 --- a/v1.12.3/secret.json +++ b/v1.12.3/secret.json @@ -10,7 +10,10 @@ }, "data": { "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", @@ -35,7 +38,10 @@ }, "stringData": { "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/secretenvsource-v1.json b/v1.12.3/secretenvsource-v1.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.3/secretenvsource-v1.json +++ b/v1.12.3/secretenvsource-v1.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/secretenvsource.json b/v1.12.3/secretenvsource.json index a9e33b1948..9419ff3b46 100644 --- a/v1.12.3/secretenvsource.json +++ b/v1.12.3/secretenvsource.json @@ -10,7 +10,10 @@ }, "optional": { "description": "Specify whether the Secret must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/secretkeyselector-v1.json b/v1.12.3/secretkeyselector-v1.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.3/secretkeyselector-v1.json +++ b/v1.12.3/secretkeyselector-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/secretkeyselector.json b/v1.12.3/secretkeyselector.json index 0aa9a8b2a4..81df56d068 100644 --- a/v1.12.3/secretkeyselector.json +++ b/v1.12.3/secretkeyselector.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/secretprojection-v1.json b/v1.12.3/secretprojection-v1.json index b03d00d6cc..f46eb092d2 100644 --- a/v1.12.3/secretprojection-v1.json +++ b/v1.12.3/secretprojection-v1.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/secretprojection.json b/v1.12.3/secretprojection.json index b03d00d6cc..f46eb092d2 100644 --- a/v1.12.3/secretprojection.json +++ b/v1.12.3/secretprojection.json @@ -20,7 +20,10 @@ }, "optional": { "description": "Specify whether the Secret or its key must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "$schema": "http://json-schema.org/schema#", diff --git a/v1.12.3/secretvolumesource-v1.json b/v1.12.3/secretvolumesource-v1.json index 8ea0f92050..b8eb6c8142 100644 --- a/v1.12.3/secretvolumesource-v1.json +++ b/v1.12.3/secretvolumesource-v1.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3/secretvolumesource.json b/v1.12.3/secretvolumesource.json index 8ea0f92050..b8eb6c8142 100644 --- a/v1.12.3/secretvolumesource.json +++ b/v1.12.3/secretvolumesource.json @@ -3,7 +3,10 @@ "properties": { "defaultMode": { "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "items": { @@ -18,7 +21,10 @@ }, "optional": { "description": "Specify whether the Secret or it's keys must be defined", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretName": { "description": "Name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", diff --git a/v1.12.3/securitycontext-v1.json b/v1.12.3/securitycontext-v1.json index daa05f9a95..e92a1d5411 100644 --- a/v1.12.3/securitycontext-v1.json +++ b/v1.12.3/securitycontext-v1.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3/securitycontext.json b/v1.12.3/securitycontext.json index daa05f9a95..e92a1d5411 100644 --- a/v1.12.3/securitycontext.json +++ b/v1.12.3/securitycontext.json @@ -3,7 +3,10 @@ "properties": { "allowPrivilegeEscalation": { "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "capabilities": { "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", @@ -11,7 +14,10 @@ }, "privileged": { "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "procMount": { "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", @@ -22,20 +28,32 @@ }, "readOnlyRootFilesystem": { "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsGroup": { "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "runAsUser": { "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "seLinuxOptions": { diff --git a/v1.12.3/serviceaccount-v1.json b/v1.12.3/serviceaccount-v1.json index a9897f7115..9834c6a543 100644 --- a/v1.12.3/serviceaccount-v1.json +++ b/v1.12.3/serviceaccount-v1.json @@ -13,7 +13,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.3/serviceaccount.json b/v1.12.3/serviceaccount.json index 801c4473d7..15ed3938ec 100644 --- a/v1.12.3/serviceaccount.json +++ b/v1.12.3/serviceaccount.json @@ -10,7 +10,10 @@ }, "automountServiceAccountToken": { "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", diff --git a/v1.12.3/serviceaccounttokenprojection-v1.json b/v1.12.3/serviceaccounttokenprojection-v1.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.3/serviceaccounttokenprojection-v1.json +++ b/v1.12.3/serviceaccounttokenprojection-v1.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3/serviceaccounttokenprojection.json b/v1.12.3/serviceaccounttokenprojection.json index 56300a7c13..257d81af8c 100644 --- a/v1.12.3/serviceaccounttokenprojection.json +++ b/v1.12.3/serviceaccounttokenprojection.json @@ -13,7 +13,10 @@ }, "expirationSeconds": { "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "path": { diff --git a/v1.12.3/serviceport-v1.json b/v1.12.3/serviceport-v1.json index 4b18d459fa..0b8cc3f306 100644 --- a/v1.12.3/serviceport-v1.json +++ b/v1.12.3/serviceport-v1.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3/serviceport.json b/v1.12.3/serviceport.json index 4b18d459fa..0b8cc3f306 100644 --- a/v1.12.3/serviceport.json +++ b/v1.12.3/serviceport.json @@ -13,12 +13,18 @@ }, "nodePort": { "description": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "port": { "description": "The port that will be exposed by this service.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "protocol": { diff --git a/v1.12.3/servicespec-v1.json b/v1.12.3/servicespec-v1.json index 299e29829d..0ad5fb4092 100644 --- a/v1.12.3/servicespec-v1.json +++ b/v1.12.3/servicespec-v1.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/servicespec.json b/v1.12.3/servicespec.json index 299e29829d..0ad5fb4092 100644 --- a/v1.12.3/servicespec.json +++ b/v1.12.3/servicespec.json @@ -37,7 +37,10 @@ }, "healthCheckNodePort": { "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "loadBalancerIP": { @@ -74,11 +77,17 @@ }, "publishNotReadyAddresses": { "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "selector": { "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/statefulsetspec-apps-v1.json b/v1.12.3/statefulsetspec-apps-v1.json index be258c042f..caa3ccd0c9 100644 --- a/v1.12.3/statefulsetspec-apps-v1.json +++ b/v1.12.3/statefulsetspec-apps-v1.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/statefulsetspec-apps-v1beta1.json b/v1.12.3/statefulsetspec-apps-v1beta1.json index bc277b355c..74478f6e1c 100644 --- a/v1.12.3/statefulsetspec-apps-v1beta1.json +++ b/v1.12.3/statefulsetspec-apps-v1beta1.json @@ -14,12 +14,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/statefulsetspec-apps-v1beta2.json b/v1.12.3/statefulsetspec-apps-v1beta2.json index c9633c37cb..20d59b2900 100644 --- a/v1.12.3/statefulsetspec-apps-v1beta2.json +++ b/v1.12.3/statefulsetspec-apps-v1beta2.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/statefulsetspec.json b/v1.12.3/statefulsetspec.json index c9633c37cb..20d59b2900 100644 --- a/v1.12.3/statefulsetspec.json +++ b/v1.12.3/statefulsetspec.json @@ -15,12 +15,18 @@ }, "replicas": { "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "revisionHistoryLimit": { "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "selector": { diff --git a/v1.12.3/statefulsetstatus-apps-v1.json b/v1.12.3/statefulsetstatus-apps-v1.json index 3b73bb2129..abe80a8229 100644 --- a/v1.12.3/statefulsetstatus-apps-v1.json +++ b/v1.12.3/statefulsetstatus-apps-v1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/statefulsetstatus-apps-v1beta1.json b/v1.12.3/statefulsetstatus-apps-v1beta1.json index 665991e1d5..7739e201f9 100644 --- a/v1.12.3/statefulsetstatus-apps-v1beta1.json +++ b/v1.12.3/statefulsetstatus-apps-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/statefulsetstatus-apps-v1beta2.json b/v1.12.3/statefulsetstatus-apps-v1beta2.json index bde39b4cf0..d3c85d64a5 100644 --- a/v1.12.3/statefulsetstatus-apps-v1beta2.json +++ b/v1.12.3/statefulsetstatus-apps-v1beta2.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/statefulsetstatus.json b/v1.12.3/statefulsetstatus.json index bde39b4cf0..d3c85d64a5 100644 --- a/v1.12.3/statefulsetstatus.json +++ b/v1.12.3/statefulsetstatus.json @@ -6,7 +6,10 @@ "properties": { "collisionCount": { "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "conditions": { @@ -23,7 +26,10 @@ }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "currentRevision": { @@ -35,17 +41,26 @@ }, "observedGeneration": { "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "readyReplicas": { "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "replicas": { "description": "replicas is the number of Pods created by the StatefulSet controller.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "updateRevision": { @@ -57,7 +72,10 @@ }, "updatedReplicas": { "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/status-meta-v1.json b/v1.12.3/status-meta-v1.json index df30fd0ba6..447d01ccc7 100644 --- a/v1.12.3/status-meta-v1.json +++ b/v1.12.3/status-meta-v1.json @@ -13,7 +13,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.3/status.json b/v1.12.3/status.json index fb87b43ff5..aa2f1517a3 100644 --- a/v1.12.3/status.json +++ b/v1.12.3/status.json @@ -10,7 +10,10 @@ }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "details": { diff --git a/v1.12.3/statusdetails-meta-v1.json b/v1.12.3/statusdetails-meta-v1.json index 96f480a866..3c31cc9632 100644 --- a/v1.12.3/statusdetails-meta-v1.json +++ b/v1.12.3/statusdetails-meta-v1.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3/statusdetails.json b/v1.12.3/statusdetails.json index 96f480a866..3c31cc9632 100644 --- a/v1.12.3/statusdetails.json +++ b/v1.12.3/statusdetails.json @@ -34,7 +34,10 @@ }, "retryAfterSeconds": { "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" }, "uid": { diff --git a/v1.12.3/storageclass-storage-v1.json b/v1.12.3/storageclass-storage-v1.json index 6684151936..f4bfaee453 100644 --- a/v1.12.3/storageclass-storage-v1.json +++ b/v1.12.3/storageclass-storage-v1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/storageclass-storage-v1beta1.json b/v1.12.3/storageclass-storage-v1beta1.json index f188c095f3..da647d32d8 100644 --- a/v1.12.3/storageclass-storage-v1beta1.json +++ b/v1.12.3/storageclass-storage-v1beta1.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -57,7 +60,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/storageclass.json b/v1.12.3/storageclass.json index 26618e184e..7d3fdb8bf4 100644 --- a/v1.12.3/storageclass.json +++ b/v1.12.3/storageclass.json @@ -6,7 +6,10 @@ "properties": { "allowVolumeExpansion": { "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "allowedTopologies": { "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", @@ -54,7 +57,10 @@ }, "parameters": { "description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/storageospersistentvolumesource-v1.json b/v1.12.3/storageospersistentvolumesource-v1.json index 894e1541f4..a3c481649d 100644 --- a/v1.12.3/storageospersistentvolumesource-v1.json +++ b/v1.12.3/storageospersistentvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3/storageospersistentvolumesource.json b/v1.12.3/storageospersistentvolumesource.json index 894e1541f4..a3c481649d 100644 --- a/v1.12.3/storageospersistentvolumesource.json +++ b/v1.12.3/storageospersistentvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3/storageosvolumesource-v1.json b/v1.12.3/storageosvolumesource-v1.json index 9c1242666e..0120687661 100644 --- a/v1.12.3/storageosvolumesource-v1.json +++ b/v1.12.3/storageosvolumesource-v1.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3/storageosvolumesource.json b/v1.12.3/storageosvolumesource.json index 9c1242666e..0120687661 100644 --- a/v1.12.3/storageosvolumesource.json +++ b/v1.12.3/storageosvolumesource.json @@ -10,7 +10,10 @@ }, "readOnly": { "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "secretRef": { "description": "SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", diff --git a/v1.12.3/subjectaccessreviewspec-authorization-v1.json b/v1.12.3/subjectaccessreviewspec-authorization-v1.json index 07bec78da8..2b57715a5e 100644 --- a/v1.12.3/subjectaccessreviewspec-authorization-v1.json +++ b/v1.12.3/subjectaccessreviewspec-authorization-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/subjectaccessreviewspec-authorization-v1beta1.json b/v1.12.3/subjectaccessreviewspec-authorization-v1beta1.json index c454746c15..5e1857e38f 100644 --- a/v1.12.3/subjectaccessreviewspec-authorization-v1beta1.json +++ b/v1.12.3/subjectaccessreviewspec-authorization-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/subjectaccessreviewspec.json b/v1.12.3/subjectaccessreviewspec.json index c454746c15..5e1857e38f 100644 --- a/v1.12.3/subjectaccessreviewspec.json +++ b/v1.12.3/subjectaccessreviewspec.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/subjectaccessreviewstatus-authorization-v1.json b/v1.12.3/subjectaccessreviewstatus-authorization-v1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3/subjectaccessreviewstatus-authorization-v1.json +++ b/v1.12.3/subjectaccessreviewstatus-authorization-v1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3/subjectaccessreviewstatus-authorization-v1beta1.json b/v1.12.3/subjectaccessreviewstatus-authorization-v1beta1.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3/subjectaccessreviewstatus-authorization-v1beta1.json +++ b/v1.12.3/subjectaccessreviewstatus-authorization-v1beta1.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3/subjectaccessreviewstatus.json b/v1.12.3/subjectaccessreviewstatus.json index 663442e126..2894c7fbeb 100644 --- a/v1.12.3/subjectaccessreviewstatus.json +++ b/v1.12.3/subjectaccessreviewstatus.json @@ -6,11 +6,17 @@ "properties": { "allowed": { "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "denied": { "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "evaluationError": { "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", diff --git a/v1.12.3/subjectrulesreviewstatus-authorization-v1.json b/v1.12.3/subjectrulesreviewstatus-authorization-v1.json index 5585c5de03..b4f49281ef 100644 --- a/v1.12.3/subjectrulesreviewstatus-authorization-v1.json +++ b/v1.12.3/subjectrulesreviewstatus-authorization-v1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3/subjectrulesreviewstatus-authorization-v1beta1.json b/v1.12.3/subjectrulesreviewstatus-authorization-v1beta1.json index a5dbcfa060..390f09e4f8 100644 --- a/v1.12.3/subjectrulesreviewstatus-authorization-v1beta1.json +++ b/v1.12.3/subjectrulesreviewstatus-authorization-v1beta1.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3/subjectrulesreviewstatus.json b/v1.12.3/subjectrulesreviewstatus.json index a5dbcfa060..390f09e4f8 100644 --- a/v1.12.3/subjectrulesreviewstatus.json +++ b/v1.12.3/subjectrulesreviewstatus.json @@ -15,7 +15,10 @@ }, "incomplete": { "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "nonResourceRules": { "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", diff --git a/v1.12.3/tokenreviewstatus-authentication-v1.json b/v1.12.3/tokenreviewstatus-authentication-v1.json index 73565a785c..30b245c42a 100644 --- a/v1.12.3/tokenreviewstatus-authentication-v1.json +++ b/v1.12.3/tokenreviewstatus-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.3/tokenreviewstatus-authentication-v1beta1.json b/v1.12.3/tokenreviewstatus-authentication-v1beta1.json index 20b9b17a6c..7d22238ef9 100644 --- a/v1.12.3/tokenreviewstatus-authentication-v1beta1.json +++ b/v1.12.3/tokenreviewstatus-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.3/tokenreviewstatus.json b/v1.12.3/tokenreviewstatus.json index 20b9b17a6c..7d22238ef9 100644 --- a/v1.12.3/tokenreviewstatus.json +++ b/v1.12.3/tokenreviewstatus.json @@ -3,7 +3,10 @@ "properties": { "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "error": { "description": "Error indicates that the token couldn't be checked", diff --git a/v1.12.3/toleration-v1.json b/v1.12.3/toleration-v1.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.3/toleration-v1.json +++ b/v1.12.3/toleration-v1.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3/toleration.json b/v1.12.3/toleration.json index 15180f28c9..a14dbc4dcc 100644 --- a/v1.12.3/toleration.json +++ b/v1.12.3/toleration.json @@ -24,7 +24,10 @@ }, "tolerationSeconds": { "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int64" }, "value": { diff --git a/v1.12.3/userinfo-authentication-v1.json b/v1.12.3/userinfo-authentication-v1.json index c2593de199..10c335b39d 100644 --- a/v1.12.3/userinfo-authentication-v1.json +++ b/v1.12.3/userinfo-authentication-v1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/userinfo-authentication-v1beta1.json b/v1.12.3/userinfo-authentication-v1beta1.json index c2593de199..10c335b39d 100644 --- a/v1.12.3/userinfo-authentication-v1beta1.json +++ b/v1.12.3/userinfo-authentication-v1beta1.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/userinfo.json b/v1.12.3/userinfo.json index c2593de199..10c335b39d 100644 --- a/v1.12.3/userinfo.json +++ b/v1.12.3/userinfo.json @@ -3,7 +3,10 @@ "properties": { "extra": { "description": "Any additional information provided by the authenticator.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "array", diff --git a/v1.12.3/volumeattachmentstatus-storage-v1alpha1.json b/v1.12.3/volumeattachmentstatus-storage-v1alpha1.json index f7a3de66e1..49734fe5f1 100644 --- a/v1.12.3/volumeattachmentstatus-storage-v1alpha1.json +++ b/v1.12.3/volumeattachmentstatus-storage-v1alpha1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/volumeattachmentstatus-storage-v1beta1.json b/v1.12.3/volumeattachmentstatus-storage-v1beta1.json index 8fd019c2c5..8dd0674dbf 100644 --- a/v1.12.3/volumeattachmentstatus-storage-v1beta1.json +++ b/v1.12.3/volumeattachmentstatus-storage-v1beta1.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/volumeattachmentstatus.json b/v1.12.3/volumeattachmentstatus.json index 8fd019c2c5..8dd0674dbf 100644 --- a/v1.12.3/volumeattachmentstatus.json +++ b/v1.12.3/volumeattachmentstatus.json @@ -10,11 +10,17 @@ }, "attached": { "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "attachmentMetadata": { "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", - "type": "object", + "type": [ + "object", + "null" + ], "additionalProperties": { "type": [ "string", diff --git a/v1.12.3/volumemount-v1.json b/v1.12.3/volumemount-v1.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.3/volumemount-v1.json +++ b/v1.12.3/volumemount-v1.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3/volumemount.json b/v1.12.3/volumemount.json index 44da9f2733..c5d3f2d4ef 100644 --- a/v1.12.3/volumemount.json +++ b/v1.12.3/volumemount.json @@ -28,7 +28,10 @@ }, "readOnly": { "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" + "type": [ + "boolean", + "null" + ] }, "subPath": { "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", diff --git a/v1.12.3/weightedpodaffinityterm-v1.json b/v1.12.3/weightedpodaffinityterm-v1.json index d8afb1233a..478790d010 100644 --- a/v1.12.3/weightedpodaffinityterm-v1.json +++ b/v1.12.3/weightedpodaffinityterm-v1.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } }, diff --git a/v1.12.3/weightedpodaffinityterm.json b/v1.12.3/weightedpodaffinityterm.json index d8afb1233a..478790d010 100644 --- a/v1.12.3/weightedpodaffinityterm.json +++ b/v1.12.3/weightedpodaffinityterm.json @@ -11,7 +11,10 @@ }, "weight": { "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", + "type": [ + "integer", + "null" + ], "format": "int32" } },